Skip to content

Commit

Permalink
Spreadsheet: property controller - fixes #926
Browse files Browse the repository at this point in the history
Added a new object and tool called property controller, which
must be added to a spreadsheet and gives the value of a cell to
a property of an object.
  • Loading branch information
yorikvanhavre committed Mar 29, 2014
1 parent 749a8fa commit 9243923
Show file tree
Hide file tree
Showing 5 changed files with 355 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/Mod/Spreadsheet/InitGui.py
Expand Up @@ -54,7 +54,7 @@ class SpreadsheetWorkbench(Workbench):
def Initialize(self):
import Spreadsheet,Spreadsheet_rc
from DraftTools import translate
commands = ["Spreadsheet_Create","Spreadsheet_Controller"]
commands = ["Spreadsheet_Create","Spreadsheet_Controller","Spreadsheet_PropertyController"]
self.appendToolbar(str(translate("Spreadsheet","Spreadsheet tools")),commands)
self.appendMenu(str(translate("Spreadsheet","&Spreadsheet")),commands)
FreeCADGui.addIconPath(":/icons")
Expand Down
1 change: 1 addition & 0 deletions src/Mod/Spreadsheet/Resources/Spreadsheet.qrc
Expand Up @@ -2,5 +2,6 @@
<qresource>
<file>icons/Spreadsheet.svg</file>
<file>icons/SpreadsheetController.svg</file>
<file>icons/SpreadsheetPropertyController.svg</file>
</qresource>
</RCC>
198 changes: 198 additions & 0 deletions src/Mod/Spreadsheet/Resources/icons/SpreadsheetPropertyController.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9243923

Please sign in to comment.