Commit Graph

43 Commits

Author SHA1 Message Date
YuSanka
5f9478447d PrintHostQueueDialog: MSW specific in DarkMode: Fixed font color for the selected Item 2021-08-02 17:28:08 +02:00
Oleksandra Yushchenko
ffd33d6494 DarkMode for MSW (#6632)
* MSW specific: Dark Mode: First implementation

* Use menu instead of NoteBook

* Implemented MessageDialog
+ Fixed DarkMode for all dialogs and ColorPicker

* MSW DarkMode: Added missed updates for the switching between modes

* MSW DarkMode: Updated all existed context menus after switching of the mode
+ Added markers for the menu item witch is related to the selected tab

* Used wxFrame instead of wxDialog for SettingsDialog
(this change allow us to use menu bar in SettingsDialog)

+ fix for #6548 - Prusa Slicer 2.3.1 not activating non-modal settings window if settings window is minimized

* Implemented "Always use Dark mode colors" preference option

* Fixes for non_MSW build

* Next fixes for non-MSW builds

* Preferences: Fixed selection of the Settings Layout for non-MSW platforms
+ Updated DarkMode for colorpickers

* Windows DarkMode next fixes

* MSWDarkMode: Suppress to use system color to the PrusaSlicer
Select "Preferences -> Use Dark color mode (experimental)" to allow dark mode for the application

* Fixed MSW build

* MSWDarkMode: Upadteed color mode for ExtruderSequenceDialog and for dialogs related to the DoubleSlider

* Implemented Auto recreation of the PrusaSlicer when color mode is changed.

* Preferences: Added option "Set settings tabs as menu items (experimental)"
2021-06-18 19:46:04 +02:00
Lukáš Hejl
6f643ba6d3 Added missing include (GCC 9.3) 2021-04-21 06:08:46 +02:00
David Kocik
51a8af03fd Check of correct suffix during PrintHostSend dialog. 2021-04-20 09:18:50 +02:00
David Kocik
d5b09ab703 warning fix 2021-03-17 15:43:41 +01:00
David Kocik
62fd84c269 Fixed upload notification cancel button 2021-03-16 18:44:12 +01:00
David Kocik
05b01022ed Fixed progress percentage passed to notification 2021-03-15 16:03:51 +01:00
David Kocik
64e4d3d7bd Deleted debug print 2021-03-15 14:01:21 +01:00
David Kocik
bbc2957de3 Enabled print host upload notifications 2021-03-15 13:07:54 +01:00
Lukas Matena
20f5df34fb Added a missing include (gcc)
Removed several includes, hopefully they're not needed on any other platform.
2021-03-12 11:31:05 +01:00
David Kocik
31bfa025f2 Commented Print host upload notification until its tested 2021-03-12 10:32:26 +01:00
David Kocik
9a2b47f5da Print host upload notification with more info and cancel button 2021-03-12 10:32:26 +01:00
David Kocik
5f4b67463f Printhost upload progress bar notification 2021-03-12 10:32:26 +01:00
Lukáš Hejl
3d4fcc879f Added a missing includes 2021-03-12 10:30:06 +01:00
David Kocik
549809f662 print host upload queue dialog - precision in size column 2021-03-11 16:32:20 +01:00
David Kocik
8ddc23f1ae saving size and position of print host queue dialog, added size column, sorting 2021-03-11 13:36:36 +01:00
Lukas Matena
f7e26b5655 Fixing GCC warnings 2 2021-01-29 10:46:52 +01:00
YuSanka
ec99345ff6 Fix of #4532 - "Send G-Code to printer host" dialog box blanks out text on Linux 2021-01-06 12:24:00 +01:00
Vojtech Bubnik
df03ab392c Follow-up on 3523bb421f
(Ongoing uploads while exiting dialog):
Fixed some string conversion issues.
2020-12-12 11:26:17 +01:00
David Kocik
e6c600c46f Ongoing uploads while exiting dialog
Ongoing uploads while exiting dialog

Ongoing uploads while exiting dialog
2020-12-10 11:02:46 +01:00
YuSanka
bc5dfba54e Show the PrintHostDialog on the same display as an application window. Probably, fix for #5044 2020-12-04 13:34:44 +01:00
Vojtech Bubnik
af0b587f1c Merge of pull request Add support for RepetierServer #4384 by @docbobo
with the following refactorings:

1) Removed the "printhost_slug" config from the Printer config
   and from all the Printer config related spots.
