Commit Graph

68 Commits

Author SHA1 Message Date
YuSanka
d83b2e0d3d ObjectList: Fixes
* Fixed update of a warning icon for multi-part object, when some part with errors was deleted
 * Fixed a crash when selecting non-Object and non-Volume item (in get_mesh_errors_info() was missed check of the obj_idx)

+ Follow-up 1cc7b4ba97 - some code refactoring:
  * fixed RepairedMeshErrors.merge()
  * get_mesh_errors_count() renamed to get_repaired_errors_count()
2021-10-06 17:24:40 +02:00
YuSanka
37b45d048c Improvements for statistics information:
+ Show 2 groups of errors: "Auto-repared" and "Remaning".
 + Use different icons for volumes with/without remaining errors
 + Fixed update of the ObjectList warnings icons after switch the color mode of a PrusaSlicer
 + Some code refactoring: Use same code for tooltips for "exclamation"-icon from an ObjectList and from a Sidebar->ObjectInfo
2021-09-21 17:20:12 +02:00
Oleksandra Yushchenko
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
YuSanka
845391ecef Implemented #4931 - Added colored background for the Manipulation panel, if
option "Use colors for axes values in Manipulation panel" is enabled in Preferences -> GUI
+ Fix one more compilation warning in UnsavedChangesDialog.cpp
2021-02-09 16:04:03 +01:00
YuSanka
940d39bd12 wxBitmapComboBox under OSX and wxComboBox under other platforms is used on Manipulation panel for coordinate space choice now.
+ Fix of warning on wxBitmap.SetWidth(): deleted meaningless from wxWidgets 3.0 code
2021-01-20 17:34:54 +01:00
Lukas Matena
802a58cdb4 Include cleanup: GUI_ObjectManipulation.hpp, GUI, GUI_Preview 2020-05-26 13:45:36 +02:00
YuSanka
6b2c67c7b0 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
26e1d15d61 Fixed OSX build 2020-05-05 20:40:31 +02:00
YuSanka
ced8e42504 Imperial units: Implemented just for the object's position and size 2020-04-29 19:10:13 +02:00
YuSanka
5100256201 Fixed OSX build 2019-10-09 13:15:03 +02:00
YuSanka
c826fd9449 Some changing in implementation of emulate_kill_focus according to new code architecture.
+ Cleaning of the code from unused parts
2019-10-09 11:24:28 +02:00
YuSanka
df4e1dc325 Some changes for alignments in manipulation panel 2019-09-25 15:04:39 +02:00
YuSanka
0e5c18aa6a Add binding for ManipulationEditors 2019-09-25 11:25:05 +02:00
YuSanka
8b5864a5fa Rewrote UI for ObjectManipulation without using of OptionsGrope 2019-09-18 15:10:36 +02:00
Lukas Matena
70a475d8f6 Revert "Changed snapshot names for reset rotation/reset scale/drop to bed functions"
This reverts commit 1ca8ff1285.
2019-08-01 12:23:39 +02:00
Lukas Matena
1ec055cbd8 Changed snapshot names for reset rotation/reset scale/drop to bed functions 2019-08-01 10:58:52 +02:00
Lukas Matena
7993ffa1e5 Added 'drop to bed' button into object manipulation panel 2019-06-19 11:04:12 +02:00
Lukas Matena
0610d209ed Reset buttons - fixed rotation of instances with multiple volumes
Mirroring buttons now hide where appropriate
2019-06-14 15:28:09 +02:00
Lukas Matena
e9b7479a7b Added mirroring buttons into object manipulation panel 2019-06-14 15:03:42 +02:00
Lukas Matena
a4d0632a05 Added transformation reset buttons in object manipulation panel 2019-06-14 15:03:42 +02:00
bubnikv
09673970f7 Merge remote-tracking branch 'remotes/origin/master' into vb_wold_object_manipulation 2019-05-03 19:13:47 +02:00
bubnikv
50758c4cd0 Changed the "non-uniform scaling is not possible" message. 2019-05-03 12:36:26 +02:00
YuSanka
ac117b2e32 Fixed typo 2019-05-02 09:54:18 +02:00
YuSanka
8d6dc63c2f Changed update_warning_icon_state() signature
(next try to fix OSX compilation)
2019-05-02 08:33:38 +02:00
YuSanka
1653a61fcc Added comments 2019-04-30 16:59:40 +02:00
YuSanka
fef67c7753 Added missed include 2019-04-30 11:27:41 +02:00
YuSanka
2691bebf0c Next try 2019-04-30 09:38:23 +02:00
bubnikv
008f004b48 Fixed a bug, where std::string and wxString were mixed up. 2019-04-29 18:10:08 +02:00
bubnikv
745b2d6abe Missing forward declaration 2019-04-29 17:24:05 +02:00
YuSanka
22f170e29e ObjectList improvements: Added warning icon for Parts with a repaired errors 2019-04-29 15:27:59 +02:00
bubnikv
d60a5c53f8 Merge remote-tracking branch 'remotes/origin/master' into vb_wold_object_manipulation 2019-04-26 17:42:51 +02:00
bubnikv
a3e64e456c WIP, non-uniform scaling in the world coordinate system:
Disable non-uniform scaling when switching to the World coordinate system
and the rotation is not multiples of ninety degrees.
Ask user whether to bake in the transformations into the meshes if
enabling the non-uniform scaling in that case.
2019-04-25 09:24:33 +02:00
YuSanka
7625bf118b Merge remote-tracking branch 'origin/master' into ys_ftn_improvements 2019-04-25 08:12:19 +02:00
YuSanka
0da12d08fd Big Refactoring: - deleted/renamed all _Prusa_ prefixes,
- cleaned code from commented parts
 - rescale() -> msw_rescale()
