#include <BALL/VIEW/DIALOGS/mainControlPreferences.h>
Public Slots | |
void | selectFont () |
Get the application's default font. | |
void | setFont (QFont font) |
Set the application's default font. | |
Public Member Functions | |
MainControlPreferences (QWidget *parent=NULL, const char *name="MainControlPreferences", Qt::WFlags fl=0) | |
Default Constructor. | |
virtual | ~MainControlPreferences () |
QStyle * | setStyle () |
void | enableLoggingToFile (bool state) |
Enable logging to file. | |
bool | loggingToFileEnabled () const |
QFont | getFont () |
bool | getLanguageChanged () |
void | resetLanguageChanged () |
void | writePreferenceEntries (INIFile &inifile) |
Store the settings of all registered objects. | |
void | readPreferenceEntries (const INIFile &inifile) |
Restore the settings of all registered objects. | |
Protected Attributes | |
QFont | font_ |
int | last_index_ |
MainControlPreferences is a widget that will be inserted into the tab dialog Preferences. It contains the following settings:
Definition at line 37 of file mainControlPreferences.h.
BALL::VIEW::MainControlPreferences::MainControlPreferences | ( | QWidget * | parent = NULL , |
|
const char * | name = "MainControlPreferences" , |
|||
Qt::WFlags | fl = 0 | |||
) |
Default Constructor.
virtual BALL::VIEW::MainControlPreferences::~MainControlPreferences | ( | ) | [virtual] |
void BALL::VIEW::MainControlPreferences::enableLoggingToFile | ( | bool | state | ) |
Enable logging to file.
QFont BALL::VIEW::MainControlPreferences::getFont | ( | ) |
bool BALL::VIEW::MainControlPreferences::getLanguageChanged | ( | ) | [inline] |
Definition at line 69 of file mainControlPreferences.h.
bool BALL::VIEW::MainControlPreferences::loggingToFileEnabled | ( | ) | const |
void BALL::VIEW::MainControlPreferences::readPreferenceEntries | ( | const INIFile & | inifile | ) | [virtual] |
Restore the settings of all registered objects.
Reimplemented from BALL::VIEW::PreferencesEntry.
void BALL::VIEW::MainControlPreferences::resetLanguageChanged | ( | ) | [inline] |
Definition at line 73 of file mainControlPreferences.h.
void BALL::VIEW::MainControlPreferences::selectFont | ( | ) | [slot] |
Get the application's default font.
void BALL::VIEW::MainControlPreferences::setFont | ( | QFont | font | ) | [slot] |
Set the application's default font.
QStyle* BALL::VIEW::MainControlPreferences::setStyle | ( | ) |
Inspection of the selected style. This method will be called from MainControl::applyPreferences().
void BALL::VIEW::MainControlPreferences::writePreferenceEntries | ( | INIFile & | inifile | ) | [virtual] |
Store the settings of all registered objects.
Reimplemented from BALL::VIEW::PreferencesEntry.
QFont BALL::VIEW::MainControlPreferences::font_ [protected] |
Definition at line 93 of file mainControlPreferences.h.
int BALL::VIEW::MainControlPreferences::last_index_ [protected] |
Definition at line 94 of file mainControlPreferences.h.