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

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

Inheritance diagram for BALL::VIEW::PythonSettings:
QWidget Ui_PythonSettingsData BALL::VIEW::PreferencesEntry

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 List< HotkeygetContent () const
void setContent (const 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

HotkeyTabletable
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.


Constructor & Destructor Documentation

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

Constructor.

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

Destructor.


Member Function Documentation

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

Open a filedialog to select the startup script.

const List<Hotkey> BALL::VIEW::PythonSettings::getContent (  )  const
QFont BALL::VIEW::PythonSettings::getEditorFont (  )  const [inline]
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 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