Commit Graph
100 Commits
Author SHA1 Message Date
YuSanka 8bfb2a4eef Fix of #5315 - Height Slider heights are too squished
+ some code refactoring
2020-12-11 15:58:10 +01:00
YuSanka aaaa85c1f8 Fix of #5007 - "Reload from disk" causes objects converted to inches to revert to mm 2020-12-11 13:57:58 +01:00
YuSanka fbf2978190 Fix of #5008 - Cut tool uses mm when object is converted to inches
+ Localization: Updated MO for PT_BR
2020-12-10 08:31:24 +01:00
YuSanka 935725b27b Fixed debug assert, when add ColorChange on DoubleSlider
(vase mode specific issue)
2020-12-09 15:04:43 +01:00
YuSanka a2494689b9 Localization : fixed a typo 2020-12-09 13:23:36 +01:00
YuSanka bbb56e516e Suppress to save the preset with the name started/ended with space character (related to #5291) 2020-12-09 13:16:03 +01:00
YuSanka 9892394eb0 Fix for "Import config bundle with physical printers" (#5393) 2020-12-09 12:46:26 +01:00
YuSanka 3cbb19bd73 Added info notification, when Color Change G-code is empty and user try to add color change on DoubleSlider. 2020-12-09 11:36:56 +01:00
YuSanka 5a9e94e67d Fix for #5142 2020-12-09 10:23:39 +01:00
YuSanka f0e02ea5d0 Localization: Updated dictionaries CZ, DE, ES, FR, IT, NL, PL 2020-12-09 08:51:22 +01:00
YuSanka 661ad1735b Changed layout for for the Preferences Dialog (related to #5381)
+ Fixed #5312
+ Deleted unused now EVT_TAB_VALUE_CHANGED and EVT_TAB_PRESETS_CHANGED
2020-12-08 17:10:17 +01:00
YuSanka 90248bffa5 Parameter "G-code thumbnails": check value for the out of range 2020-12-08 13:29:47 +01:00
YuSanka 3134359505 OSX specific: Fixed shortcut "Cmd+M" 2020-12-08 12:27:39 +01:00
YuSanka d7412d4e54 Increase min height for the ObjectList.
Related to the FR #5162
2020-12-08 10:11:11 +01:00
YuSanka 2a44fbefd6 Don't ask about inches if we load project file (3mf or amf). #5006 2020-12-07 19:36:54 +01:00
YuSanka acd1782910 In AboutDialog added "Copy Version Info" button (FR #4990) 2020-12-07 19:04:09 +01:00
YuSanka 7e3d8c3142 Fixed localization for the name of Infill pattern
(hot fix for the b27e18c970)
2020-12-07 18:40:10 +01:00
YuSanka 042bfe6be4 Fixed localization for "Compatible presets" dialog. Relate to issue #4975 2020-12-07 17:31:46 +01:00
YuSanka 569200eb99 Added "G-code thumbnails" parameter to the Printer Settings tab 2020-12-07 16:42:20 +01:00
YuSanka fe18ce16fb MSW specific: Fixed assert "Assert failure" failed in
wxPaintDCImpl::wxPaintDCImpl(): wxPaintDCImpl may be created only in EVT_PAINT handler
2020-12-07 12:18:47 +01:00
YuSanka 72911243a7 Fixed wrong selection, when try to change printer preset from logical to physical and then in UnsavedChangesDialog select "Cancel" 2020-12-04 21:23:12 +01:00
YuSanka f7b32258aa UnsavedChangesDialog: Fixed a crash when we trying to switch a profile after importing of the 3mf
+ Fixed typo in "__linux__"
2020-12-04 17:16:08 +01:00
YuSanka 497412fcf4 Delete whole object, when all instances are selected. Fix for #5191 2020-12-04 14:19:51 +01:00
YuSanka e40ed644c8 Show the PrintHostDialog on the same display as an application window. Probably, fix for #5044 2020-12-04 13:34:44 +01:00
YuSanka e610d2d2f6 Localization: Fixed some phrases. Updated POT and NL dictionary. 2020-12-04 13:08:48 +01:00
YuSanka 6124f677ae Suppressed a check of printer_presets for the containing information about "Print Host upload", when presets ate exported from the amf/3mf 2020-12-03 13:25:23 +01:00
YuSanka b251fea5fe Typo fix for https://github.com/prusa3d/PrusaSlicer/commit/b9c53adddb13f7db37579b741211823f8c2e1dfc 2020-12-03 11:31:15 +01:00
YuSanka 7afef2bbb5 OSX specific: Hot fix for the https://github.com/prusa3d/PrusaSlicer/commit/c503a4e424214a049dd630401efeb1ed165706cf 2020-12-03 10:40:17 +01:00
YuSanka c503a4e424 Increased width for Infill ComboBox and EditCtrls from Manipulation panel on right panel
+ Added updated POT-file
2020-12-03 10:35:21 +01:00
YuSanka b9c53adddb Linux specific, dark mode: Fixed a black text on a black background for the view mode buttons. 2020-12-02 11:58:08 +01:00
YuSanka 3e0ce8a054 Localization: Updated RU dictionary 2020-12-01 18:24:51 +01:00
YuSanka 9d34d350a5 Localization: Update POT
+ Fixed translation for the "Extruder n" category on the Printer Settings Tab
 + Fixed a crash, when scrolling inside Search imGui with some localization (e.t. Russion)
2020-12-01 16:44:53 +01:00
YuSanka 7e33047804 UnsavedChangesDialog: Linux specific: Made a first column wider
+ Field: Made def_width() wider
2020-11-30 13:48:22 +01:00
YuSanka 7ab1fcaa5c Fixed update after editing for "infill_ancor" and "infill_ancor_max" parameters.
* Update value only if it is changed
* Show info dialog (suggestion to change mm to %) only when parameter value is bigger than 100
2020-11-28 01:18:58 +01:00
YuSanka b71c001845 Fixed suppress scrolling for preset comboboxes and some comboboxes on right panel on all platforms 2020-11-27 14:58:51 -08:00
YuSanka 7f22ce63f6 Refactoring:
1. Use C++ style cast instead of C style
2. Deleted unused code from Search
2020-11-26 14:34:54 +01:00
YuSanka 9bb0848d27 PhysicalPrinterDialog: Fixed editing of the SLA physical printers
Bug repro:
1. Create sla physical printer.
2. Close dialog.
3. Open dialog to edit printer -> in preset combobox is selected fff printer preset
2020-11-25 22:48:12 +01:00
YuSanka 32c60b070e Hot fix for https://github.com/prusa3d/PrusaSlicer/commit/9305535039e1b411f777b745265d6f1d100ea95f 2020-11-25 21:18:51 +01:00
YuSanka 275bc52fdf Suppress scroll for SLA support and pad settings on the right panel 2020-11-25 20:13:26 +01:00
YuSanka 9305535039 OSX and Linux specific: Fixed preset selection 2020-11-25 20:13:26 +01:00
YuSanka 77f845b0be Added a possibility to suppress scrolling for some ComboBoxes 2020-11-24 18:44:13 +01:00
YuSanka 10c41290fd DoubleSlider: Fixed ruler for the short objects 2020-11-24 15:14:04 +01:00
YuSanka 250bd689f2 Fix for #5231. Suppress scrolling for the PresetComboBoxes when they aren't dropped. 2020-11-24 15:14:04 +01:00
YuSanka b2951cb43e Added "Remember my choice" checkbox to the message dialog after first clicking on parameter label in Settings tabs 2020-11-24 10:04:00 +01:00
YuSanka 2e0e63fed8 Tooltips for the parameters labels on Settings tabs are back 2020-11-21 18:16:34 +01:00
YuSanka b7abe7dfa9 Added "Suppress to open hyperlink in browser" parameter in Preferences 2020-11-20 18:46:34 +01:00
YuSanka 9f30ea535a Windows specific: Fixed layout of fields inside the OG_CustomCtrl 2020-11-20 17:27:44 +01:00
YuSanka bca000a739 Font of the DoubleSliders is changes to default (#5121) 2020-11-20 17:27:44 +01:00
YuSanka 5330b34d0a Added "Filament -> Spool weight" parameter 2020-11-20 14:31:11 +01:00
YuSanka 5144feb319 Estimated printing time per layer for SLAPrint
Split the time if it's needed
2020-11-19 21:41:51 +01:00
YuSanka 4cc3e939da Localization: Update for the CZ, DE, ES, FR, IT and PL languages 2020-11-18 17:25:05 +01:00
YuSanka 03b336145f Updated UI for the "infill_anchor" parameter 2020-11-18 17:00:08 +01:00
YuSanka feffb66085 Ruler for DoubleSlider: Added estimated print time 2020-11-18 05:02:51 -08:00
YuSanka cb844a4034 DoubleSlider's ruler is implemented in respect to the use with sequential printing of objects 2020-11-18 05:02:51 -08:00
YuSanka 6e748f2e4a Implemented ruler for the vertical DoubleSlider 2020-11-18 05:02:51 -08:00
YuSanka 5be9d42519 Localization, new POT 2020-11-18 12:30:00 +01:00
YuSanka a9f6e6da9d Changed layout of the "Machine limits" settings tab 2020-11-18 12:08:09 +01:00
YuSanka 172c1bbab7 Fix the typo in 932dfb4fca
The resize of the Spincontrol was wrong placed in the code
2020-11-12 21:43:21 +01:00
YuSanka d962d431c0 Localization:
* added missed phrases
* fixed some phrases
* updated POT-file and PO/MO-files for the CZ-translation
2020-11-12 21:35:39 +01:00
YuSanka 932dfb4fca GTK3 specific : Fix of #5053 2020-11-12 15:33:24 +01:00
YuSanka 353536ab86 Physical printers dialog: Update Test button in respect to the inputted printhost 2020-11-12 15:24:47 +01:00
YuSanka 4eded76136 Custom controls : The width for full_width fields is updated according to the custom control width
(thanks to the @supermerill for the mention on it, https://github.com/prusa3d/PrusaSlicer/pull/5135/commits/6acf6bdf2110b3a8b7c54a0450ae1437176d2027)

+ Deleted redundant background color, as mentioned in the #5062
2020-11-12 10:13:16 +01:00
YuSanka a2b915af0f Fixed of #5081
Width of sub-label is calculated by using of GetTextExtent() instead of PaintDC->GetMultiLineTextExtent, because of PaintDC is not OK sometimes.
For example on GTK3 PaintDC->IsOk() only, when it's using in a native paint event
see https://github.com/wxWidgets/wxWidgets/blob/master/src/gtk/dc.cpp, line 346
2020-11-11 12:04:15 +01:00
YuSanka e20d8f1623 MM print : Fixed re-scaling of the Extruders column in the Object list 2020-11-10 11:06:33 +01:00
YuSanka 8448d1a1dc OSX specific : Set top border for the mode buttons, when settings pages has new layouts
(when tabs bar is hidden)

+ Code cleaning for OG_CustomCtrl (delete unused input parameter from the draw_blinking_bmp())
2020-11-06 16:24:03 +01:00
YuSanka 1492bc9cd5 Localization : Next phrases corrections and update for PrusaSlicer.pot 2020-11-06 12:14:19 +01:00
YuSanka a131217ada Added missed parent for the SysInfoDialog
see https://github.com/prusa3d/PrusaSlicer/commit/f0a339758b157d4c8a13f38e1bbb27c4dc28c460
2020-11-05 22:19:48 +01:00
YuSanka ed2f03ec79 Localization:
Some phrases are corrected in the code
The POT-file is updated
2020-11-05 22:17:49 +01:00
YuSanka f0a339758b Fixed a Dialog position under OSX
Always set parent for the Dialog, if we want to see the Dialog in the same display as a parent.
Dialog will be shown in the primary monitor otherwise.

+ fixed a draw of the canvas legend when we move application between Retina and non-Retina displays
2020-11-05 11:53:16 -08:00
YuSanka ea5fdcd7b1 Removed cog icon from the horizontal slider.
+ Shortcut "Shift+G" works from the Preview canvas now (not just from the focused slider as before)
2020-11-04 07:30:33 -08:00
YuSanka 11ee0cc2cc Hot-fix for my last commit (https://github.com/prusa3d/PrusaSlicer/commit/d576c029bdbbe1adbefb1f34f14adab8020aee32) 2020-11-04 13:14:57 +01:00
YuSanka d576c029bd CustomCtrl : fixed correction of the CustomCtrl's line height in respect to the height of the inside controls (fields or widgets)
Issue was appeared on the Ubuntu 20.04
2020-11-04 10:17:32 +01:00
YuSanka 4d7b5d4451 "Sequential slider applied only to top layer" parameter from the Preferences is applied just for the horizontal slider now 2020-11-03 15:45:23 +01:00
YuSanka 1c1b1bc019 Custom control : Fixed un-hovering for labels, which work as a hyperlinks 2020-11-03 13:40:49 +01:00
YuSanka 0a3109030e PhysicalPrinterDialog : fixed layout in update() 2020-11-02 22:04:40 +01:00
YuSanka 186d408cf4 Big code cleaning
Deleted all unused code
2020-11-02 06:48:30 -08:00
YuSanka a87ec980a7 Hot fit for last commit : use "en" language marker, when "translation_language" wasn't saved to the AppConfig 2020-11-02 06:48:30 -08:00
YuSanka b2700a8ac6 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 32b8be600c 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 4dc78a424e Custom controls : OSX-specific fix. Get bitmap height in respect to the scaling on Retina 2020-11-02 06:48:30 -08:00
YuSanka e05080c53b Fixed update of the field related to the "extruders_count" parameter after printer preset change 2020-11-02 06:48:30 -08:00
YuSanka 1c22d788aa Custom control : Implemented blinking icon 2020-11-02 06:48:30 -08:00
YuSanka 4f5efc99fb 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 e93e80166b Custom control : fixed re-scaling for MSW 2020-11-02 06:48:30 -08:00
YuSanka 1b3c288b35 Custom control : Implemented update items visibility in respect to the mode 2020-11-02 06:48:30 -08:00
YuSanka 534a2f5d33 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 7022fb0891 Fixed position for all controls from the settings tabs 2020-11-02 06:48:30 -08:00
YuSanka f1a74367ed Choice field: Use wxComboBox instead of wxBitmapComboBox for non-OSX platforms 2020-11-02 06:48:30 -08:00
YuSanka 74d6aea4d4 Custom control: first implementation 2020-11-02 06:48:30 -08:00
YuSanka d29a82e944 Fixed https://github.com/prusa3d/PrusaSlicer/commit/493cdbd0692bea01bbe4257b262ac1c63a550d43
Instead of "sep" should be used "\t" to the "Shift"-part will not be spoiled
2020-10-26 09:18:04 +01:00
YuSanka 493cdbd069 Added shortcut ("Shift+Tab") for the menu item "Collapse sidebar" 2020-10-25 15:10:51 +01:00
YuSanka 0f9faeda98 Fixed conversion from/to imperial units for objects with parts/modifiers 2020-10-22 15:45:17 +02:00
YuSanka ffd09892f9 DoubleSlider : Fixed motion of the upper thumb, when no one thumb is active 2020-10-21 13:17:07 +02:00
YuSanka a4962b4fe6 Fixed a build 2020-10-20 17:23:57 +02:00
YuSanka 981feebc94 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 36cb544e5b Fix of #4909
Deleted redundant control of the mode update. We should update DoubleSlider's mode every time
2020-10-20 11:17:51 +02:00
YuSanka 0f8f412e90 Fixed #4918
Added missed "Add/Remove filaments" item for the filament preset combobox
2020-10-19 15:10:14 +02:00
YuSanka 11b6d4bcf5 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 9fdaa1bdbe Fixed typo in https://github.com/prusa3d/PrusaSlicer/commit/8a1eba5a098d827b40c9c674b2c4b671c1c06006 2020-10-19 10:08:21 +02:00
YuSanka a61d0a9532 Suppress edit of items of UnsavedChangesDialog, fixed update of the information line
+ added white version for icons "exit" and "switch_presets"
2020-10-18 13:44:15 +02:00