BALL  1.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Public Slots | Public Member Functions | Protected Attributes
BALL::VIEW::PythonSettings Class Reference

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

Inheritance diagram for BALL::VIEW::PythonSettings:
QWidget 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 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.

Destructor.

Definition at line 47 of file pythonSettings.h.


Member Function Documentation

Open a filedialog to select the startup script.

const std::list<Hotkey> BALL::VIEW::PythonSettings::getContent ( ) const

Definition at line 50 of file pythonSettings.h.

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::setContent ( const std::list< Hotkey > &  hotkeys)
void BALL::VIEW::PythonSettings::setFilename ( const String filename)

Set the filename of the startup script.

Store the settings of all registered objects.

Reimplemented from BALL::VIEW::PreferencesEntry.


Member Data Documentation

Definition at line 86 of file pythonSettings.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines