#include <BALL/VIEW/DIALOGS/pythonSettings.h>
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< Hotkey > | getContent () 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 | |
| HotkeyTable * | table |
| QFont | font_ |
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.
| BALL::VIEW::PythonSettings::PythonSettings | ( | QWidget * | parent = 0, |
|
| const char * | name = 0 | |||
| ) |
Constructor.
| BALL::VIEW::PythonSettings::~PythonSettings | ( | ) | [inline] |
Destructor.
| void BALL::VIEW::PythonSettings::clearStartupScript | ( | ) | [slot] |
| void BALL::VIEW::PythonSettings::fileSelected | ( | ) | [slot] |
Open a filedialog to select the startup script.
| 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::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.
QFont BALL::VIEW::PythonSettings::font_ [protected] |
HotkeyTable* BALL::VIEW::PythonSettings::table [protected] |