Options from the "Preferences" dialog added to the Search

Some code refactoring:
* use GUI_App::open_preferences() on all places where it's needed
* Preferences Dialog is an attribute of a ManeFrame class and created just ones during the MainFrame creation now.
* Created class Highlighter. Use it in Preferences and Tab
This commit is contained in:
YuSanka 2021-12-22 14:38:23 +01:00
parent 1fe4ba289b
commit f2aeca3a71
18 changed files with 520 additions and 480 deletions
src/slic3r/GUI

View file

@ -32,6 +32,7 @@ class Tab;
class PrintHostQueueDialog;
class Plater;
class MainFrame;
class PreferencesDialog;
enum QuickSlice
{
@ -203,6 +204,7 @@ public:
DiffPresetDialog diff_dialog;
wxWindow* m_plater_page{ nullptr };
// wxProgressDialog* m_progress_dialog { nullptr };
PreferencesDialog* preferences_dialog { nullptr };
PrintHostQueueDialog* m_printhost_queue_dlg;
// std::shared_ptr<ProgressStatusBar> m_statusbar;