Commit graph

32 commits

Author SHA1 Message Date
John Lewin
45ff2d5e54 Add support for printing GCode
- Issue MatterHackers/MatterControl#3457
MC2 2.0.0.9727 Gcode files do not print
- Enable print from current bed plate
- Enable print from library selection
2018-07-18 17:12:56 -07:00
John Lewin
bbabf95c93 Improve DI, use constructor injection 2018-07-12 09:33:15 -07:00
John Lewin
d6d4c0ac86 Move TextButtonPadding state up to theme
- Issue MatterHackers/MCCentral#3535
Exception in LoadRootWindow before theme assignment results in explode
2018-06-25 08:16:17 -07:00
John Lewin
56327e684d Add Primary action highlighting to "Start Print" button 2018-06-24 17:21:18 -07:00
LarsBrubaker
f05152e34b Made Advanced panel in Print menu show up when needed
issue: MatterHackers/MCCentral#3455
If pause or spiral vase are set show them in the print dialog
2018-05-26 21:52:19 -07:00
John Lewin
25c76d0282 Ignore "Start Print" on empty bed
- Issue MatterHackers/MCCentral#3442
Clicking Print button with empty bed results in empty gcode, disabled print button
2018-05-24 22:46:34 -07:00
John Lewin
c13c6bbe7b Move ApplyBoxStyle extension method into theme, use local theme refs 2018-04-14 21:13:59 -07:00
John Lewin
7f62ce801d Fix borders on Advanced SectionWidget 2018-04-13 12:33:15 -07:00
John Lewin
1c5e69ced6 Revise margin on Advanced SectionWidget 2018-04-13 12:33:15 -07:00
John Lewin
178708526b Extract border helper from PrintPopupButton, reuse in heater popups 2018-04-13 12:33:15 -07:00
John Lewin
37a0b64b02 Use dedicated theme for menus, prefer theme colors over explicit refs
- Revise icon loader to take an Invert bool instead of custom enum
- Remove icon loader static ref to ActiveTheme.Instance
- Pass contextual theme.InvertIcons for theme specific invert behavior
2018-04-12 13:17:17 -07:00
John Lewin
d8ff96d226 Start visible and toggle off to work around layout quirk
- Workaround introduces flicker. Evaluate and select lesser evil
- Issue MatterHackers/MCCentral#2991
Print popup -> Advanced pushes primary action offscreen
2018-03-27 16:14:33 -07:00
Lars Brubaker
9cc6d5f469 Added passing UndoBuffer to rebuildable 2018-03-08 17:29:35 -08:00
John Lewin
d54e317382 Revise long running task title assignment and draw position
- Issue MatterHackers/MCCentral#2737
long running task overlaps title and content
2018-02-20 18:27:52 -08:00
John Lewin
fd59371cbc Remove unused reference from PrintPopupMenu 2018-02-12 19:26:36 -08:00
John Lewin
19972a900f Move SaveChanges from GuiWidget(View3DWidget) to SceneContext 2018-02-12 19:26:36 -08:00
John Lewin
d0131511da Add listening mechanisms to update settings fields on change
- Issue MatterHackers/MCCentral#2795
Can't clear setting in print menu
2018-02-09 21:44:09 -08:00
John Lewin
30cf0c0f60 Add support for slicing persisted but in memory IObject3D items
- Issue MatterHackers/MCCentral#2785
Exception in AddObjectsForExtruder
2018-02-09 18:11:55 -08:00
Lars Brubaker
20f54e28cc Fixing tests
Added scroll into view
Made popup widget get the right scroll
Made automation runner able to find widgets that aren't visible
2018-01-24 16:31:23 -08:00
John Lewin
09b2db02b9 Group print popup optional items into SectionWidget 2018-01-22 10:41:48 -08:00
John Lewin
284a3b619d Remove background shade, add control borders
- Issue MatterHackers/MCCentral#2663
Evaluate UI fields having a non-white border
2018-01-20 10:17:04 -08:00
John Lewin
fd439fe675 Switch to transparent button backgrounds
- Add TextIconButton for image/text combos
- Add SimpleFlowButton for hover behaviors on Flowlayout types
- Duplicate hover behaviors in PopupMenuButton
- Base SimpleButton on GuiWidget rather than classic button type
- Issue MatterHackers/MCCentral#2671
Evaluate transparent normal fill for toolbar buttons
2018-01-16 19:01:09 -08:00
John Lewin
0db0f2630a Darken container background for contrast with white input fields
- Issue MatterHackers/MCCentral#2653
Undetectable input fields
2018-01-15 10:49:33 -08:00
John Lewin
5e4184217e Extract SliceSettingsWidget settings/tab view to reusable control
- Make Configure Printer persist/restore last tab
- Revise layouts.txt groups
- Issue MatterHackers/MCCentral#2646
Configure Printer should use same implementation as SliceSettingsWidget
2018-01-14 10:39:12 -08:00
John Lewin
42a5e08ac4 Rename SliceSettingsOrganizer -> SettingsOrganizer 2018-01-14 10:37:48 -08:00
John Lewin
13cc147dfe Caller specified pointSize for DropDownLists 2018-01-12 14:51:10 -08:00
John Lewin
51dc1b1c48 Ensure correct black text overrides for fixed white background
- Issue MatterHackers/MCCentral#2514
Adjust print popup menu for forced white background
2017-12-29 09:45:06 -08:00
John Lewin
732e633ed9 Add drop arrows on popup menus
- Issue MatterHackers/MCCentral#2515
Add drop arrows to controls that show popups
2017-12-27 17:35:20 -08:00
John Lewin
deed45ab4a Fix CancelWorksAsExpected & RaftEnabledPassedToSliceEngine tests
- Make start/stop print automatable
- Make test helpers for:
  - OpenPrintPopupMenu
  - StartPrint
  - OpenGCode3DOverflowMenu
  - SwitchToSliceSettings
  - EnsurePrintersSidebarOpen
2017-12-14 16:19:22 -08:00
John Lewin
bd79414c34 Enable pause/resume on task, remove pause/resume/cancel from bar
- Issue MatterHackers/MCCentral#2407
Extend Tasks.Execute to support custom pause/stop implementations
2017-12-12 17:53:32 -08:00
John Lewin
a633bfae46 Replicate Basic items on Print popup menu, remove Settings modes
- Issue MatterHackers/MCCentral#2405
2017-12-12 12:06:20 -08:00
John Lewin
cbc2db9797 Long running print task 2017-12-11 22:22:56 -08:00