Commit graph

68 commits

Author SHA1 Message Date
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
Gregory Diaz
a5569bfdf7 Fix for duplicate settings bug 2015-02-12 18:02:47 -08:00
larsbrubaker
0fcc22ca5e Fixed a bug with while editing presets with a pop out window. The window was loosing its content. 2015-01-03 09:03:23 -08:00
Lars Brubaker
ef20f2e65a Made lots of windows stay on top of the main window.
Fixed a bug with the close menu item and the terminal window being open.
2014-12-17 10:30:45 -08:00
Gregory Diaz
e1f4c818dd code that handles null organizer settings data 2014-12-16 11:07:44 -08:00
larsbrubaker
30c77146ec Took out all the user folder stuff and put it into the file dialog.
Also made file dialog remember what folder was last used and use that one if it has been set.
Does the old user folder when not set.
2014-12-06 11:12:05 -08:00
Lars Brubaker
e1fc6838a3 Upgrading to .net 4.5. 2014-11-25 12:19:37 -08:00
larsbrubaker
222a5a46a7 Changed ButtonEventHandler to EventHandler
Made lock disable the selection widget but be more inteligent about re-enabling it after unlock
2014-10-24 13:41:13 -07:00
Kevin Pope
992c8a2430 Made file saves async compatible. 2014-10-11 15:11:26 -07:00
Kevin Pope
fbe1333cf0 Change file open functionality to async compatible. 2014-10-11 14:48:10 -07:00
Kevin Pope
bdef196434 Changed main application to MVC. UI rework (Configuration Page esp. in progress). 2014-09-19 19:17:12 -07:00
larsbrubaker
b707c9c7ff Put in some new slice settings for matter slice.
Fixed some buttons to go onuithread
2014-08-08 17:03:00 -07:00
Kevin Pope
32d8a59bfa Don't show HARDWARE_PRESENT slice settings in presets 2014-07-07 17:46:28 -07:00