Commit graph

60 commits

Author SHA1 Message Date
John Lewin
7a243ce407 Rename WizardWindow to DialogWindow 2018-06-19 15:02:25 -07:00
John Lewin
80e48211e0 Remove string interpolation from localized strings
- Issue MatterHackers/MCCentral#3549
String interpolation in localized strings shouldn't work at runtime
2018-06-08 14:16:07 -07:00
John Lewin
92b1310421 Use theme colors
- Issue MatterHackers/MCCentral#3512
2018-06-05 16:06:08 -07:00
John Lewin
6bc8dc9c16 Inline 'Success' method 2018-06-05 16:06:08 -07:00
John Lewin
a94523e6d5 Simplify to if statement, use multiline format 2018-06-05 16:06:08 -07:00
John Lewin
0999f609c3 Rename type to match file/behavior 2018-06-05 16:06:07 -07:00
John Lewin
00ca673794 Use specific printer instance rather than global static 2018-06-05 16:06:07 -07:00
John Lewin
5544e61f7b Merge settings before adding to preset layers
- Issue MatterHackers/MCCentral#3499
When I override Maximum Fan Speed, it does not appear in View
Just My Settings
2018-06-05 16:06:07 -07:00
John Lewin
bf05be9f47 Inline method 2018-06-05 16:06:07 -07:00
John Lewin
3c6cb784a6 Reduce scope 2018-06-05 16:06:07 -07:00
John Lewin
b1cc3fe5ac Remove WizardButton factory 2018-04-14 21:13:59 -07:00
Lars Brubaker
1d6c3e68da Improved printer import experience (mad simpler) 2018-03-16 15:14:23 -07:00
Lars Brubaker
05077c4e45 Make it possible to import to current profile or new preset 2018-02-28 16:33:22 -08:00
John Lewin
ffc9ade8cb Text owners should localize their text values
- Derived types should localize their own text rather than the base
2017-12-04 15:07:56 -08:00
Lars Brubaker
c66fc57614 working on: MatterHackers/MCCentral#1292
Localized strings cannot be stored in static fields
2017-12-04 14:14:12 -08:00
John Lewin
c1b2aeb7d8 Rename Wizard Window/Page -> Dialog Window/Page 2017-11-08 15:56:37 -08:00
John Lewin
5699117a61 Show OpenFileDialog and import settings to new printer
- MatterHackers/MCCentral#2176
Import printer from +tab should create a new printer rather than ask
2017-11-07 14:15:34 -08:00
John Lewin
7979160cf5 Remove ReloadAdvancedControlsPanel, AdvancedControlsPanelReloading
- Issue MatterHackers/MCCentral#1615
 ReloadAdvancedControls should be broken out into ReloadSettings
 and ReloadX?
2017-10-30 16:52:41 -07:00
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