Commit Graph

341 Commits

Author SHA1 Message Date
Lukas Matena
ffab25560c Removed obsolete LambdaObjectDialog.cpp/hpp, more include cleanups:
BedShapeDialog.hpp (needs not include) OptionsGroup.hpp
Tab.hpp            GUI_App.hpp
2020-05-27 14:01:48 +02:00
Lukas Matena
edcaab8b0a Includes cleanup:
GUI_App.hpp      (should not include) MainFrame.hpp
MainFrame.hpp    Plater.hpp
ModelArrange.hpp Model.hpp
Slicing.hpp      PrintConfig.hpp
FillBase.hpp     PrintConfig.hpp
GUI_App.hpp      PrintConfig.hpp
OptionsGroup.hpp GUI_App.hpp
2020-05-27 14:01:47 +02:00
Lukas Matena
e8e004ab5e Fixed few warnings 2020-05-26 16:06:11 +02:00
YuSanka
7f1c593634 Added missed icons for the dark mode.
Fixed typos from the previous commit
2020-05-22 17:05:21 +02:00
YuSanka
09d197cdc8 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
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
9170ab7d6e 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
bubnikv
d89651693b Search: Fixed returning of a pointer to temporary. 2020-04-30 12:03:49 +02:00
YuSanka
1e6fdf6d80 Merge remote-tracking branch 'origin/master' into ys_search 2020-04-29 14:56:31 +02:00
YuSanka
0be8b66746 Fixed update(clear) of the search_line, when search dialog was opened and closed without changing 2020-04-27 11:51:17 +02:00
YuSanka
4674cec006 Search: Code cleaning
+ Reverted "Plater" tab to the Settings Notepad
2020-04-24 11:01:14 +02:00
YuSanka
7805778ab8 First implementation of the separate plater from the settings tabs
+ Added collapse_toolbar
2020-04-23 17:11:49 +02:00
YuSanka
2028d3e570 Search: Fixed "Search" menu item under OSX
+ deleted search combobox
2020-04-22 20:27:42 +02:00
YuSanka
2d7f3fa6ba Search: Implemented SearchDialog.
Search window on Plater: set flag SelectAll for search line
2020-04-22 15:46:23 +02:00
YuSanka
4daad332bc Search: Experiment button 2020-04-16 15:49:40 +02:00
YuSanka
8ebfb6ea86 Completed a search list cleaning (deleted unused options).
+ Implemented BlinkingBitmap
+ Options, that doesn't have related controls, are highlighted near the widgets.
2020-04-16 09:59:12 +02:00
bubnikv
9db59a3cd7 WIP: Ironing over top surfaces. 2020-04-14 11:53:28 +02:00
YuSanka
29ac9752b4 Added map for save Group and Category values for each option
+ Some code refactoring in Tab (the translation of the titles moved to the OptionGroups) and Search
+ Fixed assert in fts_fuzzy_match
2020-04-13 17:55:38 +02:00
YuSanka
c6efaabc78 Search: Code cleaning 2020-04-07 20:34:09 +02:00
YuSanka
89509a9f63 Implemented blinking icon to highlight a searched field 2020-04-07 12:09:58 +02:00
YuSanka
31baca7bf5 Implemented SearchCtrl class instead of SearchComboBox
Search string are synchronized between Plater and Tabs.

List with options and filtered list are in Sidebar.
All options list on tabs and Plater use this data from Sidebar

Note: SearchComboBox.cpp(hpp) was renamed to Search.cpp(hpp)
2020-04-03 10:27:50 +02:00
YuSanka
c5df518e9e Merge remote-tracking branch 'origin/master' into ys_search 2020-03-25 11:20:34 +01:00
YuSanka
007c65dcc4 Merge remote-tracking branch 'origin/ys_fix_cb_selection' 2020-03-25 11:12:37 +01:00
Lukas Matena
ac501bdf8b Merge branch 'master' into dev 2020-03-24 21:51:05 +01:00
YuSanka
dd29817ef9 Fix of #3889 2020-03-23 22:47:35 +01:00
YuSanka
b8692d1dfd Removed SearchCombobox from the Sidebar.
Tab->SearchCombobox works with all parameters now.
Overridden GetWindow() for PointCtrl.
2020-03-23 10:28:28 +01:00
YuSanka
d81c8985b2 Merge remote-tracking branch 'origin/master' into ys_search 2020-03-20 14:56:05 +01:00
YuSanka
155ec1daec Update of Settings in ObjectList from Tab::update() is suppressed, if Undo/Redo is not completed 2020-03-20 13:45:37 +01:00
YuSanka
86157744cd Start to implement "Search through options" 2020-03-20 10:30:55 +01:00
bubnikv
f4baac9147 Revert "Added "Filament spool weight" option to filament options"
This reverts commit 3d3e36ba8d.

