Commit graph

119 commits

Author SHA1 Message Date
John Lewin
c6ef31075d Click Print Leveling to continue 2019-04-15 21:04:28 -07:00
jlewin
d0d2317600 Reuse LoadFilamentWizard in XYCalibrationWizard
MatterHackers/MCCentral#5266
XYCalibration Wizard should include LoadFilament pages if materials
are unknown
2019-04-15 16:07:01 -07:00
jlewin
584cbc88e7 Only move to enabled stages
- Issue MatterHackers/MCCentral#5279
Staged wizard next button advances to stage which is not active
2019-04-09 16:17:28 -07:00
jlewin
a2fc4b916a Add support for launching into next incomplete stage 2019-04-04 17:26:34 -07:00
jlewin
50e2419d72 Improve support for StagedSetupWizards 2019-04-04 17:26:34 -07:00
jlewin
4f3fbba14d Replace RunAnyRequiredPrinterSetup with Wizard.NextIncompleteStage() 2019-04-04 17:26:34 -07:00
John Lewin
f19c270e52 Update method name to match current behavior 2019-04-04 12:04:08 -07:00
jlewin
489ad473e1 Improve code conformance 2019-04-03 09:27:07 -07:00
jlewin
c562d72de0 Extract embedded type to new file 2019-04-03 09:27:07 -07:00
jlewin
44f56561d7 Move fixed size to caller 2019-03-25 17:46:13 -07:00
jlewin
016e58be39 Fix resize regression in AboutPage
- Issue MatterHackers/MCCentral#5209
About page has bad size
2019-03-25 17:46:00 -07:00
jlewin
8627c96902 Eliminate advance to next incomplete stage on Cancel
- Restore at a later point with dedicated Finish action
2019-03-22 14:53:24 -07:00
jlewin
df803eb9eb Remove enumerator manipulation in constructor 2019-03-22 14:53:20 -07:00
jlewin
0163cf6849 Dispose previous wizard when switching between stages
- Issue MatterHackers/MCCentral#5202
SetupWizards should be modified to undo their changes if aborted/
cancelled
2019-03-22 14:53:18 -07:00
jlewin
ab6e10d861 Rename type 2019-03-22 14:19:06 -07:00
jlewin
8ce46e32cb Add Visible/Enabled properties to ISetupWizard
- Add support for filtering out invalid wizards at runtime
- Add support for disabling wizards until requirements are met
2019-03-22 14:19:06 -07:00
jlewin
499d46a686 Require window title to show, use theme colors 2019-03-22 14:19:06 -07:00
jlewin
2c8b06203c Move close logic to DialogWindow for custom effect in Wizards 2019-03-22 14:19:06 -07:00
jlewin
a85d884b60 Add support for detecting/rendering stage completion status 2019-03-22 14:19:06 -07:00
jlewin
e5e0e06326 Add ActiveStage property to control staging 2019-03-22 14:19:06 -07:00
jlewin
2c13c1d4b4 Add mechanism to finish stage and move to next best action 2019-03-22 14:19:06 -07:00
jlewin
bf5ed7439a Allow setup wizard to define custom home page 2019-03-22 14:19:05 -07:00
jlewin
8f6ffb0ec4 Show active stage in left nav bar 2019-03-22 14:19:05 -07:00
jlewin
9a898459e4 Open to empty page 2019-03-22 14:19:05 -07:00
jlewin
61716d98a7 Change ISetupWizard to be IEnumerator<WizardPage>
- Allow for arbitrary navigation in staged wizard window
2019-03-22 14:19:05 -07:00
jlewin
92d4e62de4 Use custom type for wizard stage row 2019-03-22 14:19:05 -07:00
jlewin
d3097dea49 Initial StagedSetupWizard prototype 2019-03-22 14:19:05 -07:00
jlewin
a7a40816ad Add support for custom DialogWindow types 2019-03-22 14:19:05 -07:00
jlewin
4f0b6b0ba9 Change WindowTitle to Title - simple summary of task at hand 2019-03-22 14:19:05 -07:00
jlewin
3f2455c9fa Add support for explicit WindowSize on SetupWizards 2019-03-06 18:03:38 -08:00
jlewin
64090ab10c Add enter key support to SetupWizards, ensure esc works with Focus()
- Issue MatterHackers/MCCentral#5109
Enter/esc keys have no effect in WizardPages
2019-03-01 17:43:04 -08:00
John Lewin
bae0bf9020 Add mechanism to DialogPage to start and show SetupWizards
- Remove special behavior in each SetupWizard for showing Dialogs
- Move initialization code in old Start method into constructors
2019-02-19 11:05:42 -08:00
John Lewin
81678d9f8c Simplify Page access, pass page instance reference to PageLoad 2019-02-15 20:54:08 -08:00
John Lewin
1b463ffaa7 Convert custom WizardPage actions/events to existing ones
- Remove PageIsBecomingActive, prefer existing OnLoad
- Remove PageIsBecomingInactive, prefer existing OnClosed
- Rename BecomingActive action to PageLoad, used for inline defs
- Rename BecomingInactive action to PageClose, used for inline defs
- Fire PageLoad/PageClose from page base OnLoad/OnClosed
2019-02-15 20:09:48 -08:00
Lars Brubaker
1d2fe6823e added an Enable Network Traffic config value
If disabled - turn off 'check for update', 'login', 'get public profiles', and make public for other network aware resources

issue: MatterHackers/MCCentral#4879
add ability to check Registry key to disable check for updates and login
2019-01-31 09:42:54 -08:00
John Lewin
329d370a06 Provide support for generic DialogPage
- Issue MatterHackers/MCCentral#4891
2019-01-23 08:38:17 -08:00
John Lewin
a6a3a53f5b Opt-out of auto close on MouseEnter popover, always close on MouseLeave 2019-01-02 17:42:57 -08:00
John Lewin
8fab51d6bc Fix arrow direction values 2019-01-02 17:42:57 -08:00
John Lewin
636bc856c9 Use ArrowDirection instead of HAnchor, demand in constructor 2019-01-02 17:42:57 -08:00
John Lewin
c0bcd20260 Extract ArrowDirection to standalone type, revise naming on use 2019-01-02 17:42:57 -08:00
John Lewin
b2a928cf91 Remove buttonRow left/right margin 2018-12-31 11:22:36 -08:00
John Lewin
74b6b9259d Add direction arrows to next/previous buttons 2018-12-31 11:20:21 -08:00
John Lewin
367c346b19 Remove redundant method 2018-12-31 09:38:21 -08:00
John Lewin
51fff1de0d Move increment constraints into ShowNext/ShowPrevious methods 2018-12-31 09:38:21 -08:00
John Lewin
ac40f00378 Correctly wrap to end on ShowPrevious < 0 2018-12-31 09:38:21 -08:00
John Lewin
07e26079e4 Fix typo 2018-12-31 09:38:20 -08:00
Lars Brubaker
5ba0544b84 Make the initial page a better size 2018-12-31 09:12:24 -08:00
John Lewin
2888a77d1e Add titles to tour items 2018-12-30 14:18:16 -08:00
John Lewin
5445736fd0 Add tour step indicators, use LinkLabels 2018-12-30 12:09:55 -08:00
John Lewin
a89567dea5 Revise namespace, use new Tour scope 2018-12-30 10:54:54 -08:00