Commit graph

7502 commits

Author SHA1 Message Date
John Lewin
c8acc11275 Remove invalid cast 2017-09-13 06:45:22 -07:00
John Lewin
5e6afa4496 Eliminate IUIField interface 2017-09-13 06:45:22 -07:00
John Lewin
caeab53a2d Use correct property during ConvertValue 2017-09-13 06:45:22 -07:00
John Lewin
2e54309277 Move toggle fields back into common data area 2017-09-13 06:45:22 -07:00
John Lewin
d565dae770 Fix VerticalLine height 2017-09-13 06:45:22 -07:00
John Lewin
57305840bd Remove redundant variable 2017-09-13 06:45:22 -07:00
John Lewin
2307358ac8 Restore last separator line, adjust spacing, set SettingsRow bg color 2017-09-13 06:45:22 -07:00
John Lewin
c9d6b20e16 Optional toggle labels 2017-09-13 06:45:22 -07:00
John Lewin
ab150ba3ad Add initial toggle switch implementation for slice settings 2017-09-13 06:45:22 -07:00
John Lewin
72e1bb12e8 Add layout option for missing units section 2017-09-13 06:45:21 -07:00
John Lewin
3a821e648b Adjust VerticalLine width, preset colors, row height 2017-09-13 06:45:21 -07:00
John Lewin
96fc979a5c Revise SliceSettingsRow styling 2017-09-13 06:45:21 -07:00
John Lewin
10d4d15cd3 Drop padding on primary container 2017-09-13 06:45:21 -07:00
John Lewin
73d917d6db Switch to vertical bar styling for variance 2017-09-13 06:45:21 -07:00
John Lewin
0e4c538df9 Remove excess right margin on Restore button 2017-09-13 06:45:21 -07:00
John Lewin
79e35d0e4f Don't show units details for HARDWARE_PRESETS 2017-09-13 06:45:21 -07:00
John Lewin
f1596b535f Improve checkbox behavior, reload on Show Reset button click 2017-09-13 06:45:21 -07:00
John Lewin
19d14d0856 Extract embedded types to new files 2017-09-13 06:45:21 -07:00
John Lewin
801441e945 Remove unused ISettingsField/IntField type 2017-09-13 06:45:20 -07:00
John Lewin
2e343e5af8 Revise int and double fields 2017-09-13 06:45:20 -07:00
John Lewin
bb3602c3ff Remove redundant parameters in favor of existing instance members
- Ensure local printerConnection reference is stored
2017-09-13 06:45:20 -07:00
John Lewin
393db7ba79 Remove ISettingsField type 2017-09-13 06:45:20 -07:00
John Lewin
7e93caf274 Fix typo in bottom_solid_layers 2017-09-13 06:45:20 -07:00
John Lewin
ebfe02db2e Convert PositiveDoubleField to BoundDoubleField/DoubleField types 2017-09-13 06:45:20 -07:00
John Lewin
56f52aa906 Add test for SetSettingsOnChange/TargetSetting definitions 2017-09-13 06:45:20 -07:00
John Lewin
51d6cc07e8 Remove HardwarePresetField, use CheckboxField 2017-09-13 06:45:20 -07:00
John Lewin
f3c9326105 Convert MultilineStringField to UIField 2017-09-13 06:45:20 -07:00
John Lewin
25d6cdbd22 Guard for null 2017-09-13 06:45:19 -07:00
John Lewin
4fec085e14 Add functionality to detect user versus code driven change events 2017-09-13 06:45:19 -07:00
John Lewin
6996261a65 Remove Offset2Field, rebuild off Vector2Field with extruder index 2017-09-13 06:45:19 -07:00
John Lewin
df158920ad Remove dead code 2017-09-13 06:45:19 -07:00
John Lewin
54fe42c48c Convert Vector2Field to UIField 2017-09-13 06:45:19 -07:00
John Lewin
bbcf935022 Convert ListField to UIField 2017-09-13 06:45:19 -07:00
John Lewin
5c3257d8c4 Convert ComPortField to UIField 2017-09-13 06:45:19 -07:00
John Lewin
eac7fa87da Revise naming for clarity, use drowdownList reference from class scope 2017-09-13 06:45:19 -07:00
John Lewin
70aff5360c Revise method name to reflect actual behavior 2017-09-13 06:45:19 -07:00
John Lewin
02388ba33c Move settingsContext to class scope 2017-09-13 06:45:19 -07:00
John Lewin
1e06cc2d57 Remove unused settingData param, IntOrMmField code 2017-09-13 06:45:18 -07:00
John Lewin
5d105dec21 Consolidate SettingsRow view details & state into SliceSettingsRow 2017-09-13 06:45:18 -07:00
John Lewin
155e33f120 Make SliceSettingsWidget require a SettingsContext 2017-09-13 06:45:18 -07:00
John Lewin
9180598ff3 Move isPrimarySettingsView into SettingsContext 2017-09-13 06:45:18 -07:00
John Lewin
a0940eaa71 Move NamedSettingsLayer ViewFilter into SettingsContext 2017-09-13 06:45:18 -07:00
John Lewin
e5c7802e90 Convert common types to UIField
- Investigate feasibility of NumberField, TextField, CheckboxField, etc...
2017-09-13 06:45:18 -07:00
John Lewin
0b5148067b Persist SliceSettings viewstate across application restarts 2017-09-13 06:44:48 -07:00
John Lewin
59215767fd Work on UIField abstraction 2017-09-13 06:44:48 -07:00
John Lewin
39fcb70e23 Extract settings field generation into individual classes 2017-09-13 06:44:47 -07:00
John Lewin
90d0b74244 Remove layerCascade knowledge from widgets
- Add new SettingsContext object
- Redirect all calls through SettingsContext
- Exposes only get/set mechanism to SliceSettingsWidget
2017-09-13 06:44:47 -07:00
johnlewin
77918898c6 Merge pull request #2426 from larsbrubaker/design_tools
Working on new group system
2017-09-13 16:43:09 +03:00
Lars Brubaker
8854dc467c Working on new group system 2017-09-12 18:39:02 -07:00
Lars Brubaker
936d649712 Merge pull request #2425 from larsbrubaker/design_tools
Fixing the colors on the extruder material selector in dark theme
2017-09-11 13:30:33 -07:00