#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 * | getStyle () |
void | enableLoggingToFile (bool state) |
Enable logging to file. | |
bool | loggingToFileEnabled () const |
QFont | getFont () |
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_ |
MainControlPreferences is a widget that will be inserted into the tab dialog Preferences. It contains the following settings:
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 | ( | ) |
QStyle* BALL::VIEW::MainControlPreferences::getStyle | ( | ) |
Inspection of the selected style. This method will be called from MainControl::applyPreferences().
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::selectFont | ( | ) | [slot] |
Get the application's default font.
void BALL::VIEW::MainControlPreferences::setFont | ( | QFont | font | ) | [slot] |
Set the application's default font.
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] |