Tome
A generic data editor for games supporting arbitrary input and output formats.
Public Member Functions | Protected Member Functions | List of all members
UserSettingsWindow Class Reference

Window for editing user-specific application settings. More...

#include <usersettingswindow.h>

Inheritance diagram for UserSettingsWindow:

Public Member Functions

 UserSettingsWindow (Tome::SettingsController &settingsController, QWidget *parent=0)
 Constructs a new window for editing user-specific application settings. More...
 
bool getRunIntegrityChecksOnLoad ()
 Gets whether to run all integrity checks after opening a project. More...
 
bool getRunIntegrityChecksOnSave ()
 Gets whether to run all integrity checks after saving a project. More...
 
bool getShowComponentNamesInRecordTable ()
 Gets whether to show the names of the respective component in front of the field name in the record table. More...
 
bool getShowDescriptionColumnInsteadOfFieldTooltips ()
 Gets whether to show an additional column with the description of all record fields in the record table. More...
 
bool getExpandRecordTreeOnRefresh ()
 Gets whether to expand all nodes of the record tree every time after it has changed. More...
 

Protected Member Functions

void showEvent (QShowEvent *event)
 Sets up this window, updating the view with the stored settings. More...
 

Detailed Description

Window for editing user-specific application settings.

Constructor & Destructor Documentation

◆ UserSettingsWindow()

UserSettingsWindow::UserSettingsWindow ( Tome::SettingsController settingsController,
QWidget *  parent = 0 
)
explicit

Constructs a new window for editing user-specific application settings.

Parameters
settingsControllerController for accessing user settings.
parentOptional owner widget.

Member Function Documentation

◆ getExpandRecordTreeOnRefresh()

bool UserSettingsWindow::getExpandRecordTreeOnRefresh ( )

Gets whether to expand all nodes of the record tree every time after it has changed.

Returns
Whether to expand all nodes of the record tree every time after it has changed, or not.

◆ getRunIntegrityChecksOnLoad()

bool UserSettingsWindow::getRunIntegrityChecksOnLoad ( )

Gets whether to run all integrity checks after opening a project.

Returns
Whether to run all integrity checks after opening a project, or not.

◆ getRunIntegrityChecksOnSave()

bool UserSettingsWindow::getRunIntegrityChecksOnSave ( )

Gets whether to run all integrity checks after saving a project.

Returns
Whether to run all integrity checks after saving a project, or not.

◆ getShowComponentNamesInRecordTable()

bool UserSettingsWindow::getShowComponentNamesInRecordTable ( )

Gets whether to show the names of the respective component in front of the field name in the record table.

Returns
Whether to show the names of the respective component in front of the field name in the record table, or not.

◆ getShowDescriptionColumnInsteadOfFieldTooltips()

bool UserSettingsWindow::getShowDescriptionColumnInsteadOfFieldTooltips ( )

Gets whether to show an additional column with the description of all record fields in the record table.

Returns
true, if showing the description of all record fields in an additional column in the record table, and false if showing tooltips instead.

◆ showEvent()

void UserSettingsWindow::showEvent ( QShowEvent *  event)
protected

Sets up this window, updating the view with the stored settings.

Parameters
eventEvent for showing this window.

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