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

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

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

List of all members.

Public Slots

void fileSelected ()
 Open a filedialog to select the startup script.
void clearStartupScript ()
virtual void rowSelected ()
void selectFont ()

Public Member Functions

 PythonSettings (QWidget *parent=0, const char *name=0)
 Constructor.
 ~PythonSettings ()
 Destructor.
QFont getEditorFont () const
void setFilename (const String &filename)
 Set the filename of the startup script.
String getFilename () const
 Get the filename of the startup script.
const std::list< HotkeygetContent () const
void setContent (const std::list< Hotkey > &hotkeys)
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

Dialog for setting the Python preferences. Currently only a startup script can be selected, that will be called, when the application has loaded and a PyWidget instance is added.

Definition at line 34 of file pythonSettings.h.


Constructor & Destructor Documentation

BALL::VIEW::PythonSettings::PythonSettings ( QWidget parent = 0,
const char *  name = 0 
)

Constructor.

BALL::VIEW::PythonSettings::~PythonSettings (  )  [inline]

Destructor.

Definition at line 47 of file pythonSettings.h.


Member Function Documentation

void BALL::VIEW::PythonSettings::clearStartupScript (  )  [slot]
void BALL::VIEW::PythonSettings::fileSelected (  )  [slot]

Open a filedialog to select the startup script.

const std::list<Hotkey> BALL::VIEW::PythonSettings::getContent (  )  const
QFont BALL::VIEW::PythonSettings::getEditorFont (  )  const [inline]

Definition at line 50 of file pythonSettings.h.

String BALL::VIEW::PythonSettings::getFilename (  )  const

Get the filename of the startup script.

void BALL::VIEW::PythonSettings::readPreferenceEntries ( const INIFile inifile  )  [virtual]

Restore the settings of all registered objects.

Reimplemented from BALL::VIEW::PreferencesEntry.

virtual void BALL::VIEW::PythonSettings::rowSelected (  )  [virtual, slot]
void BALL::VIEW::PythonSettings::selectFont (  )  [slot]
void BALL::VIEW::PythonSettings::setContent ( const std::list< Hotkey > &  hotkeys  ) 
void BALL::VIEW::PythonSettings::setFilename ( const String filename  ) 

Set the filename of the startup script.

void BALL::VIEW::PythonSettings::writePreferenceEntries ( INIFile inifile  )  [virtual]

Store the settings of all registered objects.

Reimplemented from BALL::VIEW::PreferencesEntry.


Member Data Documentation

Definition at line 86 of file pythonSettings.h.

Generated by  doxygen 1.6.3