BALL::VIEW::MainControlPreferences Class Reference
[QT Dialogs]

#include <BALL/VIEW/DIALOGS/mainControlPreferences.h>

Inheritance diagram for BALL::VIEW::MainControlPreferences:
Inheritance graph
[legend]

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)
 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_

Detailed Description

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.


Constructor & Destructor Documentation

BALL::VIEW::MainControlPreferences::MainControlPreferences ( QWidget parent = NULL,
const char *  name = "MainControlPreferences",
Qt::WFlags  fl = 0 
)

Default Constructor.

virtual BALL::VIEW::MainControlPreferences::~MainControlPreferences (  )  [virtual]

Member Function Documentation

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().

Returns:
QStyle* a pointer to the selected style. (See documentation of QT-library for information concerning styles)
void BALL::VIEW::MainControlPreferences::writePreferenceEntries ( INIFile inifile  )  [virtual]

Store the settings of all registered objects.

Reimplemented from BALL::VIEW::PreferencesEntry.


Member Data Documentation

Definition at line 93 of file mainControlPreferences.h.

Definition at line 94 of file mainControlPreferences.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Generated by  doxygen 1.6.3