Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

VIEW::MainControlPreferences Class Reference
[QT Dialogs]

MainControlPreferences is a widget that will be inserted into the tab dialog Preferences. More...

#include <mainControlPreferences.h>

Inheritance diagram for VIEW::MainControlPreferences:

VIEW::PreferencesEntry List of all members.

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) throw ()
 Default Constructor.
QStyle * getStyle () throw ()
 Inspection of the selected style.
void enableLoggingToFile (bool state) throw ()
 Enable logging to file.
bool loggingToFileEnabled () const throw ()
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_

Detailed Description

MainControlPreferences is a widget that will be inserted into the tab dialog Preferences.

It contains the following settings:


Member Function Documentation

QStyle* VIEW::MainControlPreferences::getStyle  )  throw ()
 

Inspection of the selected style.

This method will be called from MainControl::applyPreferences().

Returns:
QStyle* a pointer to the selected style. (See documentation of QT-library for information concerning styles)