2) "printhost_slug" renamed to "printhost_port". Slug sounds nasty.
3) Improved error reporting of RepetierHost class.
4) Refactored for the new "Physical Printers"

Following refactorings were done independently of the Repetier pull request:
1) Removed PrintHost static print config.
2) Clean-up after conversion of print host configuration
   from Printer config to Physical Printer config.
3) Fixed some issues, where the Printer config was still queried for
   host configuration. Vojtech believes that this should not happen
   after the host configuration is converted to physical printers.

Vojtech still feels that more refactoring is needed in regard to porting
the host configuration from Printer profile to the new Physical Printer
profile.
2020-10-28 09:51:05 +01:00
enricoturri1966
cbca113789 Fixed crash when starting the application on a secondary monitor 2020-09-15 15:23:39 +02:00
YuSanka
ceaeb26da8 Code refactoring: AppConfig.cpp(hpp) are removed from the GUI to libslic3r 2020-08-08 17:03:20 +02:00
Lukas Matena
4949150313 Fixing wxString::Format encoding mismatches (part 3) 2020-03-03 10:54:17 +01:00
bubnikv
c5cb85c20a GUI::show_error() is now generalized for std::string and const char*
Fixed return type of std::string translate_utf8() with context
(incorrectly returned wxString, should return std::string).
Fixed double translation of BackgroundSlicingProcess::validate() in Plater.
2020-02-21 13:38:06 +01:00
Vojtech Kral
9aecca26f4 Fix a few warnings in PrintHostDialogs, UploadDialogs 2019-09-06 16:33:00 +02:00
bubnikv
5d1d818ffe Fix of OctoPrint upload dialog persistance:
Directory always stays remembered in the "Send G-code to printer host" dialog #2234
2019-05-15 10:24:03 +02:00
bubnikv
3476ab08fd Localization of "Upload to host" table legend. 2019-05-09 17:35:18 +02:00
YuSanka
2b39a4df96 Added msw_buttons_rescale() - Function for a scaling Dialog's buttons under MSW 2019-04-25 15:09:12 +02:00
YuSanka
d6ed85b61f Added _fiction_ resizing for correct MainFrame rendering after DPI changed_object
+ Added a calculation of a empty bitmaps inside presets in respect to em_unit (to avoid assert)
 + Added scaling for PrintHostDialogs and MsgDialog
 + some code refactoring
2019-04-23 16:33:06 +02:00
Vojtech Kral
78e5af1b04 PrintHost: Don't offer print start for SL1 2019-03-05 16:12:15 +01:00
Vojtech Kral
57e6d8b89c Fix close/cancel button accel problems on Mac 2019-03-01 13:15:20 +01:00
Vojtech Kral
8c01cf8860 Scaling in PrintHostDialogs, FirmwareDialog, UpdateDialogs 2019-02-21 19:00:50 +01:00
Vojtech Kral
8b86eb0e4c Printhost: Persist upload path & start print checkbox (re-add lost code)
Fixes #1219
Fixes #1004
Fixes #1106
Fixes #1678
2019-02-19 14:49:17 +01:00
Vojtech Kral
6197c27903 PrintHostDialogs: Disable smart substitutions on Mac 2019-01-24 19:58:16 +01:00
Vojtech Kral
93cb490c3a Mac: Disable auto window menu, fix upload queue window size 2019-01-11 17:07:49 +01:00
Vojtech Kral
542a026fb4 Fix fs::path <-> wxString conversions 2019-01-02 15:53:52 +01:00
Vojtech Kral
e6ea909e15 Printhost: Cancelation, bugfixes 2018-12-20 13:38:00 +01:00
Vojtech Kral
fa7e9a6047 Printhost: Error message stashing, improvements 2018-12-20 13:37:50 +01:00
Vojtech Kral
19268b292b Printhost: Polish error handling, bugfixes 2018-12-19 18:49:34 +01:00
Vojtech Kral
0fc0ba119d OctoPrint basics working, niceties to-do 2018-12-17 17:14:00 +01:00
Vojtech Kral
caafcede3b WIP OctoPrint integration 2018-12-12 13:17:01 +01:00