Commit graph

80 commits

Author SHA1 Message Date
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
John Lewin
036c7f84c8 Revert to original naming and newline behavior 2016-03-12 09:08:19 -08:00
John Lewin
1c1434909d Revise settings to slicer mappings 2016-03-11 23:39:08 -08:00
John Lewin
f8f70f46e6 Concise queries, reduce to functionality
- Remove DataStorage qualifier, add using statements
 - Remove unnecessary query variables and string.formatting statements
 - Remove duplicate code, reuse .RecordCount method
2016-02-23 14:42:36 -08:00
Lars Brubaker
cda645d03d Made Marlin EEProm have import and export 2016-02-12 10:26:40 -08:00
John Lewin
56382ec893 Rename Simple to Basic
- Revise settings iteration for clarity
 - Update HelpText per support
2015-12-21 15:01:34 -08:00
Lars Brubaker
3fc618b30f you can now type a partial entry to a count or mm field and not have it get messed up if you are slow. 2015-10-19 18:32:23 -07:00
Lars Brubaker
0ef5747ca9 Put in many more tool tips. 2015-08-12 13:16:39 -07:00
Gregory Diaz
4835dda11c Bug Fix: previously imported material presets were not being added to the material drop menu. Reloading the advanced controls panel fixes the problem. 2015-07-29 11:03:38 -07:00
Lars Brubaker
5cc1b651b4 UI thread is more explicit about what functions it accepts and now accepts no parameter functions. 2015-06-11 12:06:40 -07:00
Lars Brubaker
fad6e32e79 Made the slice detail editor work correctly with the new settings. 2015-04-24 13:18:41 -07:00
Lars Brubaker
9ed545ad22 Put in the ability to specify bottom and top layers in mm
Also interface layers and z gap
improved the slice settings layout
improved intermediate settings to be much more useful
Added a new mm setting and improved the optional % editing.
2015-04-24 13:09:25 -07:00
Lars Brubaker
591528ee91 Ran code maid against this code. 2015-04-08 15:20:10 -07:00
Gregory Diaz
cca89b52a2 Only show slice presets on main preset window and preset dropdown menu if setting is mapped to engine. 2015-03-11 14:51:58 -07:00