Commit Graph

390 Commits

Author SHA1 Message Date
ef5a2822db Fixed non_MSW build
+ fixed some warnings
2020-10-06 11:15:50 +02:00
cb72928d48 Typo in machine limits usage text. 2020-10-06 11:08:08 +02:00
6b0131e0b4 UnsavedChangesDialog improvements:
* Changed some labels on buttons. The Dialog name shows a purpose now
 * SaveDialog is called, when UnsavedChangesDialog is shown.
 * Added prototype for the "exit" icon

+ Fixed layout for the "Machine limits" page
2020-10-03 03:15:54 +02:00
54506d4f89 Limiting the application of Machine Limits
https://github.com/prusa3d/PrusaSlicer/issues/1212

WIP: The hints do not rescale when switching the "usage" combo box.
The new g-code time estimator needs to be updated to not read
the machine limits if not enabled.
2020-10-02 17:32:03 +02:00
db754ce870 Deleted use of TaskTimer in OnInit
+ code cleaning in MainFrame
2020-10-02 12:11:27 +02:00
265b556507 Fixed a crash when preset with "modified"suffix is selected 2020-10-02 09:02:16 +02:00
fddbd20570 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-10-01 20:12:50 +02:00
c53e14d6d4 Fixing a missing include on Windows. 2020-10-01 20:15:40 +02:00
75bc8f6d2c Merge branch 'vb_optgroup_refact' 2020-10-01 20:05:31 +02:00
b1ce406f33 Win32 specific: Workaround for tooltips over Tree Controls displayed
over excessively long tree control items, stealing the window focus.

In case the Tab was reparented from the MainFrame to the floating dialog,
the tooltip created by the Tree Control before reparenting is not reparented,
but it still points to the MainFrame. If the tooltip pops up, the MainFrame
is incorrectly focussed, stealing focus from the floating dialog.

The workaround is to delete the tooltip control.
Vojtech tried to reparent the tooltip control, but it did not work,
and if the Tab was later reparented back to MainFrame, the tooltip was displayed
at an incorrect position, therefore it is safer to just discard the tooltip control
altogether.
2020-10-01 19:58:23 +02:00
c2db7ff6fb Fixed crash on Linux on startup 2020-10-01 19:16:23 +02:00
cfe305a97a Refresh the page tree immediately after key press. 2020-09-29 14:47:03 +02:00
21a75575f3 Cancellation of parameter page build process. 2020-09-29 13:36:56 +02:00
2439458ce0 Faster switching of parameter pages if the page is switched
by cursor keys in the tree control:
The page update is delayed to idle.
2020-09-29 11:04:25 +02:00
73d31a601a Page class is used as a container of option groups
and doesn't inherited from wxScrolledWindow now
2020-09-24 18:54:54 +02:00
247e9825a4 Fixed highlighting of the searched option
+ Create controls only on the shown and active tab
+ Line class : deleted unused sizer
+ In GUI_Utils added TaskTimer class for the print a time of some task duration
+ BedShapeDialog:: activated options_groups
+ commented some unused code
2020-09-24 15:41:48 +02:00
4e0a0c5c51 New class ModelConfig wrapping DynamicPrintConfig and a timestamp
to help with detecting "not changed" event when taking
Undo/Redo snapshot or synchronizing with the back-end.

Converted layer height profile and supports / seam painted areas
to the same timestamp controlled structure.
2020-09-24 15:34:13 +02:00
dfaf3c5c97 Fixed scaling on MSW for new OptionsGroup 2020-09-22 16:16:35 +02:00
9b1ae700e8 Code refactoring of the OptionsGroup class:
Controls are created only for the active page now
2020-09-22 11:17:43 +02:00
d5b16a182e Fix of Settings scaling when they are placed in non-modal Dialog 2020-09-03 15:40:14 +02:00
359bf5dc7c Unsaved Changes: bug fix and improvements
- changed width of the "Save dialog"
- SavePresetDialog: added info for Print/Filament user presets incompatible with selected printer_technology
- fixed missed "modified" suffix when options are moved to the another preset
- "move selected options" button is added for dependent presets
2020-09-02 09:06:42 +02:00
b7f7c6846d UnsavedChangesDialog : improvements
* Processed changes in options with nullable values
* Processed changes on the extruders count
2020-08-18 16:49:06 +02:00
1365a1908a Fixed UI changing update for "Ramming" parameter 2020-08-17 15:13:18 +02:00
adfcf0c47e Unsaved Changes : improvement for the GUI_App::check_unsaved_changes()
Added use of UnsavedChangesDialog
2020-08-14 18:17:16 +02:00
cc92c90448 Merge remote-tracking branch 'origin/master' into ys_unsaved_changes 2020-08-13 15:46:17 +02:00
4f57e5381f Unsaved Changes : implemented "move" and improved "save"
UnsavedChangesDialog : some code refactoring