2019-04-25 01:45:00 +02:00
bubnikv
abed8ed843 WIP: World / local transformations of an object instance from the side panel. 2019-04-24 19:03:05 +02:00
YuSanka
59fda680e9 Refactoring: get_mesh_errors_count() moved to ModelObject
+ added get_object_stl_stats() to ModelObject
2019-04-24 16:04:47 +02:00
YuSanka
903f22a28a Changed Manipulation panel. (Simple mode)There is exclamation mark icon next for the object name, if it has errors.
+ some code refactoring
2019-04-24 13:33:05 +02:00
bubnikv
fbf6dd5af9 WIP: Transformations of an instance in world coordinate system
from the side panel.
2019-04-24 11:01:59 +02:00
Enrico Turri
ae6a6f0e0e Another fix for Linuz and Mac builds 2019-03-19 15:58:18 +01:00
Enrico Turri
0bc6614cc6 GLCanvas3D::Selection as a standalone class 2019-03-19 13:30:21 +01:00
Enrico Turri
b0a732d2de Emulation of kill focus event on object manipulator fields when changing selection into objects list [WIN+LINUX] 2019-01-31 14:12:07 +01:00
Enrico Turri
362c117ef0 ENABLE_IMPROVED_SIDEBAR_OBJECTS_MANIPULATION set as default 2019-01-28 16:06:44 +01:00
Enrico Turri
d1a1d5f723 Fixed synchronization between Objects List and Object manipulator table 2019-01-28 15:50:02 +01:00
YuSanka
8a05c32187 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-01-24 15:40:54 +01:00
Enrico Turri
69d860389b Sidebar object manipulation fields updated on idle event 2019-01-24 11:37:58 +01:00
YuSanka
a33ecd8420 Set uniformly scaling by default 2019-01-24 10:24:10 +01:00
YuSanka
392f6595fa Added SetLock() function for PrusaLockButton 2019-01-09 08:52:08 +01:00
YuSanka
5f13491906 Added "uniform scaling" button 2019-01-08 13:34:47 +01:00
Enrico Turri
7b832c76d5 Fixed sidebar size fields update (which was broken again) 2019-01-08 09:51:58 +01:00
Enrico Turri
159ad1bae1 Fix of #1590 2019-01-07 10:53:48 +01:00