API Documentation
Loading...
Searching...
No Matches
SettingsDialog Class Reference

#include <SettingsDialog.h>

Inheritance diagram for SettingsDialog:
[legend]
Collaboration diagram for SettingsDialog:
[legend]

Signals

void settingsAcceptedSignal ()
 

Public Member Functions

 SettingsDialog (WindowManager *window_manager, QTModelManager *model_manager, QWidget *parent=nullptr)
 
void prepareToShow ()
 
virtual ~SettingsDialog ()
 
void addSettingsMenu (QWidget *menu, std::function< void()> reset_to_defaults, uint04 location=1)
 
void removeSettingsMenu (QWidget *menu)
 

Protected Member Functions

void setupMainTab ()
 
void setupFolderTab ()
 
void setupUITab ()
 
void setupGraphicsTab ()
 
void setupUnitsTab ()
 
void setupImportTab ()
 
void setupKeystrokeTab ()
 
void updateImportSettingsRibbon ()
 
void setupExportTab ()
 
void updateExportSettingsRibbon ()
 
void updateLayout ()
 
void resetUIToDefaults ()
 
void resetGeneralToDefaults ()
 
void createBackground ()
 
bool event (QEvent *event) override
 
void setupStationTab ()
 
void setupMouseSettingsTab ()
 
void updateTabLocation ()
 
void retranslate ()
 

Protected Attributes

Ui::SettingsUI * ui
 
ModulesDialogm_modules_dialog = nullptr
 
QTResourceListenerm_camera_background_listener = nullptr
 
QTModelManagerm_model_manager = nullptr
 
WindowManagerm_window_manager = nullptr
 
UnitsDialogm_units_dialog = nullptr
 
LanguageEditorm_language_editor = nullptr
 
KeystrokeWidgetm_keystroke_widget = nullptr
 
FileAndFolderSettingsDialogm_file_and_folder_settings = nullptr
 
MouseEditorWidget * m_mouse_editor = nullptr
 
ModelFileDialogm_import_settings_dialog = nullptr
 
ModelFileDialogm_export_settings_dialog = nullptr
 
RibbonSubGroupm_import_settings_ribbon_group = nullptr
 
RibbonSubGroupm_export_settings_ribbon_group = nullptr
 
Dictionary< QWidget *, std::function< void()> > m_reset_to_default_settings
 
bool m_shown_to_user = false
 

Constructor & Destructor Documentation

◆ SettingsDialog()

SettingsDialog ( WindowManager * window_manager,
QTModelManager * model_manager,
QWidget * parent = nullptr )

◆ ~SettingsDialog()

~SettingsDialog ( )
virtual

Member Function Documentation

◆ addSettingsMenu()

void addSettingsMenu ( QWidget * menu,
std::function< void()> reset_to_defaults,
uint04 location = 1 )

◆ createBackground()

void createBackground ( )
protected

◆ event()

bool event ( QEvent * event)
overrideprotected

◆ prepareToShow()

void prepareToShow ( )

◆ removeSettingsMenu()

void removeSettingsMenu ( QWidget * menu)

◆ resetGeneralToDefaults()

void resetGeneralToDefaults ( )
protected

◆ resetUIToDefaults()

void resetUIToDefaults ( )
protected

◆ retranslate()

void retranslate ( )
protected

◆ settingsAcceptedSignal

void settingsAcceptedSignal ( )
signal

◆ setupExportTab()

void setupExportTab ( )
protected

◆ setupFolderTab()

void setupFolderTab ( )
protected

◆ setupGraphicsTab()

void setupGraphicsTab ( )
protected

◆ setupImportTab()

void setupImportTab ( )
protected

◆ setupKeystrokeTab()

void setupKeystrokeTab ( )
protected

◆ setupMainTab()

void setupMainTab ( )
protected

◆ setupMouseSettingsTab()

void setupMouseSettingsTab ( )
protected

◆ setupStationTab()

void setupStationTab ( )
protected

◆ setupUITab()

void setupUITab ( )
protected

◆ setupUnitsTab()

void setupUnitsTab ( )
protected

◆ updateExportSettingsRibbon()

void updateExportSettingsRibbon ( )
protected

◆ updateImportSettingsRibbon()

void updateImportSettingsRibbon ( )
protected

◆ updateLayout()

void updateLayout ( )
protected

◆ updateTabLocation()

void updateTabLocation ( )
protected

Member Data Documentation

◆ m_camera_background_listener

QTResourceListener* m_camera_background_listener = nullptr
protected

◆ m_export_settings_dialog

ModelFileDialog* m_export_settings_dialog = nullptr
protected

◆ m_export_settings_ribbon_group

RibbonSubGroup* m_export_settings_ribbon_group = nullptr
protected

◆ m_file_and_folder_settings

FileAndFolderSettingsDialog* m_file_and_folder_settings = nullptr
protected

◆ m_import_settings_dialog

ModelFileDialog* m_import_settings_dialog = nullptr
protected

◆ m_import_settings_ribbon_group

RibbonSubGroup* m_import_settings_ribbon_group = nullptr
protected

◆ m_keystroke_widget

KeystrokeWidget* m_keystroke_widget = nullptr
protected

◆ m_language_editor

LanguageEditor* m_language_editor = nullptr
protected

◆ m_model_manager

QTModelManager* m_model_manager = nullptr
protected

◆ m_modules_dialog

ModulesDialog* m_modules_dialog = nullptr
protected

◆ m_mouse_editor

MouseEditorWidget* m_mouse_editor = nullptr
protected

◆ m_reset_to_default_settings

Dictionary<QWidget*, std::function<void()> > m_reset_to_default_settings
protected

◆ m_shown_to_user

bool m_shown_to_user = false
protected

◆ m_units_dialog

UnitsDialog* m_units_dialog = nullptr
protected

◆ m_window_manager

WindowManager* m_window_manager = nullptr
protected

◆ ui

Ui::SettingsUI* ui
protected

The documentation for this class was generated from the following files: