Commit graph

93 commits

Author SHA1 Message Date
John Lewin
2bfa6f2287 Rename type to match more general use case 2018-08-03 11:07:15 -07:00
John Lewin
0f88e7aab7 Rename TitleChanged event to ValueChanged 2018-08-03 11:07:15 -07:00
John Lewin
bbabf95c93 Improve DI, use constructor injection 2018-07-12 09:33:15 -07:00
John Lewin
b223b9ed23 Use "Close" instead of "Cancel"
- Issue MatterHackers/MCCentral#3667
Button in presets editor says 'Cancel' instead of 'Close'
2018-06-19 18:41:28 -07:00
John Lewin
7a243ce407 Rename WizardWindow to DialogWindow 2018-06-19 15:02:25 -07:00
John Lewin
cf1ec25f9e Migrate SlicePresetsWindow to DialogPage
- Issue MatterHackers/MCCentral#3639
Use DialogPage for consistent styling and behavior
2018-06-17 12:22:33 -07:00
John Lewin
bd3db106b0 Prefer local reference to static 2018-04-07 22:53:34 -07:00
Lars Brubaker
104ac94632 One more test passing 2018-01-25 08:41:15 -08:00
Lars Brubaker
81f7cdb8b2 Removing secondary accent color 2018-01-24 09:30:05 -08:00
John Lewin
1c2676511e Use Inline Title editor on SlicePresetsWindow
- Issue MatterHackers/MCCentral#2685
Create Inline Title editor for label -> edit -> label
2018-01-17 23:48:48 -08:00
Lars Brubaker
71979e35e9 Unify to single GetNonCollidingName
Improve it to check for and replace numbers
add new calling method
Make sure Object3D Close does not end up modifying object in processes
Don't try to render meshes with no faces
2017-12-06 16:31:04 -08:00
John Lewin
2cfd11d104 Extract trailing colons 2017-12-04 15:07:55 -08:00
John Lewin
0de97fe0bf Reduce font sizes, remove caps from preset labels 2017-10-31 15:00:48 -07:00
John Lewin
294df0a588 Convert ActiveSliceSettings usage from static to local references 2017-09-17 01:12:18 -07:00
John Lewin
b7749fe8cc Remove unused PrinterConnection parameters and local references 2017-09-13 21:45:44 -07:00
John Lewin
155e33f120 Make SliceSettingsWidget require a SettingsContext 2017-09-13 06:45:18 -07:00
Lars Brubaker
0a54cd266b Wrote test for Hotend drop down
Theme  the folders check box
Make sure we reset the macros when we start them (made clear by unload -> cancel -> unload)
Made fan controls more consistent with actual data model of printer
improved edit number display to be more consistent with 3d number edits
2017-09-07 16:24:31 -07:00
Lars Brubaker
3dd9270797 More making printerConnection passed to classes. 2017-09-03 11:48:24 -07:00
Lars Brubaker
f7d4163125 Refactoring VAnchor and HAnchore names
Making more debug info for show bounds
2017-08-07 15:47:27 -07:00
John Lewin
9af153f1fe Use existing button factory, use existing Options in SplitButton factory 2017-08-04 08:49:38 -07:00
John Lewin
4abea0ab0c Extract button factory options to new class 2017-08-03 19:00:37 -07:00
Lars Brubaker
9c55f8f982 New default constructor, moved hanchor vanchor
removed cover
2017-02-01 16:39:24 -08:00
John Lewin
af4bf06621 Preserve SettingsControlBar visibility throughout window lifetime
- Issue MatterHackers/MCCentral#1080
Preset selectors become visible on printer state changes
2017-01-11 14:29:29 -08:00
John Lewin
ace89e1e5a Use .Localize extension function 2017-01-04 10:52:06 -08:00
Lars Brubaker
83a3c87557 Quality settings override correctly. 2016-12-06 17:54:27 -08:00
John Lewin
4e727def1b Code clean up
- Remove unused SaveAs function from SlicePresetsWindow
- Remove unused LoadProfileFromMCWS()
- More consistent formatting
- Move SetValue call after adding Profile, to ensure ProfilePath works during save
2016-08-31 13:57:49 -07:00
Lars Brubaker
e4a10442c2 Made the drop list name update interactively. 2016-08-10 14:20:52 -07:00
Lars Brubaker
b18f8fc889 Made the name save in settings editor
changed layername to a settings key
2016-08-10 14:04:33 -07:00
John Lewin
f304e9f3d6 Migrate SettingsProfile functionality to new SettingsHelpers type
- Add as child property of settings scope, ready for merge of types
 - Progress on Issue #1113
