Commit Graph

407 Commits

Author SHA1 Message Date
YuSanka
924ce0b52c Custom control : Bug fixing
* OG_CustomCtrl is inherited from the wxPanel instead of the wxControl now.
  As a result, Tab-key is working now for the fields inside the custom control
* Open localized web-page if any exist for labels

+ Fixed update of icons inside the PresetComboBoxes after switching between Dark/Light modes
2020-11-02 06:48:30 -08:00
YuSanka
380b23eaee Custom control: Fixed bitmaps layout under OSX
+ Implemented hyperlinks for parameters labels to the help page
2020-11-02 06:48:30 -08:00
YuSanka
b191c27acc Fixed update of the field related to the "extruders_count" parameter after printer preset change 2020-11-02 06:48:30 -08:00
YuSanka
7fbf560ac6 Custom control : Implemented blinking icon 2020-11-02 06:48:30 -08:00
YuSanka
78efa187e3 Custom control : Action buttons are "alive" now
- show tooltips for buttons
- LBtnClick invokes revert functions for the field
2020-11-02 06:48:30 -08:00
YuSanka
819c780401 Custom control : fixed re-scaling for MSW 2020-11-02 06:48:30 -08:00
YuSanka
4c4fc77bda Custom control : Fixed color of the colored label, associated with option, which doesn't have a corresponded field 2020-11-02 06:48:30 -08:00
YuSanka
bdaf5fa4b9 Behavior of the "cog" icon is changed to avoid misunderstandings appear in issue #4891:
"Cog" icon is enabled now every time, but it will had next behavior:
1. Add physical printer, if logical printer is selected
2. Edit physical printer, if it is selected.

 + PresetComboBox: Fixed the black rectangle instead of icon for the "Add/Remove presets" item
2020-10-20 16:38:13 +02:00
YuSanka
5e09de9abf Localization: Updated POT and List.txt
+ SavePresetDialog class is extracted from the PresetComboBoxes.cpp the the separate files
2020-10-19 14:18:02 +02:00
YuSanka
2c5a652e36 Add info for the removed "Print host upload" group 2020-10-16 16:30:46 +02:00
YuSanka
3bae4fcad2 UnsavedChangesDialog : improvements
* Added "Remember my choice" checkbox
* Center on the screen and set position in respect to the position of mainframe or settings dialog

Preferences : Added checkboxes for enable/suppress showing of the UnsavedChangeDialog

SearchImGui : close after parameter selection_is_changed_according_to_physical_printers

PhysicalPrinterDialog, SavePresetDialog : Center on the screen
2020-10-15 16:53:14 +02:00
lukasmatena
c12f0db22c Merge pull request #4747 from wavexx/monospaced_gcode
Use monospaced fonts in gcode sections
2020-10-10 14:01:48 +02:00
YuSanka
7ba50136f1 UnsavedChangesDialog : added correct icons for the categories
+ fixed a crash when try to save changes for the SLA printer preset
2020-10-08 09:25:14 +02:00
Lukas Matena
c9eab706a8 Fixed updating of pages on startup, reverted changes from b17c829
The second commit should be no longer needed, the CallAfter cause crashes on Linux when switching technologies
2020-10-07 16:16:37 +02:00
YuSanka
41583b2039 Fixed redundant call of Tab::select_active_page(),
when printer technologist is changed

 + Some code cleaning:The code commented as experimental and unused is deleted
2020-10-07 11:52:51 +02:00
YuSanka
d05fc0117f Fixed an Linux crash after switching between printer technologies 2020-10-07 09:56:48 +02:00
YuSanka
ef5a2822db Fixed non_MSW build
+ fixed some warnings
2020-10-06 11:15:50 +02:00
Vojtech Bubnik
cb72928d48 Typo in machine limits usage text. 2020-10-06 11:08:08 +02:00
YuSanka
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
bubnikv
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
YuSanka
db754ce870 Deleted use of TaskTimer in OnInit
+ code cleaning in MainFrame
2020-10-02 12:11:27 +02:00
YuSanka
265b556507 Fixed a crash when preset with "modified"suffix is selected 2020-10-02 09:02:16 +02:00
Vojtech Bubnik
fddbd20570 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-10-01 20:12:50 +02:00
bubnikv
c53e14d6d4 Fixing a missing include on Windows. 2020-10-01 20:15:40 +02:00
Vojtech Bubnik
75bc8f6d2c Merge branch 'vb_optgroup_refact' 2020-10-01 20:05:31 +02:00
bubnikv
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
Vojtech Bubnik
c2db7ff6fb Fixed crash on Linux on startup 2020-10-01 19:16:23 +02:00
bubnikv
cfe305a97a Refresh the page tree immediately after key press. 2020-09-29 14:47:03 +02:00
bubnikv
21a75575f3 Cancellation of parameter page build process. 2020-09-29 13:36:56 +02:00
bubnikv
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
YuSanka
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
YuSanka
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
Vojtech Bubnik
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
YuSanka
dfaf3c5c97 Fixed scaling on MSW for new OptionsGroup 2020-09-22 16:16:35 +02:00
YuSanka
9b1ae700e8 Code refactoring of the OptionsGroup class:
Controls are created only for the active page now
2020-09-22 11:17:43 +02:00
Yuri D'Elia
4712e71db7 Format all G-code sections as code 2020-09-13 02:37:05 +02:00
YuSanka
d5b16a182e Fix of Settings scaling when they are placed in non-modal Dialog 2020-09-03 15:40:14 +02:00
YuSanka
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
YuSanka
b7f7c6846d UnsavedChangesDialog : improvements
* Processed changes in options with nullable values
* Processed changes on the extruders count
2020-08-18 16:49:06 +02:00
YuSanka
1365a1908a Fixed UI changing update for "Ramming" parameter 2020-08-17 15:13:18 +02:00
YuSanka
adfcf0c47e Unsaved Changes : improvement for the GUI_App::check_unsaved_changes()
Added use of UnsavedChangesDialog
2020-08-14 18:17:16 +02:00
YuSanka
cc92c90448 Merge remote-tracking branch 'origin/master' into ys_unsaved_changes 2020-08-13 15:46:17 +02:00
YuSanka
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
tamasmeszaros
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
YuSanka
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
YuSanka
d881079d1a Fixed build under GTK 2020-08-13 08:20:22 +02:00
YuSanka
41fa254e42 UnsavedChangesDialog : implemented "Save" function 2020-08-12 17:33:22 +02:00
YuSanka
558688c866 Implemented FullCompareDialog for show long string values
+ fixed build under GTK
2020-08-10 19:17:16 +02:00
YuSanka
e7f21d1e0e Merge remote-tracking branch 'origin/master' into ys_ph_printers 2020-08-06 17:02:48 +02:00
YuSanka
5dff085b4f Merge remote-tracking branch 'origin/master' into ys_unsaved_changes 2020-08-06 08:51:13 +02:00