Commit Graph
100 Commits
Author SHA1 Message Date
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
YuSanka 6dbc1ccf21 Added missed image for splash screen 2020-09-08 08:19:06 +02:00
YuSanka 5618293a28 Splash screen : implemented smart splash screen 2020-09-07 21:21:13 +02:00
YuSanka 902de849c0 Implemented class SplashScreen for using of text 2020-09-04 20:25:27 +02:00
YuSanka 9d786b5f88 Fixed non-MSW builds 2020-09-04 16:21:36 +02:00
YuSanka 486c07702c Added SplashScreen 2020-09-04 13:42:44 +02:00
YuSanka c8133b91b7 Code cleaning.
+ Use default DPIfont for wxHtmlWindows
2020-09-04 13:01:02 +02:00
YuSanka ba87a4fd9a Fixed rescale of the MainFrame/SettingsDialog after switching between settings layouts on the 2 monitors with different DPI 2020-09-04 10:08:54 +02:00
YuSanka c49221c621 Fix of Settings scaling when they are placed in non-modal Dialog 2020-09-03 15:40:14 +02:00
YuSanka 0f0c9a0726 OSX specific: UnsavedChangesDialog: Fixed strange ellipsis for items in DataViewCtrl 2020-09-03 10:44:54 +02:00
YuSanka cbe93815b2 Fixed layout after switching mode of settings layout 2020-09-03 09:27:53 +02:00
YuSanka 29f2ac3ad4 Merge remote-tracking branch 'origin/ys_unsaved_changes' 2020-09-02 09:44:31 +02:00
YuSanka 4d053cc4ee Merge remote-tracking branch 'origin/master' into ys_unsaved_changes 2020-09-02 09:15:11 +02:00
YuSanka d8487b1458 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 15545bbd90 Merge remote-tracking branch 'origin/master' into ys_unsaved_changes 2020-08-19 15:44:24 +02:00
YuSanka 8af49d7d87 Code refactoring for last commit 2020-08-19 15:35:58 +02:00
YuSanka 15285a68a0 BedShape is extracted to the separate structure 2020-08-19 13:04:51 +02:00
YuSanka 4641d44544 UnsavedChangesDialog : improvements
* Processed changes in options with nullable values
* Processed changes on the extruders count
2020-08-18 16:49:06 +02:00
YuSanka e050fb68bf Fixed UI changing update for "Ramming" parameter 2020-08-17 15:13:18 +02:00
YuSanka 618f04717f Unsaved Changes : improvement for the GUI_App::check_unsaved_changes()
Added use of UnsavedChangesDialog
2020-08-14 18:17:16 +02:00
YuSanka 8f15efbf9a Merge remote-tracking branch 'origin/master' into ys_unsaved_changes 2020-08-13 15:46:17 +02:00
YuSanka d7176c64bd 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
YuSanka 830d89576c 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 491e7b16f9 Fixed build under GTK 2020-08-13 08:20:22 +02:00
YuSanka 79ba488d5d Merge remote-tracking branch 'origin/master' into ys_unsaved_changes 2020-08-12 17:36:04 +02:00
YuSanka a81e3ee224 UnsavedChangesDialog : implemented "Save" function 2020-08-12 17:33:22 +02:00
YuSanka 32595f7659 Fixed scaling of the SavePresetDialog under MSW
+ fixed misunderstanding typo in PlaterPresetComboBox
2020-08-12 16:13:29 +02:00
YuSanka 6dafdc5bab Fixed rescaling under MSW 2020-08-12 13:36:26 +02:00
YuSanka a71ef4dd61 Merge remote-tracking branch 'origin/master' into ys_unsaved_changes 2020-08-11 16:12:00 +02:00
YuSanka a6a5025a76 Fixed a crash
appeared when we try to update PlaterPresetComboBox for empty selected preset.
2020-08-11 15:48:49 +02:00
YuSanka cb407e46e5 Fixed color update under GTK
+ FullCompareDialog : Use SetStile instead of SetForegroundColour for the wxTextCtrls
2020-08-11 10:37:08 +02:00
YuSanka 6a33c967cf Fixed GTK build 2020-08-11 09:17:52 +02:00
YuSanka 058e024d2d Implemented FullCompareDialog for show long string values
+ fixed build under GTK
2020-08-10 19:17:16 +02:00
YuSanka 11c22e7fb2 Fixed Linux build 2020-08-10 11:41:19 +02:00
YuSanka f87ca111e1 GTK specific: Use the wxDataViewIconTextRenderer instead of the DataViewBitmapRenderer for "Old/NewValue" columns too.
+ update ofthe enabling for the "Save/Move" buttons
2020-08-10 11:24:31 +02:00
YuSanka 8b74ae4568 Use the wxDataViewIconTextRenderer instead of the DataViewBitmapTextRenderer under GTK 2020-08-10 09:45:32 +02:00
YuSanka f9e47b2702 Code refactoring: AppConfig.cpp(hpp) are removed from the GUI to libslic3r 2020-08-08 17:03:20 +02:00
YuSanka c4569c93f2 UnsavedChangesDialog: Fixed get_string_from_enum() in respect to the InfillPattern 2020-08-07 15:09:58 +02:00
YuSanka 08576ad746 UnsavedChangesDialog :: Toggle column is on first place now 2020-08-07 10:21:20 +02:00
YuSanka e709c49e17 Merge remote-tracking branch 'origin/master' into ys_unsaved_changes 2020-08-07 10:04:55 +02:00
YuSanka b6746a3937 PhysicalPrinterDialog : Incompatible presets extracted to the separate group 2020-08-07 10:00:54 +02:00
YuSanka dae37a8c0d Merge remote-tracking branch 'origin/ys_ph_printers' 2020-08-06 17:13:08 +02:00
YuSanka a6dc3d37f5 Merge remote-tracking branch 'origin/master' into ys_ph_printers 2020-08-06 17:02:48 +02:00
YuSanka 94efb5185b One more experiment 2020-08-06 16:54:14 +02:00
YuSanka 3688ae350b Added missed includes for GTK 2020-08-06 16:28:12 +02:00
YuSanka 4913378dbe Changed signature of the BitmapTextRenderer
+ Added experimental code for the rendering of the "markuped" text
2020-08-06 15:54:12 +02:00
YuSanka 1079d4644c PhysicalPrinterDialog improvements : Printer device default name is changed to force the user to change it
SavePresetDialog : Fixed OSX bug, when wxEVT_TEXT wasn't invoked after change selection in ComboBox
2020-08-06 10:40:04 +02:00
YuSanka 6ee804f466 Merge remote-tracking branch 'origin/master' into ys_unsaved_changes 2020-08-06 08:51:13 +02:00
YuSanka 93c1671e09 Custom renderers extracted from the ObjectDataViewModel 2020-08-05 20:26:40 +02:00
YuSanka 1674d2af29 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
YuSanka 3cf2914a9e UnsavedChangesDialog:
first implementation
2020-07-30 16:16:56 +02:00
YuSanka 5eb3b21be7 Added missed icons/tick_mark.svg 2020-07-30 09:45:45 +02:00
YuSanka d84e70f59a SavePresetDialog: Fixed OSX and Linux build
+ Added scaling of the validation icons
2020-07-30 09:43:13 +02:00
YuSanka 96a364c3e6 SavePresetDialog: Improvements 2020-07-29 16:05:30 +02:00
YuSanka 3c3e463f50 Merge remote-tracking branch 'origin/master' into ys_ph_printers 2020-07-28 14:14:16 +02:00
YuSanka 68ae95509f 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
YuSanka 924bda6ec0 ChangePresetForPhysicalPrinterDialog and SavePresetWindow are merged to SavePresetDialog 2020-07-27 20:06:10 +02:00
YuSanka b155c3c4f8 PhysicalPrinterDialog :: next improvement 2020-07-24 16:34:25 +02:00
YuSanka 0280a2a15b Hot fix for the last commit 2020-07-24 13:02:46 +02:00
YuSanka fd50c3d262 Fixed a bug in selection from the 3D scene.
Steps to the reproduce a crash:
1. In SLA mode add some object with several instances
2. Slice
3. Back to 3Dview scene, select all using Ctrl+A
4. Press "Delete"
2020-07-24 11:21:49 +02:00
YuSanka 257e77ed40 Fixed a typo 2020-07-23 12:44:08 +02:00
YuSanka a4c12b90f1 PhysicalPrinterCollection: Use select_preset() instead of select_preset_by_name()
+ changed signature for select_preset()
2020-07-23 12:17:18 +02:00
YuSanka 299b783601 PhysicalPrinterDialog: Select first related preset for the printer, if printer was just created or previously selected preset doesn't exist now 2020-07-22 16:28:34 +02:00
YuSanka 631b15b7d3 Merge remote-tracking branch 'origin/master' into ys_ph_printers 2020-07-22 15:53:31 +02:00