Commit graph

45 commits

Author SHA1 Message Date
John Lewin
6881e3ed3b Revise ToggleSwitch UIField to match sibling widths
- Issue MatterHackers/MCCentral#2020
Improve UIField sizing and positions
2017-10-01 18:25:12 -07:00
John Lewin
83e0dee7a9 Move common control size into base 2017-10-01 10:38:36 -07:00
John Lewin
1a12b22d1c Allow doubles when unitsToken populated, constrain to int without 2017-09-25 14:58:00 -07:00
John Lewin
569ce3498c Fix test exceptions due to naming mismatches 2017-09-22 23:38:15 -07:00
John Lewin
12f97dc6be Fix broken ComPortField, add basic field test 2017-09-21 16:30:52 -07:00
John Lewin
426a5dd9f5 Fix SliceSettings ExtruderOffsetField to honor shared temps 2017-09-20 18:06:58 -07:00
John Lewin
de922d8a2e Convert PrinterConnection usage from static to local references 2017-09-17 13:31:32 -07:00
John Lewin
e926b747cf Remove accidental debugging statements 2017-09-16 23:30:41 -07:00
John Lewin
a7f6f0e852 Fix PositiveDouble test 2017-09-15 15:08:17 -07:00
John Lewin
6c1d3c126f Extract embedded type to new file 2017-09-15 13:44:54 -07:00
John Lewin
907ab38cea Replace ValueOrUnitsField with IntOrMmField, implement field test 2017-09-15 13:43:50 -07:00
John Lewin
1bea55ad4a Restore PositiveDouble functionality, convert to concise test format 2017-09-14 22:13:29 -07:00
John Lewin
71064a0427 Extract embedded type to new file 2017-09-14 21:17:35 -07:00
John Lewin
7e031bf4ea Fix regression in numeric fields regarding negatives 2017-09-14 19:17:04 -07:00
John Lewin
c2b2175168 Fix and update SliceSetting field identifiers 2017-09-14 14:47:08 -07:00
John Lewin
6e536c548d Implement custom ExtruderOffsetField 2017-09-14 13:29:22 -07:00
John Lewin
9df7cd414e Validate Vector2Field changes via ConvertValue 2017-09-14 13:27:48 -07:00
John Lewin
9aa6950b0c Remove numberOfCopies loop, move extruder logic to ExtruderOffsetField 2017-09-14 09:51:19 -07:00
John Lewin
ad95f12d93 Dynamically sized GCode fields 2017-09-13 18:19:42 -07:00
John Lewin
acff39eee0 Complete rename to UIField 2017-09-13 06:59:30 -07:00
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
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
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
393db7ba79 Remove ISettingsField type 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
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
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
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
e5c7802e90 Convert common types to UIField
- Investigate feasibility of NumberField, TextField, CheckboxField, etc...
2017-09-13 06:45:18 -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