SavePresetDialog : processed empty name for the preset
2020-08-13 15:45:16 +02:00
fcb5262935 Show description for disabled elevation when pad or pad around is off
Follow-up fix for 830d89
2020-08-13 14:54:13 +02:00
fccaac0b2a Added description line for the disabling of "Object elevation"
Deleted mirrored parameter "pad_around_object" from "Support" category
2020-08-13 13:04:46 +02:00
d881079d1a Fixed build under GTK 2020-08-13 08:20:22 +02:00
41fa254e42 UnsavedChangesDialog : implemented "Save" function 2020-08-12 17:33:22 +02:00
558688c866 Implemented FullCompareDialog for show long string values
+ fixed build under GTK
2020-08-10 19:17:16 +02:00
e7f21d1e0e Merge remote-tracking branch 'origin/master' into ys_ph_printers 2020-08-06 17:02:48 +02:00
5dff085b4f Merge remote-tracking branch 'origin/master' into ys_unsaved_changes 2020-08-06 08:51:13 +02:00
dc8ce7c0f0 UnsavedChangesDialog improvements:
* support markup text and colored icons for cells

+ Extended BitmapTextRenderer for using of markup text
2020-08-05 19:25:04 +02:00
4716d744ec Add possible manipulation of small support diameter. 2020-08-03 19:05:30 +02:00
935a44113c UnsavedChangesDialog:
first implementation
2020-07-30 16:16:56 +02:00
03b2d9ca0c SavePresetDialog: Improvements 2020-07-29 16:05:30 +02:00
613b80d86f Improved InfoMsg for a delete preset:
* Now we show a list of printers name with selected preset

+ Added a edit_button for the editing of the physical printer fro the Settings Tab
+ Show whole list of the loaded presets with "Print host upload"
2020-07-28 12:43:26 +02:00
2224f1cc3e ChangePresetForPhysicalPrinterDialog and SavePresetWindow are merged to SavePresetDialog 2020-07-27 20:06:10 +02:00
f4bdb355ee Fixed a typo 2020-07-23 12:44:08 +02:00
6018a3ef20 PhysicalPrinterCollection: Use select_preset() instead of select_preset_by_name()
+ changed signature for select_preset()
2020-07-23 12:17:18 +02:00
23b2e72526 PhysicalPrinters improvements:
- Added possibility to correct delete presets considering with the physical printers
- Smart switching to the printer preset if physical printer was selected
2020-07-20 14:56:09 +02:00
103ae14dfc Update for PresetComboBoxes
All "Printer-PresetName" pairs are like a separated items now

+ some code refactoring for PresetComboBoxes::update()
2020-07-17 14:32:38 +02:00
e6832d227c PhysicalPrinter : Next improvements:
* Create full printer name as a PrinterName + RelatedPresetName
 * Added printer model to the PhysicalPrinter.config => Enable to select just between presets with same printer model
 * When physical printer is selected and create new preset ask if should we use this preset for selected ph_printer or just to switch for it
2020-06-26 10:00:03 +02:00
114d9e55bf Physical Printers.
- save/load printers
 - consistency between selection on Tab and Plater
2020-06-24 08:50:01 +02:00
7bb4252dc5 First filling of the PhysicalPrinterDialog
+ Fixed scaling of the icons for the BitmapComboBoxes
 + Fixed calling of the blinking icons on the Tabs
2020-06-18 11:39:25 +02:00
a1eeb569db Preset and PresetBundle are moved to the _libslic3r_ folder 2020-06-16 17:03:06 +02:00
875c543205 Code refactoring:
- PresetCombpBoxes are extracted to the separate file.
- All preset icons are moved to the PresetComboBox from Preset and PresetBundle
- First "steps" to add physical printers to the printers list on the sidebar.
2020-06-16 12:57:49 +02:00
06dacd1c84 Editing of the custom GCodes like ColorChange and PausePrint 2020-06-07 22:42:54 +02:00
ffab25560c Removed obsolete LambdaObjectDialog.cpp/hpp, more include cleanups:
BedShapeDialog.hpp (needs not include) OptionsGroup.hpp
Tab.hpp            GUI_App.hpp
2020-05-27 14:01:48 +02:00