Commit graph

88 commits

Author SHA1 Message Date
Lars Brubaker
d6addaa45a Improving Package tool
Changing public property editor to be able to dynamically add new properties
2018-04-12 17:36:24 -07:00
John Lewin
37a0b64b02 Use dedicated theme for menus, prefer theme colors over explicit refs
- Revise icon loader to take an Invert bool instead of custom enum
- Remove icon loader static ref to ActiveTheme.Instance
- Pass contextual theme.InvertIcons for theme specific invert behavior
2018-04-12 13:17:17 -07:00
John Lewin
2a21884abb Make SectionWidget collapsable when disabled
- Directly set Enabled on SectionWidgets rather than on parent
- Add ExpandableWhenDisabled property to SectionWidget
- Expose primary SelectedObjectPanel surface as ContentPanel prop
- Issue MatterHackers/MCCentral#3099
2018-04-12 07:58:08 -07:00
John Lewin
9fbd64101e Use theme loader
- Issue MatterHackers/MCCentral#3082
2018-04-09 15:29:22 -07:00
Lars Brubaker
7590b179b6 Changed Bake to MakePermanent 2018-04-09 11:58:21 -07:00
John Lewin
315d08553c Use new expansion persistence in SectionWidget
- Issue MatterHackers/MCCentral#3033
SelectedObjectPanel SectionWidgets should remember their expansion state
2018-04-06 06:07:32 -07:00
John Lewin
f546c729ed Delete dead code 2018-04-05 15:54:18 -07:00
John Lewin
746f4e1d2e Move View Options to parent container 2018-04-05 15:54:14 -07:00
John Lewin
64a96dd7ff Add new toggle switch style 2018-04-05 15:54:12 -07:00
John Lewin
54fe713d7d Add simple toggle buttons for view options 2018-04-05 15:52:18 -07:00
John Lewin
5a13d9cf30 Move view options from overflow menu to new persistent panel
- Issue MatterHackers/MCCentral#3014
Add View Options panel to model view
2018-04-05 15:52:17 -07:00
John Lewin
d8ff96d226 Start visible and toggle off to work around layout quirk
- Workaround introduces flicker. Evaluate and select lesser evil
- Issue MatterHackers/MCCentral#2991
Print popup -> Advanced pushes primary action offscreen
2018-03-27 16:14:33 -07:00
John Lewin
cb3a46630f Remove dead code 2018-03-27 14:15:38 -07:00
John Lewin
ece5d0fe38 Wrap child PublicPropertyEditors with SectionWidget 2018-03-27 14:15:28 -07:00
John Lewin
96574587c0 Filter out null properties 2018-03-27 12:25:16 -07:00
John Lewin
4111a4651e Move editors into ApplicationController
- Issue MatterHackers/MCCentral#2985
Public properties editor should use existing editor system
2018-03-27 10:27:09 -07:00
John Lewin
363bbbfda4 Always try to show operation buttons, let buttons control visibility 2018-03-22 15:00:07 -07:00
John Lewin
2690bb1387 Revise button visibility to be parent or grandparent is root 2018-03-22 14:14:38 -07:00
John Lewin
e066a6d254 Add helper method for clarity 2018-03-22 14:10:48 -07:00
John Lewin
321d24e5cd Revise rules for showing operation buttons
- Issue MatterHackers/MCCentral#2852
Wrapping operation buttons should be hidden if not in scene root
2018-03-22 13:18:27 -07:00
John Lewin
1e92d71b8e Correct comments 2018-03-22 11:52:08 -07:00
John Lewin
f7f29aa53b Add Component attribute to expose arbitrary properties via editor 2018-03-22 11:50:30 -07:00
Lars Brubaker
035c6a1922 Took out ActiveEditor property 2018-03-15 10:04:13 -07:00
Lars Brubaker
9cc6d5f469 Added passing UndoBuffer to rebuildable 2018-03-08 17:29:35 -08:00
John Lewin
06e9a73b03 Extract embedded types to new files 2018-03-07 12:25:57 -08:00
John Lewin
0657611a73 Add sorting fields
- Issue MatterHackers/MCCentral#2865
Add sorting fields to ILibraryItem as promised by sort menu
2018-02-27 17:38:47 -08:00
Lars Brubaker
d6a50e3956 Improving STL export
Getting more MatterCad scripting working
2018-02-23 18:05:32 -08:00
John Lewin
3b26f3aa08 Add library container browsing for MCX items 2018-02-23 14:26:56 -08:00
John Lewin
dacb181bcb Remove Color button in favor of Color panel 2018-02-20 15:24:21 -08:00
John Lewin
bbcf61457b Move RenderBed state from widget to model 2018-02-18 10:59:49 -08:00
John Lewin
784034f2c6 Simplify 2018-02-16 18:48:24 -08:00
John Lewin
15f37f77e9 Revise spacing 2018-02-16 09:29:54 -08:00
John Lewin
565949e867 Add prototype Color swatch panel 2018-02-15 22:29:47 -08:00
John Lewin
37cc65cd9d Change Color button to drop styling
- Issue MatterHackers/MCCentral#2830
Inconsistent button styling
2018-02-14 08:08:18 -08:00
Lars Brubaker
b658dc5902 Removing the old align adding the new one 2018-02-13 13:43:22 -08:00
John Lewin
7a4d4df4c0 Rename ILibraryContentItem -> ILibraryObject3D
- Rename member .GetContent() -> .GetObject3D()
2018-02-12 19:26:38 -08:00
John Lewin
995d5c18bf Add common base interface and necessary implementations 2018-02-12 19:26:38 -08:00
John Lewin
39af20993d Remove unused ILibraryContentItem.SetContent() definition 2018-02-12 19:26:37 -08:00
Lars Brubaker
8f6f0f7162 Working on new arrange toolAdding Remove and Bake to IObject3D
Made Localize() exist in agg
2018-02-12 15:28:26 -08:00
John Lewin
0dbe669b42 Use existing IContentStore pattern to simplify subtree edit/save
- Issue MatterHackers/MCCentral#2803
More lightweight pattern needed for functionality of BranchEditContainer
2018-02-09 21:25:37 -08:00
John Lewin
c102abd44a Restore PublicPropertyEditor creation on selection
- Issue MatterHackers/MCCentral#2791
PublicPropertyEditor not appearing for selected items
2018-02-07 18:46:31 -08:00
John Lewin
8ffc73c549 Allow mixed IObject3DComponent editors and primary editor
- Allows containers to display inner editors as well primary editor
2018-02-06 08:49:05 -08:00
John Lewin
c6846afbb7 Update selection on save 2018-02-05 17:24:05 -08:00
John Lewin
0c957eb25d Revise sub-tree editing 2018-02-05 17:23:17 -08:00
John Lewin
fb3ff35ee0 Add IObject3DComponent support
- Issue MatterHackers/MCCentral#2739
Finish ImageConverter port to stacked IObject3D node
2018-01-31 14:36:41 -08:00
John Lewin
f6b0b68c9e Add RegisterOperation for type -> operation mapping 2018-01-30 12:29:16 -08:00
Lars Brubaker
2346ed359e Cleaning and improving editing properties. 2018-01-26 17:53:54 -08:00
Lars Brubaker
104ac94632 One more test passing 2018-01-25 08:41:15 -08:00
John Lewin
c6648fa393 Create Inline Title editor and use on SelectedObjectEditor
MatterHackers/MCCentral#2685
Create Inline Title editor for label -> edit -> label
2018-01-17 23:48:48 -08:00
John Lewin
5e4184217e Extract SliceSettingsWidget settings/tab view to reusable control
- Make Configure Printer persist/restore last tab
- Revise layouts.txt groups
- Issue MatterHackers/MCCentral#2646
Configure Printer should use same implementation as SliceSettingsWidget
2018-01-14 10:39:12 -08:00