Commit graph

42 commits

Author SHA1 Message Date
John Lewin
f38cd7fc41 Add ShowMessageBox overload without callback requirement 2017-10-18 19:54:06 -07:00
John Lewin
d0677b4f2d Hide Cancel implementation from callers, provide OnCancel for parity
- Make cancelButton field rather than property
- Add helpers for visibility and control name
2017-10-18 09:24:29 -07:00
John Lewin
98238aad40 Move HeaderText from constructor parameter to WizardPage property
- Improves readability, allows side-by-side with Window title
- Slight increase in overhead due to reconstruction of internal printer
2017-08-24 00:16:31 -07:00
John Lewin
ca53a1d87a Use consistent pattern for setting header text 2017-08-23 23:33:28 -07:00
John Lewin
65135f93a2 Require WizardPage actions to be registered with AddPageAction
- Add HorizontalSpacer and Cancel buttons to all windows
2017-08-23 17:27:30 -07:00
John Lewin
559c300cb4 Revise WizardWindow api
- WizardPage instance should drive window namespace and title
- Key open windows page initial WizardPage type
2017-08-23 15:51:29 -07:00
John Lewin
3a9833697d Platform providers
- New Provider model
- Remove WindowsFileDialogs project
- Remove PlatformAbstract assembly, use AggContext
- Rename OsInformation to OperatingSystem
2017-08-22 13:42:34 -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
Lars Brubaker
4d96a26cd0 Moved all the easy static localized strings to non-static strings 2017-03-01 13:48:49 -08:00
Lars Brubaker
9c55f8f982 New default constructor, moved hanchor vanchor
removed cover
2017-02-01 16:39:24 -08:00
Lars Brubaker
f401a3323c Moved Mocros to the top of the controls window
Putting in Macro Menu
Changed closeButton back to cancelButton
2016-11-30 13:31:19 -08:00
Lars Brubaker
06b1512698 Load and Unload Macros working better.
Fixed colors on redeem purchase disabled button
2016-11-29 14:17:37 -08:00
Lars Brubaker
ff0c2738d8 Made importing a quality setting set the name correctly. 2016-11-07 12:41:05 -08:00
Lars Brubaker
aa2fde82fb Import Settings now working
Moved merge into PrinterSettings
With test
2016-10-05 14:57:37 -07:00
John Lewin
d0ce7a5600 Move recovery orchestration into ProfileManager.LoadProfileAsync 2016-08-12 13:29:22 -07:00
Matt Moening
5b42eac301 Fixed import to not rely on layer_height validation
- Import preset no longer checks for slicer and will validate import on weather or not any settigns were valid
 - calling Import from MenuOptionFIle will cause the same error message as importing a printer form the settings import page
 - Import to new printer now attempts to load values and validates success on importing a valid setting
2016-08-11 14:59:33 -07:00
Matt Moening
5b8ff5cd29 Changed TryGetValue to ContainsKey for clarity 2016-08-11 13:01:34 -07:00
Matt Moening
bdf3e8f2a5 Importing a printer/settings from a file will now notify the user if the file contains no valid user settings
- ImportFomEisting now returns a bool of whether or not it succeeded
 - PrinterSettings now has a Contains method
 - merging or importing quality/material settings check to make sure at least one setting was importable and notifies user if not
2016-08-10 16:39:08 -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
Lars Brubaker
cc240b1ecc Took out non-working slic3r setting
always try to import ini files.
2016-08-05 18:01:12 -07:00
Lars Brubaker
054d552289 Changed the signature of WrappedTextWidget 2016-07-27 17:17:33 -07:00
John Lewin
54d165d15f Consolidate member names 2016-07-18 16:58:25 -07:00
John Lewin
dba57b3e0a Change printer profile extensions to '.printer'
- Convert string literals to shared const
2016-07-14 11:37:04 -07:00
Lars Brubaker
56ee8d81b0 Don't try to load material and quality settings if there aren't any.
Don't throw on cura file in release.
2016-06-22 09:47:01 -07:00
John Lewin
b63551aee6 Finished import to settings overrides 2016-06-21 17:06:20 -07:00
John Lewin
493b2b2b3f Import into new preset layer 2016-06-21 16:36:11 -07:00
Lars Brubaker
7b1fa6c202 start the import to settings. 2016-06-21 15:43:09 -07:00
Lars Brubaker
93530a64c1 can merge from .printer into current. 2016-06-21 15:39:18 -07:00
Lars Brubaker
6ee626e794 Refactoring print settings strings into SettingsKey string consts
Made a new ReloadUiWhenChanged propertie for Properties.json
2016-06-21 09:38:37 -07:00
Lars Brubaker
9b42fac41a Import merge from .printer starting to work.
Ability to center model windows
2016-06-20 15:45:17 -07:00
Lars Brubaker
8d487138dd Enabled import to Material
Made "Done" button show
2016-06-20 12:56:11 -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
Lars Brubaker
66dffe2319 Working on importing to presets. 2016-06-17 14:44:35 -07:00
Lars Brubaker
6f39a7b1d9 Reduced import export text. 2016-06-16 17:56:12 -07:00
John Lewin
c008234248 Rename ActiveValue to GetValue, consolidate GetValue overrides 2016-06-15 17:19:29 -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
Lars Brubaker
5082f9d4f8 Improving import wizard
Made a new success page for the input wizard
Made cancel file selection do the right thing
Update profile selector on add
Load from ini can handle a bad ini file now
2016-06-15 11:49:57 -07:00
Lars Brubaker
b9f92280b3 more work on import 2016-06-14 12:55:19 -07:00
Lars Brubaker
86a7e7c415 Working on new import and export wizard 2016-06-14 11:45:18 -07:00
Lars Brubaker
2173b43e46 Working on settings import and export wizards 2016-06-13 15:28:56 -07:00
John Lewin
20bb5efdd4 Add ImportSettings page for new import behavior
- Move ClearUserOverrides to SettingsProfile
2016-06-11 16:24:30 -07:00