Commit Graph
100 Commits
Author SHA1 Message Date
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
YuSanka 2f43c1f3fa Fixed update of the TreeCtrls and "revert to system values" buttons on preset tabs, if application was run in New or Dlg mode 2020-07-22 15:52:01 +02:00
YuSanka f7119c42f4 PresetComboBox class:: code refactoring 2020-07-22 13:23:44 +02:00
YuSanka 6d28d68e4a PhysicalPrinter : Implemented synchronizations from user printer profiles with "Print Host upload" information to the new physical printers 2020-07-22 09:24:12 +02:00
YuSanka f138978fe7 Merge remote-tracking branch 'origin/master' into ys_ph_printers 2020-07-21 09:47:29 +02:00
YuSanka 6057fb9595 GUI_objectList: fixed typo in assert 2020-07-21 09:44:07 +02:00
YuSanka 3d990a9189 First try to convert a user printer profiles to the physical printers 2020-07-20 16:27:39 +02:00
YuSanka 72ec414f1e 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
YuSanka 5eac36a310 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
YuSanka c5197f3350 PhysicalPrinterDialog is completed 2020-07-14 15:34:08 +02:00
YuSanka 0b88e86634 PhysicalPrinter improvements:
* implemented PresetForPrinter class
2020-06-30 14:12:47 +02:00
YuSanka 6d4a0d91fc Fixed typo in PresetComboBox.hpp and added missed include in libslic3r.h 2020-06-26 16:58:53 +02:00
YuSanka 53b6c93ceb Fix of #4441
SearchDialog: Select first item in the lit, if search_list has at least one item
2020-06-26 13:45:54 +02:00
YuSanka d96b5f3606 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
YuSanka 1a2926050f PhysicalPrinter. PhysicalPrinterDialog improvements 2020-06-25 12:58:59 +02:00
YuSanka 8ac839f427 Physical printers: Delete selected printer
+ Added context menu for the cog-button near the printer presets
2020-06-24 12:28:00 +02:00
YuSanka 990bfc0d76 Fix of #4428
Don't update a visibility of the collapse_toolbar: if sidebar is collapsed and "show_collapse_button" doesn't have "true" value

 + Fixed typos in the Preferences.cpp
2020-06-24 11:29:09 +02:00
YuSanka 89035febfa Fixed includes 2020-06-24 09:20:04 +02:00
YuSanka 02624689ce Physical Printers.
- save/load printers
 - consistency between selection on Tab and Plater
2020-06-24 08:50:01 +02:00
YuSanka 7c7dcab032 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
YuSanka 19c4f32604 Preset and PresetBundle are moved to the _libslic3r_ folder 2020-06-16 17:03:06 +02:00
YuSanka 43e6e4f18c 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
YuSanka f23a275fbb Merge remote-tracking branch 'origin/custom_gcodes' 2020-06-10 11:23:05 +02:00
YuSanka 1713142670 Imperial units selection is added to the ConfigWizard 2020-06-10 11:18:11 +02:00
YuSanka bf9462749f Fixed Editing of the Template custom Gcode
Fixed reloading of the legend, when preview type was changed
2020-06-09 17:10:48 +02:00
YuSanka f74b1c6547 Added uncommitted changes 2020-06-08 12:36:42 +02:00
YuSanka befbd6b0fe Merge remote-tracking branch 'origin/master' into custom_gcodes 2020-06-08 12:27:29 +02:00
YuSanka 43cfd44864 Fixed export/import from/to amf and 3mf file. 2020-06-08 12:25:29 +02:00
YuSanka 629584e28f Editing of the custom GCodes like ColorChange and PausePrint 2020-06-07 22:42:54 +02:00
YuSanka 530786fca4 Object merge: fixed merge of the objects with changed rotation, scale and mirror
+ Fixed get_object_stl_stats()
2020-06-05 13:15:49 +02:00
YuSanka 9146ef2f61 Copy/Paste for the Settings and Layers in the ObjectList 2020-06-01 11:11:38 +02:00
YuSanka ba963ac404 Save a position and size of the settings dialog
+ Added a check of the printer technology inside can_merge_to_multipart_object() => suppress merge for the SLA printing
+ clear MainFrame.cpp from unused commented code
2020-05-28 14:38:56 +02:00
YuSanka 4b6bcd7028 Merge: Implemented merge to the separate object, when some instance is selected 2020-05-27 22:30:24 +02:00
YuSanka ee1942e4e9 Implemented merge of the objects to the one multi-part object
+ Implemented merge of the parts to the one object. But now this function doesn't used.

+ Fixed Model::looks_like_imperial_units()
2020-05-27 11:59:43 +02:00
YuSanka f78f5c85be MSW specific issue: Fixed scaling of the Tabs when They are in the separated dialog 2020-05-25 10:21:30 +02:00
YuSanka 7e88e20402 Fixed a bitmap getting for the case, when application was started in Light mode and then switched to the Dark 2020-05-25 09:41:19 +02:00
YuSanka c7ef1feaf0 Added missed icons for the dark mode.
Fixed typos from the previous commit
2020-05-22 17:05:21 +02:00
YuSanka a56bbea140 Reworked sys_color_changed() functions
Fixed OSX specific bugs:
- toolbar flashing for some mainframe sizes (Retina specific)
- size of mainframe when settings layout in slNew mode

Added missed icons to the "white" folder
2020-05-22 15:26:35 +02:00
YuSanka db32c1f15a Changed processing of a wxEVT_SYS_COLOUR_CHANGED event.
Only UI is updated. The application doesn't recreated now
2020-05-21 17:29:00 +02:00
YuSanka 4348b177d6 Added processing of a wxEVT_SYS_COLOUR_CHANGED event.
Deleted scale from ImGuiWrapper::load_svg(), because it's no needed and it makes icons bad scaled on Retina displays
2020-05-21 14:18:57 +02:00
YuSanka 8afd273c4b Implemented "from/to imperial units conversation" for loaded objects and volumes 2020-05-20 20:07:31 +02:00
YuSanka 0b60d45cf3 Typo fix for the commit https://github.com/prusa3d/PrusaSlicer/commit/fce1943b943b7ec7dff084221d2c2125d96f771f 2020-05-19 18:23:39 +02:00
YuSanka fce1943b94 OSX specific bug fixing 2020-05-19 17:00:41 +02:00
YuSanka 504066e64b Merge remote-tracking branch 'origin/ys_imperial_unit' 2020-05-18 16:01:10 +02:00
YuSanka 5c142ccfd6 Bug fixing:
OSX specific: 1. For slNew and slDlg settings layout modes main frame could be minimized to the ridicules size.
                 So, set size for the Plater (as a min(default) size for the wxPanel)
              2. model->Clear() invoke wxEVT_DATAVIEW_SELECTION_CHANGED. So, set prevent_list_events before this call.
              3. Added a rounding for the scale value

Fix of #4261 (for the English version was called GetValue for non-created check control)
2020-05-18 15:59:09 +02:00
YuSanka 5c1d73682d Search: Use wxDataViewCtrl instead of wxListBox.
Added icons as a markers of settings type
For slDlg settings layout mode added process of "Ctrl+F" shortcut
2020-05-15 15:47:15 +02:00
YuSanka 07f419f62b Fixed a place on tool toolbar for collapse_toolbar_width in respect to its enable 2020-05-12 23:34:08 +02:00
YuSanka e7f3206250 Auto scale of the toolbars in respect to the canvas size 2020-05-12 23:07:35 +02:00
YuSanka 1b8c7c4976 Added missed include 2020-05-12 09:46:23 +02:00
YuSanka 559f9279d9 Search: 1. The position of the search window is in the middle of the scene.
2. When "Search in English" is checked, then search in English names too.
3. Added score value at the end of option name -> [score_value]
4. Set focus to the Plater, when switch from some tab with focused field to the Plater and search window is shown.
5. For the mode, when settings are in non-modal dialog, neither dialog nor tabpanel doesn't receive wxEVT_KEY_UP event, when some field is selected.
   So, like a workaround we check wxEVT_KEY_UP event for the Filed and switch between tabs if Ctrl+(1-4) was pressed

+ PreferencesDialog: fixed a control of the difference in layout modes
2020-05-12 08:32:54 +02:00