Commit Graph
100 Commits
Author SHA1 Message Date
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
YuSanka bc2088eb78 Add info for the removed "Print host upload" group 2020-10-16 16:30:46 +02:00
YuSanka 0f85777a79 UnsavedChangesDialog: Updated icons on "Discard" buttons
+ Put "exit" icon on "Quit" menu item
2020-10-16 13:21:23 +02:00
YuSanka 899d8fc361 Show "Merge" item of the context menu for multiple selection only for objects or instances 2020-10-16 11:01:27 +02:00
YuSanka 772b0b760e UnsavedChangesDialog
* Fixed a crash on preset changing and press Cancel button in SavePresetDialog
* Added Cancel button for MessageDialog after check "Remember my choice"

SplashScreen
* Set Version string in respect to the height of a Title string
2020-10-15 22:47:42 +02:00
YuSanka 00a7799341 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
YuSanka bcc23428fa 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
YuSanka bab808941e 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 e613eeed48 Fixed an Linux crash after switching between printer technologies 2020-10-07 09:56:48 +02:00
YuSanka d4309d9fa7 SplashScreen : Scale all font from default font 2020-10-06 19:38:46 +02:00
YuSanka 764565dbc3 Added info message about successfully save of the preset(s) modifications
+ more warnings fixes
2020-10-06 12:32:28 +02:00
YuSanka 19c267e890 Fixed non_MSW build
+ fixed some warnings
2020-10-06 11:15:50 +02:00
YuSanka e16fe96cc6 SplashScreen: Fixed font scaling 2020-10-06 10:33:27 +02:00
YuSanka f47ad1fd94 The scale of a splash screen is rewrote.
But now there is a problem with font scaling.
Function font.Scaled(val) return scaled system font from primary monitor.
That is why application's name and version has so strange scale.
2020-10-05 19:56:23 +02:00
YuSanka 52557b4263 Merge remote-tracking branch 'origin/ys_splashscreen_on_mac' 2020-10-03 03:18:01 +02:00
YuSanka 6255792181 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
YuSanka 48f775decb A part of code related to loads after App::OnInit() call is moved from PrusaSlicer.cpp to GUI_App.cpp
Splash Screen under OSX requires a call of wxYeild() for update.
But wxYield() furthers a case, when CallAfter() in CLI::run() was called at the wrong time, before some of the GUI was created.
So, there is workaround:
Parameters needed for later loads are encapsulated to GUI_App::AFTER_INIT_LOADS structure
and are used in GUI_App::AFTER_INIT_LOADS::on_loads which is called just ones after wxEVT_IDLE
2020-10-02 22:27:20 +02:00
YuSanka 8459d77959 Deleted use of TaskTimer in OnInit
+ code cleaning in MainFrame
2020-10-02 12:11:27 +02:00
YuSanka 3ec462e8f5 Fixed a crash when preset with "modified"suffix is selected 2020-10-02 09:02:16 +02:00
YuSanka 1fb400a091 use wxYield on mac to show the splashscreen 2020-10-02 08:32:44 +02:00
YuSanka 2bba0e3131 Physical printers: Implemented import/export to/from the ConfigBundle.
+ fixed a bug : Case sensitivity of printer's name wasn't check during the adding of a new printer,
as a result in printers list was appeared both of printers (ex. "YuSanka" and "yusanka"), but related file was just one.
2020-10-01 22:48:57 +02:00
YuSanka 13dcc3e7a0 OSX specific: Set SplashScreen as TopWindow 2020-09-29 08:39:57 +02:00
YuSanka b82de22caa SplashScreen improvements:
* Added MakeBitmap() to create a bitmap from input version image
 * Editor/Viewer logo is added now in SplashScreen::Decorate()
2020-09-28 20:41:51 +02:00
YuSanka 11a410b4e7 Updated SplashScreen
+ Increased gap_size for main and undo/redo toolbars
2020-09-25 11:02:54 +02:00
YuSanka 5243d3e53c Fixed crash on BedShapeDialog creation 2020-09-25 10:44:22 +02:00
YuSanka d5bd76776f 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 8fb3a44a4e 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
YuSanka 52e6050698 Fixed msw_scale() for Infill field 2020-09-23 09:35:30 +02:00
YuSanka fc3aa61dc4 Merge remote-tracking branch 'origin/master' into ys_optgroup_refact 2020-09-23 08:38:21 +02:00
YuSanka 9377013824 Fixed non-MSW builds 2020-09-23 08:33:16 +02:00
YuSanka 35d225d673 Fixed scaling on MSW for new OptionsGroup 2020-09-22 16:16:35 +02:00
YuSanka 398ff9053d Code refactoring of the OptionsGroup class:
Controls are created only for the active page now
2020-09-22 11:17:43 +02:00
YuSanka acdd5716bd SplashScreen: Fixed message text
UnsavedChangesDialog: Disabled "Move changes to selected preset" button, when printer technology is changed
PresetComboBox: Fixed color of the filament, if it is modified
2020-09-17 15:40:27 +02:00
YuSanka 6ac1935932 Updated "undo/redo" and "search' icons for the toolbar
* added "settings" and "search_blink" icons
 * suppress the icons scaling update when Plater is in the Preview mode
 * switched "layers_height" and "search" buttons in the toolbar
2020-09-14 17:25:47 +02:00
YuSanka a57fe34a76 Updated icons for the top bar
+ Added icon for "Seam editing"
2020-09-11 12:18:03 +02:00
YuSanka f1f9785a8a SplashScreen:
* Show it on the display same as an Application
 * Code refactoring : All related functions moved to the SplashScreen class
 * Add a possibility o hide/show splash scree in Preferences
2020-09-10 18:54:29 +02:00
YuSanka 6f0ace52c6 Merge remote-tracking branch 'origin/ys_splash_screen' 2020-09-08 16:13:54 +02:00
YuSanka 3c14d883a1 PhysicalPrinterDialog: Fixed memory leak 2020-09-08 16:11:01 +02:00
YuSanka 07499ff9d0 Fixed Scale on Linux 2020-09-08 15:20:12 +02:00
YuSanka 9ce3086f02 Splash screen : Try to fix scaling on Linux 2020-09-08 13:40:14 +02:00
YuSanka 1418b71541 Linux: Try to fix warning "Na handler for image type 15" 2020-09-08 09:12:40 +02:00