2016-07-18 16:58:25 -07:00
Lars Brubaker
836cbffc53 Now we can import a .ini or .slice file into a quality preset. 2016-06-20 12:47:10 -07:00
John Lewin
66f91c5bbc Rename MatterControl.LayerName to layer_name 2016-06-16 17:24:11 -07:00
John Lewin
65d9b8ba95 Restore the ability to delete presets 2016-06-16 11:52:56 -07:00
John Lewin
250ed87f31 Revise SliceSettings nomenclature, add GetValue<T> method 2016-06-15 15:11:23 -07:00
John Lewin
4e74156521 Extract profile management to ProfileManager class
- Use on disk profiles.json
 - Support MarkedForDelete functionality
 - Issue #930
2016-06-15 13:09:47 -07:00
John Lewin
17f15a9e10 Convert preset layers from Dictionaries to Lists
- Add migration for existing profiles
2016-06-08 19:06:16 -07:00
John Lewin
576b8dbf22 Improve Duplicate preset
- Update Material preset array when preset changed from presets window
 - Update PresetsContext.PersistenceLayer when presets are duplicated
 - Rebuild SliceSettingsWidget on duplicate without leaving window
 - Refactor GetTopRow to eliminate excess widgets & create a single row
 - Update presets name after leaving input rather than on window close
2016-05-17 17:15:49 -07:00
John Lewin
cb56e85776 Add support for renaming and duplicating presets
- Fixes #720 - Changing preset names has no effect
 - Fixes #767 - Presets editor contains user overrides
 - Fixes #768 - Oem presets should be copied...
 - Migrate from int to string based printer IDs
 - Add json document migration capabilities
2016-05-16 17:46:17 -07:00
Lars Brubaker
e4713d2715 Fixing pencil colors. 2016-05-10 11:42:40 -07:00
John Lewin
30ef1363a4 Fix initial layout issues 2016-05-07 18:51:44 -07:00
John Lewin
b8348fffdd Consolidate SlicePresetDetailWidget into SlicePresetsWindow 2016-05-07 18:23:40 -07:00
John Lewin
e623d76448 Cleanup dead code and refactor Presets window 2016-05-07 17:51:05 -07:00
John Lewin
f314731449 Better integrate new Presets editor
- Fixes #718 - Presets editor is hard-coded to show Material presets
 - Fixes #719 - Name field in presets editor is incorrect
 - Fixes #721 - Wire up "Add Preset"
2016-05-07 17:51:04 -07:00
Lars Brubaker
754ae7db2a Set the menu colors correctly. 2016-05-03 10:57:30 -07:00
Lars Brubaker
d8a0ecd86b Don't crash if material null
removing dead code
Turned Trim Perimeters back on
2016-04-28 11:53:01 -07:00
Lars Brubaker
834aba4f38 Settings profile using methods rather than properties 2016-04-28 09:41:27 -07:00
John Lewin
54f0c38bd2 Open presets window to Details view
- #Closes 690
2016-04-27 19:41:00 -07:00
Lars Brubaker
895eea253c Converted lots of get properties to methods in SettingsProfile 2016-04-27 18:57:51 -07:00
John Lewin
4496720772 Json Profiles 2016-04-27 14:35:57 -07:00
Lars Brubaker
4bb141339e Merge branch '1.5.2'
Conflicts:
	ApplicationView/MenuRow/MenuOptionSettings.cs
	StaticData/Translations/Master.txt
2016-04-14 15:42:42 -07:00
John Lewin
93a17d2b6c Guard LoadHistoryItems with WidgetHasBeenClosed
- Observed exception on shutdown where PrintHistory was reloaded during
   shutdown after the db had been closed. Skip load if Closing/closed
 - Spelling, whitespace, use .Localize()
2016-04-11 13:07:17 -07:00