The change is too risky just before the PrusaSlicer 2.2.0 final release
and the feature may need a bit of polishing before release.
2020-03-14 09:49:12 +01:00
bubnikv
90fc7ddca5 "inifinit_skirt" renamed to "draft_shield"
Polished the tooltip for the draft shield.
Legacy conversion from old skirt_heigth == -1 to draft_shield = 1
2020-03-14 07:46:39 +01:00
YuSanka
d48616c5e7 Merge remote-tracking branch 'origin/ys_add_new_options' into ys_improvements 2020-03-13 11:49:51 +01:00
YuSanka
226455adf3 Implemented "Use unlimited skirt" option 2020-03-11 11:43:08 +01:00
YuSanka
3c79e67780 Added "Filament spool weight" option to filament options 2020-03-09 17:01:05 +01:00
bubnikv
185f81398b Fix of Print settings dropdown list messed up after deleting an entry (#3800) 2020-03-09 12:29:40 +01:00
bubnikv
f9f961d6ad Fixed localization of "Save preset as" dialog message. 2020-03-07 14:21:05 +01:00
bubnikv
375d93310d Polished the new "detach preset from the system preset" messages. 2020-03-07 10:26:40 +01:00
YuSanka
a6e8fd2fb1 Fixed update of UI values, related on parent preset, when preset is detached from system 2020-03-06 19:15:37 +01:00
bubnikv
731dfdd2ff WIP Detaching of system profiles and user profiles derived from system profiles. 2020-03-06 17:41:00 +01:00
bubnikv
15559af285 Merge branch 'master' into ys_detach_btn 2020-03-06 14:40:28 +01:00
YuSanka
a8f9bd0781 Fixed 2 bugs :
1. "Revert" buttons on the bar don't work for a "Compatible printers" and a "Compatible prints profiles".
   And cause a crash if they are pressed in Print(SLA) Settings.

2. A label of a "Compatible printers" option is always black in Filament(Materials) Settings Tab
2020-03-05 08:16:31 +01:00
YuSanka
7b4830a827 Localization:
- Deleted redundant whitespaces before semicolons.
- All "\t" extracted from the phrases (The PhraseApp used to the translations "doesn't see" it, and as a result all translations missed them)
2020-03-05 07:49:05 +01:00
YuSanka
40fbb770ee Implemented "Detach preset from system" button 2020-03-04 13:47:35 +01:00
Lukas Matena
35b59a3e13 Include cleanup in Plater, GLCanvas3D and GLGizmosManager 2020-03-03 15:53:26 +01:00
Lukas Matena
4949150313 Fixing wxString::Format encoding mismatches (part 3) 2020-03-03 10:54:17 +01:00
tamasmeszaros
4a6c46529e Promote max_bridges_on_pillar to be a runtime parameter.
This way the user greater control over support tree branching and the amount of pillars created.
2020-03-02 12:43:00 +01:00
bubnikv
ba18e18082 Various changes in handling of profile compatiblilities
and the "show incompatible profiles" option.

It was not able to select the incompatible Print profile, which is
possible now.
(see Cannot select incompatible printer profile #3715)

When the Printer profile derived from the Prusa3D system profile was
active or a system Prusa3D profile was active, and when the Print profile
with the removed "inherits" field was active (or any other profile
derived from the "-- default --" profile was active), then the filament
selector offered just the profiles with the removed "inherits" field
(or any other profile derived from the "-- default--") profile.
This behavior has been now changed, so that in this scenario the Filament selector
will offer the Prusa3D vendor profiles compatible with the active Print
and Printer profile as well as the user profiles.

Slicer was also changed to keep an incompatible preset selected
at its respective tab if its respective "Red flag" is enabled.
For example, if an incompatible Print preset is selected and a Printer
profile is switched to another one which is not compatible with the active
Print preset that was red already, the active Print preset is
not switched if the Print "Red flag" is active. However, if the Print profile
was compatible before the Printer profile is switched and now the Print
profile becomes incompatible, another compatible Print profile is selected.

A likely bug in wxWidgets was worked around when switching a Print preset
on Plater, if the last item in the Print preset was active and incompatible,
and another Print preset was selected by the user. On Windows, an CBN_EDITCHANGE
is sent just after combo box selection change event and the CBN_EDITCHANGE
holds an index of the combo box item, which will be removed by the 1st event,
therefore leading to an assert in wxWidgets on CBN_EDITCHANGE. The workaround
is to disable processing of CBN_EDITCHANGE on Windows for the Plater
preset selection combo boxes.
2020-02-27 11:44:12 +01:00
bubnikv
c5cb85c20a GUI::show_error() is now generalized for std::string and const char*
Fixed return type of std::string translate_utf8() with context
(incorrectly returned wxString, should return std::string).
Fixed double translation of BackgroundSlicingProcess::validate() in Plater.
2020-02-21 13:38:06 +01:00
Lukas Matena
1af43f7b9c Fixed few more encoding issues
All uncovered after disabling unsafe wxString conversions
2020-02-21 12:53:51 +01:00
bubnikv
8ff7e1718c Fix of Bug: Changing print settings resets filament settings #3675
When switching a Print profile, the modifications of an active Filament
profile were incorrecly dropped even if the active Filament profile
was compatible with the newly selected Print profile.
2020-02-21 11:03:03 +01:00