TSP Solver and Generator
|
Class for handling Settings Dialog UI and logic. More...
#include <settingsdialog.h>
Public Member Functions | |
SettingsDialog (QWidget *parent=0) | |
Class constructor. | |
bool | colorChanged () const |
Indicates whether or not the font color has been changed. | |
bool | fontChanged () const |
Indicates whether or not the font properties have been changed. | |
qint8 | translucencyChanged () const |
Indicates whether and how the translucency setting was changed. |
Class for handling Settings Dialog UI and logic.
SettingsDialog::SettingsDialog | ( | QWidget * | parent = 0 | ) |
Class constructor.
parent | Settings Dialog parent widget. |
Initializes Settings Dialog and creates its layout based on target OS.
bool SettingsDialog::colorChanged | ( | ) | const |
Indicates whether or not the font color has been changed.
true
if font color changed, otherwise false
. bool SettingsDialog::fontChanged | ( | ) | const |
Indicates whether or not the font properties have been changed.
true
if font properties changed, otherwise false
. qint8 SettingsDialog::translucencyChanged | ( | ) | const |
Indicates whether and how the translucency setting was changed.
-1 | the translucency was disabled. |
0 | the translucency didn't change. |
1 | the translucency was enabled. |