TSP Solver and Generator
Public Member Functions
SettingsDialog Class Reference

Class for handling Settings Dialog UI and logic. More...

#include <settingsdialog.h>

Inheritance diagram for SettingsDialog:
Collaboration diagram for SettingsDialog:

List of all members.

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.

Detailed Description

Class for handling Settings Dialog UI and logic.

Author:
Copyright © 2007-2011 Lёppa <contacts[at]oleksii[dot]name>

Constructor & Destructor Documentation

SettingsDialog::SettingsDialog ( QWidget parent = 0)

Class constructor.

Parameters:
parentSettings Dialog parent widget.

Initializes Settings Dialog and creates its layout based on target OS.


Member Function Documentation

bool SettingsDialog::colorChanged ( ) const

Indicates whether or not the font color has been changed.

Returns:
true if font color changed, otherwise false.
bool SettingsDialog::fontChanged ( ) const

Indicates whether or not the font properties have been changed.

Returns:
true if font properties changed, otherwise false.
qint8 SettingsDialog::translucencyChanged ( ) const

Indicates whether and how the translucency setting was changed.

Return values:
-1the translucency was disabled.
0the translucency didn't change.
1the translucency was enabled.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines