Elaztek Developer Hub
Blamite Game Engine - Keystone  00326.06.27.21.0407.blamite
A library that enables the use of Qt in Blamite's editing tools.
shared_settings Class Reference

Class for the new unified Settings dialog. More...

#include <shared_settings.h>

+ Inheritance diagram for shared_settings:

Public Member Functions

 shared_settings (QWidget *parent=Q_NULLPTR)
 Constructs the settings dialog. More...
 
 ~shared_settings ()
 Destroys the settings dialog and cleans up any resources used. More...
 
void UpdateActiveSettingControl (BlamEditorConfigField_Generic *field)
 TBA. More...
 
void OnThemeChange (BlamEditorTheme *new_theme)
 Called when the active theme is changed. More...
 
void ApplyNewTheme ()
 

Detailed Description

Class for the new unified Settings dialog.

This new dialog reads all configuration files, sections, and settings dynamically - with no need to add new controls/widgets for new settings manually.

Constructor & Destructor Documentation

◆ shared_settings()

shared_settings::shared_settings ( QWidget *  parent = Q_NULLPTR)

Constructs the settings dialog.

Parameters
parent- The parent widget of this dialog. Defaults to Q_NULLPTR.

◆ ~shared_settings()

shared_settings::~shared_settings ( )

Destroys the settings dialog and cleans up any resources used.

Member Function Documentation

◆ ApplyNewTheme()

void shared_settings::ApplyNewTheme ( )

◆ OnThemeChange()

void shared_settings::OnThemeChange ( BlamEditorTheme new_theme)
virtual

Called when the active theme is changed.

Parameters
new_theme- The newly applied theme.

Reimplemented from KeystoneThemeChangeReceiver.

◆ UpdateActiveSettingControl()

void shared_settings::UpdateActiveSettingControl ( BlamEditorConfigField_Generic field)

TBA.

Parameters
field- TBA

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