BALL::VIEW::Preferences Class Reference
[QT Dialogs]
#include <BALL/VIEW/DIALOGS/preferences.h>
List of all members.
Detailed Description
Preferences is a dialog for other preference pages to be inserted. An interface for adding and removing the pages is available. The Preferences dialog will be created by the MainControl. All ModularWidget classes can add their own preferences pages.
Constructor & Destructor Documentation
BALL::VIEW::Preferences::Preferences |
( |
QWidget * |
parent = NULL , |
|
|
const char * |
name = "Preferences" | |
|
) |
| | |
Default Constructor. There are five buttons:
- ok - apply the preferences
- apply - apply the preferences, but do no close the window
- cancel - hide the preferences dialog
- defaults - reset the values of the currently selected page
- help - get help
- Parameters:
-
| parent | the parent QWidget (See QTabDialog in the QT documentation) |
| name | (See QDialog in the QT documentation) |
BALL::VIEW::Preferences::Preferences |
( |
const Preferences & |
preferences |
) |
|
virtual BALL::VIEW::Preferences::~Preferences |
( |
|
) |
[virtual] |
Member Function Documentation
void BALL::VIEW::Preferences::applyPreferences |
( |
|
) |
[slot] |
Store the last applied values for undo.
void BALL::VIEW::Preferences::cancelPreferences |
( |
|
) |
[slot] |
const QWidget* BALL::VIEW::Preferences::currentEntry |
( |
|
) |
const |
const QWidget* BALL::VIEW::Preferences::currentPage |
( |
|
) |
const |
void BALL::VIEW::Preferences::entrySelected |
( |
|
) |
[slot] |
void BALL::VIEW::Preferences::fetchPreferences |
( |
INIFile & |
inifile |
) |
|
bool BALL::VIEW::Preferences::hasPages |
( |
|
) |
|
Check if pages are available.
- Returns:
- bool
true
if pages are available
void BALL::VIEW::Preferences::setDefaultValues |
( |
|
) |
[slot] |
void BALL::VIEW::Preferences::show |
( |
|
) |
[slot] |
Open the preferences dialog.
void BALL::VIEW::Preferences::showEntry |
( |
QWidget * |
page |
) |
[slot] |
void BALL::VIEW::Preferences::showHelp |
( |
|
) |
[slot] |
void BALL::VIEW::Preferences::writePreferences |
( |
INIFile & |
inifile |
) |
|
Member Data Documentation