Commit Graph

31 Commits

Author SHA1 Message Date
dd1be104e6 ObjectList: Added separate icons for InfoItems 2021-08-12 15:02:24 +02:00
dd67e645ae Restored info icon replaced by mistake 2021-08-11 16:17:28 +02:00
3b2e10b981 Renamed 'MMU segmentation; to 'Multimaterial painting' 2021-08-10 11:26:46 +02:00
975876b49f DoubleSlider with MM-printer preset: When Object has "Paint-on segmentation", DoubleSlider has same behavior as with modifiers
+ MSW specific: Use BitmapComboBox instead of wxBitmapComboBox to DarkMode for extruder selectors
2021-08-09 13:38:48 +02:00
7b6a65eaea Merge branch 'master' into fs_QuadricEdgeCollapse 2021-08-02 09:04:15 +02:00
a471c21b25 Added sinking property item to objects list 2021-07-29 08:37:41 +02:00
56c5b85aa1 ObjectDataViewModel: Added function to add warning icon 2021-07-23 13:48:38 +02:00
769caa2e92 Replace with STL: Fixed update of the item name after replacing
+ OSX specific: Code refactoring for ObjectList:Rename() function
2021-07-14 09:22:03 +02:00
ffd33d6494 DarkMode for MSW (#6632)
* MSW specific: Dark Mode: First implementation

* Use menu instead of NoteBook

* Implemented MessageDialog
+ Fixed DarkMode for all dialogs and ColorPicker

* MSW DarkMode: Added missed updates for the switching between modes

* MSW DarkMode: Updated all existed context menus after switching of the mode
+ Added markers for the menu item witch is related to the selected tab

* Used wxFrame instead of wxDialog for SettingsDialog
(this change allow us to use menu bar in SettingsDialog)

+ fix for #6548 - Prusa Slicer 2.3.1 not activating non-modal settings window if settings window is minimized

* Implemented "Always use Dark mode colors" preference option

* Fixes for non_MSW build

* Next fixes for non-MSW builds

* Preferences: Fixed selection of the Settings Layout for non-MSW platforms
+ Updated DarkMode for colorpickers

* Windows DarkMode next fixes

* MSWDarkMode: Suppress to use system color to the PrusaSlicer
Select "Preferences -> Use Dark color mode (experimental)" to allow dark mode for the application

* Fixed MSW build

* MSWDarkMode: Upadteed color mode for ExtruderSequenceDialog and for dialogs related to the DoubleSlider

* Implemented Auto recreation of the PrusaSlicer when color mode is changed.

* Preferences: Added option "Set settings tabs as menu items (experimental)"
2021-06-18 19:46:04 +02:00
bea06e46a3 Show info about multi-material segmentation in ObjectList. 2021-06-16 06:06:33 +02:00
611b91bc1f Fixed DnD for "Model part" volumes inside the object
Fixed volumes order inside the object
2021-06-02 12:54:56 +02:00
32242f0217 Update extruder show/hide and default extruder color in respect to the volume type 2021-05-28 13:41:36 +02:00
4d1bce166c Fixed DnD function for volumes inside the object in respect to the volume type 2021-05-26 15:36:48 +02:00
e7454f4dc4 Linux specific: Fixed ObjectDataViewModel::GetColumnType()
When "string" type was returned, strange editing TextControl was appeared.
+ Added check of the selection for ObjectList::toggle_printable_state() function
2021-05-10 17:57:44 +02:00
d9053008ab Info in ObjectList: Added variable layer height 2021-04-19 16:10:40 +02:00
2be5cb8442 Info in ObjectList: Settings should be above the new info items, info items are selectable 2021-04-19 16:10:40 +02:00
06726145a5 Show info about custom supports and seam in ObjectList
Slight refactoring in GLGizmosManager so it is easier to open a gizmo from the ObjectList
2021-04-19 16:10:40 +02:00
3dd50c1373 Fixed rescale for nodes with itInstanceRoot | itLayerRoot types 2021-03-30 18:26:28 +02:00
31c7eacfbe Ys code refactoring (#6227)
* GUI_ObjectList code refactoring:
The MenuFactory structure contains functions related to the context menu and bitmaps used to different volume types.
The SettingsFactory structure contains functions to getting overridden options, its bundles and bitmaps used to setting categories.

Fixed bugs/crashes:
1. Add object -> Add Settings from 3D scene -> Right click on object => Part's Settings list instead of object's
   (Same behavior if something else but Object is selected in ObjectList)
2. Add settings to the part -> Change part type to the "Support Blocker/Enforcer" -> Settings disappears (it's OK) but =>
   Save Project -> Open project => Support Blocker/Enforcer has a settings
3. Add part for object -> Change type of part -> Change monitor DPI -> old type icon appears
4. Select all instances in ObjectList -> Context menu in 3D scene -> Add Settings -> Select some category -> Crash

* ObjectLayers: Fixed a crash on re-scaling, when some layer range is selected

* Fixed OSX build

* Added menu item "Split to Objects" for multipart objects

+ Fixed bug: Add 2 parts,
             Add some settings for one part
             Delete part without settings => Single part object without settings, but settings are applied for the object.

+ Next refactoring: use same menu for Plater and ObjectList
2021-03-15 10:04:45 +01:00
f968cfd2d5 Fixing Clang warnings 3 2021-02-08 17:52:29 +01:00
22ef17af54 Fixing Clang warnings 1 2021-02-08 17:52:29 +01:00
3bc30d868e Refactoring:
1. Use C++ style cast instead of C style
2. Deleted unused code from Search
2020-11-26 14:34:54 +01:00
d55c1e22ee MM print : Fixed re-scaling of the Extruders column in the Object list 2020-11-10 11:06:33 +01:00
0979b42079 Fixed a build under OSX 2020-08-06 10:56:14 +02:00
4395e6d74a Custom renderers extracted from the ObjectDataViewModel 2020-08-05 20:26:40 +02:00
dc8ce7c0f0 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
7f1c593634 Added missed icons for the dark mode.
Fixed typos from the previous commit
2020-05-22 17:05:21 +02:00
0bb1fb558b avoid calling GetHeight() on non-IsOk() icons
probably fixes #3837
2020-05-07 09:48:44 +02:00
35b59a3e13 Include cleanup in Plater, GLCanvas3D and GLGizmosManager 2020-03-03 15:53:26 +01:00
abd6d840ed Linux issue: fixed Object's DnD with sub items 2020-02-20 14:19:00 +01:00
530c586277 ObjectDataViewModel is extracted from wxExtentions to the separated file
+ parse_color function is moved to BitmapCache from PresetBundle
2020-02-02 22:22:40 +01:00