Commit graph

40 commits

Author SHA1 Message Date
John Lewin
0dc0621f62 Add helper methods to open/close Printers... menu
- Click ConnectionWizard->Skip if present and adding printers
2017-06-04 16:16:07 -07:00
Lars Brubaker
f15318faf9 Actually check if we have a printer selected. 2017-02-09 14:33:27 -08:00
Lars Brubaker
8134b3f450 Fixed the Macros window to cancel on user closes with the X windows button.
Put cancel into max length and temp stream
Made close function take a bool if the system did it
Moved To EventHandler<> in GuiWidget
Made a ClosedEventsArgs
2017-02-03 13:06:08 -08:00
Lars Brubaker
b4deffa944 More localizations 2016-12-16 15:25:00 -08:00
Lars Brubaker
03e1fee901 Moving keyboard offset to common base class 2016-12-12 13:32:40 -08:00
John Lewin
ff2f7d249e Prevent unexpected ActivePrinter changes
- Prevent selection changes on "Add New Printer..." menu item
- Prevent ActivePrinterChanged on differing EmptyProfile instances
- Prevent calling SwitchToProfile on PrinterSelector change if already
  on instance
2016-12-10 14:40:04 -08:00
John Lewin
8f7d1332f3 Update LastProfileID on create printer 2016-12-09 17:05:27 -08:00
Lars Brubaker
7edb7c7dde Make change to page close children
Set correct wizardwindow when rebuilding content
Make sure click events are running on uithread
2016-12-09 12:09:28 -08:00
Lars Brubaker
9896346610 Get the starting color set correctly
Made the android printer select window fix its colors on change
2016-12-09 10:40:01 -08:00
Lars Brubaker
83a3c87557 Quality settings override correctly. 2016-12-06 17:54:27 -08:00
Lars Brubaker
074ea0cdf8 Make sure we reload the printer menu in touchscreen 2016-11-08 16:02:05 -08:00
Greg
301a96cce9 Bug Fix: Printer selection menu gets stuck on "Add New Printer"
MatterHackers/MatterControl#1391
2016-09-16 08:31:44 -07:00
Greg
13f8660214 ShowMessageBox if users try t to add new printer while a print is either active or paused
MatterHackers/MatterControl#1299
2016-08-22 14:47:21 -07:00
John Lewin
7183cbf919 Rebuild printers droplist on ProfilesListChanged event
- Fixes list not refreshing after import
 - Issue MatterHackers/MCCentral#288
2016-08-19 09:27:57 -07:00
Lars Brubaker
dc22e6b788 Getting more tests to pass
Down to 7 failing tests.
2016-08-01 17:21:31 -07:00
Lars Brubaker
132b3b49e0 Merge branch 'master' of https://github.com/MatterHackers/MatterControl 2016-07-29 14:24:57 -07:00
John Lewin
8171962ed6 Only rebuild the printers list for name changes 2016-07-29 11:18:37 -07:00
Lars Brubaker
ac7b2ee71b Made the printer list sorted 2016-07-29 11:16:59 -07:00
Lars Brubaker
b90b62528d Made it so we add the delete and update info for a printer as a new component
left aligned printer list (took out icon space)
2016-07-15 11:52:06 -07:00
John Lewin
b15bcc9775 Remove call to ToString, SettingsKey properties are not strings 2016-07-11 15:30:30 -07:00
Lars Brubaker
6c08b9421d Don't allow change printer while printing.
Don't allow login or logout while printing.
2016-07-06 16:40:23 -07:00
larsbrubaker
a1680ca2d1 Make sure clicking "add new printer" always runs the add new printer wizard. 2016-06-21 19:02:04 -07:00
Lars Brubaker
7f85f168d5 Took out the prepend of MatterControl on profile settings and made them consistent lower case underscore. 2016-06-16 16:35:10 -07:00
Lars Brubaker
d83982089a Changed the SettingsKeys from an enum to a static class of const strings. 2016-06-16 14:35:42 -07:00
Lars Brubaker
4e8be396b8 import into now printers correctly. 2016-06-16 13:23:44 -07:00
John Lewin
c0ec29664d Convert some accessors to use GetValue<T> 2016-06-15 17:59:52 -07:00
John Lewin
4e74156521 Extract profile management to ProfileManager class
- Use on disk profiles.json
 - Support MarkedForDelete functionality
 - Issue #930
2016-06-15 13:09:47 -07:00
John Lewin
be27c5403b Rebuild PrinterSelector data on printer name changed
- Add Rebuild method to PrinterSelector
 - Hook settings change in PrinterSelector and rebuild on name change
 - Issues #880, #894
 - Use initializer syntax
2016-06-09 09:24:59 -07:00
John Lewin
d27db87a65 Migrate StyledDropDownList to Agg 2016-06-03 18:11:51 -07:00
John Lewin
cb56e85776 Add support for renaming and duplicating presets
- Fixes #720 - Changing preset names has no effect
 - Fixes #767 - Presets editor contains user overrides
 - Fixes #768 - Oem presets should be copied...
 - Migrate from int to string based printer IDs
 - Add json document migration capabilities
2016-05-16 17:46:17 -07:00
larsbrubaker
371561a6f7 Working to make the icons scale better on high res screens. 2016-05-07 17:18:05 -07:00
larsbrubaker
a225e69513 Fixed the font size in touch screen mode 2016-05-06 07:54:46 -07:00
John Lewin
5db7c79d00 Get updated profiles compiling on Android
- Remove unused properties from ApplicationView
 - Rename CompactApplicationView to TouchscreenView
 - Rename ResponsiveApplicationView to DesktopView
 - Move abstract ToggleTopContainer() specific to TouchscreenView
 - Remove unused HideTopContainer implementations
 - Conditionally compile invocation/assignment of ApplicationMenuRow
 - Migrate single setting from PrinterSettings "PublishBedImage" to SliceSettings
 - Remove PrinterSettings class
 - Import "PublishBedImage" during ImportPrinters
 - Remove code that doubles the size of the splitter bar when collapsed
 - Fix incorrect path to "config.ini"
2016-05-05 12:33:39 -07:00
John Lewin
e4f2dad8ae Revise AutoConnect behavior and startup printer selection
- Store selected printer in UserSettings
 - Restore last selected printer on startup
 - AutoConnect now means "Connect" to startup printer if enabled
 - Prevent firing ActivePrinterChanged and thus ReloadAll during startup
2016-05-03 08:08:05 -07:00
John Lewin
ad48c820e2 Restore AutoConnect functionality
- Add AutoConnect settings UI
 - For consistency, use string int values for settings bools
2016-05-03 08:08:05 -07:00
larsbrubaker
c0c21a065e Change icon menu item function signature. 2016-04-30 15:30:11 -07:00
John Lewin
6d7fd10c0a Hookup Add New Printer action 2016-04-29 15:29:31 -07:00
Lars Brubaker
4ad02e3fcd Show icons in printer select menu 2016-04-29 15:21:01 -07:00
Lars Brubaker
9dbe8ebcac Put in Add New Printer menu 2016-04-29 13:55:29 -07:00
John Lewin
4496720772 Json Profiles 2016-04-27 14:35:57 -07:00