OpenASIP
2.0
|
#include <GUIOptions.hh>
Public Types | |
enum | ToolbarLayout { TEXT, ICON, BOTH } |
Public Member Functions | |
GUIOptions (std::string name) | |
GUIOptions (const GUIOptions &old) | |
GUIOptions (const ObjectState *state) | |
virtual | ~GUIOptions () |
bool | hasFileName () const |
std::string | fileName () const |
void | setFileName (const std::string &fileName) |
virtual void | validate () const |
virtual void | loadState (const ObjectState *state) |
virtual ObjectState * | saveState () const |
bool | fullScreen () const |
int | windowWidth () const |
int | windowHeight () const |
int | xPosition () const |
int | yPosition () const |
bool | toolbarVisibility () const |
ToolbarLayout | toolbarLayout () const |
void | setFullScreen (bool fullScreen) |
void | setWindowSize (int width, int height) |
void | setWindowPosition (int x, int y) |
void | setToolbarVisibility (bool visible) |
void | setToolbarLayout (ToolbarLayout layout) |
void | addKeyboardShortcut (KeyboardShortcut *shortcut) |
void | addToolbarButton (ToolbarButton *button) |
void | addSeparator (int position) |
void | deleteKeyboardShortcut (KeyboardShortcut *shortcut) |
void | deleteToolbarButton (ToolbarButton *button) |
void | deleteSeparator (int position) |
KeyboardShortcut * | keyboardShortcut (const std::string commandName) const |
KeyboardShortcut * | firstShortcut () const |
KeyboardShortcut * | nextShortcut () const |
ToolbarButton * | firstToolbarButton () const |
ToolbarButton * | nextToolbarButton () const |
int | firstSeparator () const |
int | nextSeparator () const |
void | clearModified () |
bool | isModified () const |
wxToolBar * | createToolbar (wxWindow *parent, CommandRegistry ®istry, const wxString &iconsPath) |
Public Member Functions inherited from Serializable | |
virtual | ~Serializable () |
Static Public Attributes | |
static const std::string | TOOLBAR_SEPARATOR = "-- separator --" |
Toolbar separator name. More... | |
static const std::string | OSNAME_OPTIONS = "options" |
ObjectState name for the options. More... | |
static const std::string | OSKEY_FULL_SCREEN = "fscreen" |
ObjectState attribute key for full screen feature. More... | |
static const std::string | OSKEY_WINDOW_WIDTH = "wwidth" |
ObjectState attribute key for window width. More... | |
static const std::string | OSKEY_WINDOW_HEIGHT = "wheight" |
ObjectState attribute key for window height. More... | |
static const std::string | OSKEY_X_POS = "xpos" |
ObjectState attribute key for window x position. More... | |
static const std::string | OSKEY_Y_POS = "ypos" |
ObjectState attribute key for window y position. More... | |
static const std::string | OSKEY_TOOLBAR_VISIBILITY = "tbvisib" |
ObjectState attribute key for toolbar visibility. More... | |
static const std::string | OSKEY_TOOLBAR_LAYOUT = "tblayout" |
ObjectState attribute key for toolbar layout. More... | |
static const std::string | OSVALUE_TEXT = "text" |
ObjectState attribute value for text layout. More... | |
static const std::string | OSVALUE_ICON = "icon" |
ObjectState attribute value for icon layout. More... | |
static const std::string | OSVALUE_BOTH = "both" |
ObjectState attribute value for text & icon layout. More... | |
static const std::string | OSNAME_SEPARATOR = "separator" |
ObjectState name for separator. More... | |
static const std::string | OSKEY_POSITION = "pos" |
ObjectState attribute key for separator position. More... | |
Protected Member Functions | |
void | deleteAllKeyboardShortcuts () |
void | deleteAllToolbarButtons () |
Private Types | |
typedef std::vector< int > | SeparatorTable |
Table for the toolbar separator positions. More... | |
typedef std::vector< KeyboardShortcut * > | KSTable |
Table for keyboard shortcuts. More... | |
typedef std::vector< ToolbarButton * > | TBTable |
Table for toolbar buttons. More... | |
Private Attributes | |
std::string | fileName_ |
File name assigned to these options. More... | |
bool | fullScreen_ |
If true, the application window will open in full screen mode. More... | |
int | windowWidth_ |
Default width of the window. More... | |
int | windowHeight_ |
Default height of the window. More... | |
int | xPosition_ |
Default x position of left side of the application window. More... | |
int | yPosition_ |
Default y position of the upper side of the application window. More... | |
bool | toolbarVisibility_ |
If true, the toolbar is visible. More... | |
ToolbarLayout | toolbarLayout_ |
Layout of the toolbar. More... | |
SeparatorTable | toolbarSeparators_ |
Toolbar separators. More... | |
KSTable | keyboardShortcuts_ |
Keyboard shortcuts. More... | |
TBTable | toolbarButtons_ |
Toolbar buttons. More... | |
KSTable::const_iterator | ksIter_ |
Iterator used in firstShortcut and nextShortcut functions. More... | |
TBTable::const_iterator | tbIter_ |
Iterator used in firstToolbarButton and nextToolbarButton functions. More... | |
SeparatorTable::const_iterator | separatorIter_ |
Iterator used in firstSeparator and nextSeparator functions. More... | |
bool | modified_ |
Indicates whether the options are modified or not. More... | |
std::string | name_ |
Name of the options. More... | |
Represents the options of a GUI.
Base class for GUI options. This class provides handling of options common to all GUIs. If a GUI needs application specific options, specialized options class can be derived from this class. See design documentation for details. This class implements the Serializable interface because the options are going to be stored in an xml configuration file.
Definition at line 58 of file GUIOptions.hh.
|
private |
Table for keyboard shortcuts.
Definition at line 164 of file GUIOptions.hh.
|
private |
Table for the toolbar separator positions.
Definition at line 162 of file GUIOptions.hh.
|
private |
Table for toolbar buttons.
Definition at line 166 of file GUIOptions.hh.
Layout of the buttons in the toolbar.
Enumerator | |
---|---|
TEXT | Buttons contains only text. |
ICON | Buttons contains only icon. |
BOTH | Buttons contains text and icon. |
Definition at line 64 of file GUIOptions.hh.
GUIOptions::GUIOptions | ( | std::string | name | ) |
GUIOptions::GUIOptions | ( | const GUIOptions & | old | ) |
Copy constructor.
This constructor creates identical options with the given options class.
Definition at line 93 of file GUIOptions.cc.
References fullScreen_, keyboardShortcuts_, modified_, toolbarButtons_, toolbarLayout_, toolbarSeparators_, toolbarVisibility_, windowHeight_, windowWidth_, xPosition_, and yPosition_.
GUIOptions::GUIOptions | ( | const ObjectState * | state | ) |
Constructor.
Loads the state from the given ObjectState tree.
state | The ObjectState tree. |
ObjectStateLoadingException | If the given ObjectState tree is invalid. |
Definition at line 84 of file GUIOptions.cc.
References loadState().
|
virtual |
Destructor.
Definition at line 125 of file GUIOptions.cc.
References deleteAllKeyboardShortcuts(), and deleteAllToolbarButtons().
void GUIOptions::addKeyboardShortcut | ( | KeyboardShortcut * | shortcut | ) |
Adds a keyboard shortcut.
shortcut | Keyboard shortcut to be added. |
Definition at line 280 of file GUIOptions.cc.
References keyboardShortcuts_, and modified_.
Referenced by Proxim::createDefaultOptions(), ProDe::createDefaultOptions(), loadState(), and OptionsDialog::writeOptions().
void GUIOptions::addSeparator | ( | int | position | ) |
Adds a separator to the toolbar to the given position.
position | Number of the slot left side of which the separator is drawn. |
Definition at line 305 of file GUIOptions.cc.
References modified_, and toolbarSeparators_.
Referenced by Proxim::createDefaultOptions(), ProDe::createDefaultOptions(), loadState(), and OptionsDialog::writeOptions().
void GUIOptions::addToolbarButton | ( | ToolbarButton * | button | ) |
Adds the given button to the toolbar.
button | Button to be added. |
Definition at line 292 of file GUIOptions.cc.
References modified_, and toolbarButtons_.
Referenced by Proxim::createDefaultOptions(), ProDe::createDefaultOptions(), loadState(), and OptionsDialog::writeOptions().
void GUIOptions::clearModified | ( | ) |
Clears the modified flag.
The isModified method returns false after calling this method.
Definition at line 502 of file GUIOptions.cc.
References modified_.
Referenced by Proxim::loadOptions(), and ProDe::OnInit().
wxToolBar * GUIOptions::createToolbar | ( | wxWindow * | parent, |
CommandRegistry & | registry, | ||
const wxString & | iconsPath | ||
) |
Creates a toolbar defined in the options.
parent | Parent window of the created toolbar. |
registry | Command registry containing the toolbar commands. |
iconPath | Path of the toolbar icon files. |
Definition at line 768 of file GUIOptions.cc.
References ToolbarButton::action(), assert, BOTH, CommandRegistry::commandIcon(), CommandRegistry::commandId(), CommandRegistry::commandShortName(), FileSystem::DIRECTORY_SEPARATOR, firstSeparator(), firstToolbarButton(), ICON, CommandRegistry::isEnabled(), nextSeparator(), nextToolbarButton(), ToolbarButton::slot(), TEXT, toolbarLayout(), WxConversion::toString(), and WxConversion::toWxString().
|
protected |
Deletes all the keyboard shortcuts.
Definition at line 745 of file GUIOptions.cc.
References SequenceTools::deleteAllItems(), and keyboardShortcuts_.
Referenced by ProDeOptions::loadState(), loadState(), and ~GUIOptions().
|
protected |
Deletes all the toolbar buttons.
Definition at line 754 of file GUIOptions.cc.
References SequenceTools::deleteAllItems(), and toolbarButtons_.
Referenced by ProDeOptions::loadState(), loadState(), and ~GUIOptions().
void GUIOptions::deleteKeyboardShortcut | ( | KeyboardShortcut * | shortcut | ) |
Deletes the given keyboard shortcut.
shortcut | The keyboard shortcut to be deleted. |
Definition at line 317 of file GUIOptions.cc.
References keyboardShortcuts_, and modified_.
Referenced by OptionsDialog::writeOptions().
void GUIOptions::deleteSeparator | ( | int | position | ) |
Deletes a separator from the given position.
position | The slot position left side of which the separator is deleted. |
Definition at line 358 of file GUIOptions.cc.
References modified_, and toolbarSeparators_.
Referenced by OptionsDialog::writeOptions().
void GUIOptions::deleteToolbarButton | ( | ToolbarButton * | button | ) |
Deletes the given toolbar button.
button | The toolbar button to be deleted. |
Definition at line 337 of file GUIOptions.cc.
References modified_, and toolbarButtons_.
Referenced by OptionsDialog::writeOptions().
string GUIOptions::fileName | ( | ) | const |
Returns the file name assigned to these options.
Definition at line 621 of file GUIOptions.cc.
References fileName_.
Referenced by setFileName().
int GUIOptions::firstSeparator | ( | ) | const |
Returns position of the first toolbar separator. Position is the position of the slot left side of which the separator is. If there are no separators, returns -1.
Definition at line 468 of file GUIOptions.cc.
References separatorIter_, and toolbarSeparators_.
Referenced by createToolbar(), OptionsDialog::readOptions(), and OptionsDialog::writeOptions().
KeyboardShortcut * GUIOptions::firstShortcut | ( | ) | const |
Returns the first keyboard shortcut. If there are no keyboard shortcuts, returns null pointer.
Definition at line 397 of file GUIOptions.cc.
References keyboardShortcuts_, and ksIter_.
Referenced by OptionsDialog::readOptions(), and OptionsDialog::writeOptions().
ToolbarButton * GUIOptions::firstToolbarButton | ( | ) | const |
Returns the first toolbar button. Returns null pointer if there are no toolbar buttons.
Definition at line 432 of file GUIOptions.cc.
References tbIter_, and toolbarButtons_.
Referenced by createToolbar(), OptionsDialog::readOptions(), validate(), and OptionsDialog::writeOptions().
bool GUIOptions::fullScreen | ( | ) | const |
Returns true, if the application window opens in full screen mode as default, otherwise false.
Definition at line 139 of file GUIOptions.cc.
References fullScreen_.
Referenced by setFullScreen().
bool GUIOptions::hasFileName | ( | ) | const |
Checks whether these options has file name assigned.
Definition at line 607 of file GUIOptions.cc.
References fileName_.
bool GUIOptions::isModified | ( | ) | const |
Returns true if the options are modified.
Definition at line 513 of file GUIOptions.cc.
References modified_.
KeyboardShortcut * GUIOptions::keyboardShortcut | ( | const std::string | commandName | ) | const |
Returns keyboard shortcut for the command with given name.
commandName | Name of the command to search shortcut for. |
Definition at line 377 of file GUIOptions.cc.
References keyboardShortcuts_.
|
virtual |
Loads the state of the object from the given ObjectState object.
state | ObjectState from which the state is loaded. |
ObjectStateLoadingException | If the given ObjectState instance is invalid. |
Implements Serializable.
Reimplemented in ProDeOptions.
Definition at line 645 of file GUIOptions.cc.
References addKeyboardShortcut(), addSeparator(), addToolbarButton(), BOTH, ObjectState::child(), ObjectState::childCount(), deleteAllKeyboardShortcuts(), deleteAllToolbarButtons(), fullScreen_, ICON, ObjectState::intAttribute(), ObjectState::name(), OSKEY_FULL_SCREEN, OSKEY_POSITION, OSKEY_TOOLBAR_LAYOUT, OSKEY_TOOLBAR_VISIBILITY, OSKEY_WINDOW_HEIGHT, OSKEY_WINDOW_WIDTH, OSKEY_X_POS, OSKEY_Y_POS, KeyboardShortcut::OSNAME_KEYBOARD_SHORTCUT, OSNAME_OPTIONS, OSNAME_SEPARATOR, ToolbarButton::OSNAME_TOOLBAR_BUTTON, OSVALUE_BOTH, OSVALUE_ICON, OSVALUE_TEXT, ObjectState::stringAttribute(), TEXT, toolbarLayout_, toolbarVisibility_, windowHeight_, windowWidth_, xPosition_, and yPosition_.
Referenced by GUIOptions(), and ProDeOptions::loadState().
int GUIOptions::nextSeparator | ( | ) | const |
Returns always position of the next toolbar separator. If there are no more separators, returns -1.
Definition at line 485 of file GUIOptions.cc.
References assert, separatorIter_, and toolbarSeparators_.
Referenced by createToolbar(), and OptionsDialog::readOptions().
KeyboardShortcut * GUIOptions::nextShortcut | ( | ) | const |
Returns the always the next keyboard shortcut after firstShortcut has been called. Returns null pointer after the last keyboard shortcut.
Definition at line 414 of file GUIOptions.cc.
References assert, keyboardShortcuts_, and ksIter_.
Referenced by OptionsDialog::readOptions().
ToolbarButton * GUIOptions::nextToolbarButton | ( | ) | const |
Returns always the next toolbar button after the firstToolbarButton has been called.
Definition at line 449 of file GUIOptions.cc.
References assert, tbIter_, and toolbarButtons_.
Referenced by createToolbar(), OptionsDialog::readOptions(), and validate().
|
virtual |
Creates an ObjectState object and saves the state of the object into it.
Implements Serializable.
Reimplemented in ProDeOptions.
Definition at line 700 of file GUIOptions.cc.
References ObjectState::addChild(), fullScreen_, ICON, keyboardShortcuts_, OSKEY_FULL_SCREEN, OSKEY_POSITION, OSKEY_TOOLBAR_LAYOUT, OSKEY_TOOLBAR_VISIBILITY, OSKEY_WINDOW_HEIGHT, OSKEY_WINDOW_WIDTH, OSKEY_X_POS, OSKEY_Y_POS, OSNAME_OPTIONS, OSNAME_SEPARATOR, OSVALUE_BOTH, OSVALUE_ICON, OSVALUE_TEXT, ToolbarButton::saveState(), KeyboardShortcut::saveState(), ObjectState::setAttribute(), TEXT, toolbarButtons_, toolbarLayout_, toolbarSeparators_, toolbarVisibility_, windowHeight_, windowWidth_, xPosition_, and yPosition_.
Referenced by ProDeOptions::saveState().
void GUIOptions::setFileName | ( | const std::string & | fileName | ) |
Sets the file name assigned into these options.
fileName | The file name assigned into these options. |
Definition at line 632 of file GUIOptions.cc.
References fileName(), and fileName_.
Referenced by Proxim::createDefaultOptions(), Proxim::loadOptions(), and ProDe::OnInit().
void GUIOptions::setFullScreen | ( | bool | fullScreen | ) |
Sets or unsets the default full screen mode of the application window.
fullScreen | If true, the full screen mode is set, otherwise unset. |
Definition at line 216 of file GUIOptions.cc.
References fullScreen(), fullScreen_, and modified_.
Referenced by ProDe::createDefaultOptions().
void GUIOptions::setToolbarLayout | ( | ToolbarLayout | layout | ) |
Sets the layout of the toolbar buttons.
layout | Layout of the toolbar buttons. |
Definition at line 268 of file GUIOptions.cc.
References modified_, and toolbarLayout_.
Referenced by Proxim::createDefaultOptions(), ProDe::createDefaultOptions(), and OptionsDialog::writeOptions().
void GUIOptions::setToolbarVisibility | ( | bool | visible | ) |
Sets the visibility mode of the toolbar.
visible | If true, the toolbar is visible, otherwise it is hidden. |
Definition at line 256 of file GUIOptions.cc.
References modified_, and toolbarVisibility_.
Referenced by Proxim::createDefaultOptions(), and ProDe::createDefaultOptions().
void GUIOptions::setWindowPosition | ( | int | x, |
int | y | ||
) |
Sets the default position of the window.
x | X-coordinate of left side of the application window. |
y | Y-coordinate of upper side of the application window. |
Definition at line 243 of file GUIOptions.cc.
References modified_, xPosition_, and yPosition_.
Referenced by ProDe::createDefaultOptions().
void GUIOptions::setWindowSize | ( | int | width, |
int | height | ||
) |
Sets the default application window size.
width | Pixel width of the window. |
height | Pixel height of the window. |
Definition at line 229 of file GUIOptions.cc.
References modified_, windowHeight_, and windowWidth_.
Referenced by ProDe::createDefaultOptions().
GUIOptions::ToolbarLayout GUIOptions::toolbarLayout | ( | ) | const |
Returns the layout mode of the toolbar.
Definition at line 205 of file GUIOptions.cc.
References toolbarLayout_.
Referenced by createToolbar(), and OptionsDialog::readOptions().
bool GUIOptions::toolbarVisibility | ( | ) | const |
Returns true if the toolbar is visible by default, otherwise false.
Definition at line 194 of file GUIOptions.cc.
References toolbarVisibility_.
|
virtual |
Validates the state of the options.
Checks that there is no gaps in toolbar item positions and no two items at the same position. Additionally checks that there is no same keyboard shortcuts for several actions and no two keyboard shortcuts for the same action.
InvalidData | If the options are in invalid state. |
Definition at line 529 of file GUIOptions.cc.
References KeyboardShortcut::action(), KeyboardShortcut::equals(), firstToolbarButton(), keyboardShortcuts_, nextToolbarButton(), ToolbarButton::slot(), toolbarButtons_, toolbarSeparators_, and Conversion::toString().
Referenced by Proxim::loadOptions(), and ProDe::OnInit().
int GUIOptions::windowHeight | ( | ) | const |
Returns the default height of the application window.
Definition at line 161 of file GUIOptions.cc.
References windowHeight_.
Referenced by ProDe::OnInit().
int GUIOptions::windowWidth | ( | ) | const |
Returns the default width of the application window.
Definition at line 150 of file GUIOptions.cc.
References windowWidth_.
Referenced by ProDe::OnInit().
int GUIOptions::xPosition | ( | ) | const |
Returns the default x position of left side of the application window.
Definition at line 172 of file GUIOptions.cc.
References xPosition_.
Referenced by ProDe::OnInit().
int GUIOptions::yPosition | ( | ) | const |
Returns the default y position of upper side of the application window.
Definition at line 183 of file GUIOptions.cc.
References yPosition_.
Referenced by ProDe::OnInit().
|
private |
File name assigned to these options.
Definition at line 169 of file GUIOptions.hh.
Referenced by fileName(), hasFileName(), and setFileName().
|
private |
If true, the application window will open in full screen mode.
Definition at line 171 of file GUIOptions.hh.
Referenced by fullScreen(), GUIOptions(), loadState(), saveState(), and setFullScreen().
|
private |
Keyboard shortcuts.
Definition at line 187 of file GUIOptions.hh.
Referenced by addKeyboardShortcut(), deleteAllKeyboardShortcuts(), deleteKeyboardShortcut(), firstShortcut(), GUIOptions(), keyboardShortcut(), nextShortcut(), saveState(), and validate().
|
mutableprivate |
Iterator used in firstShortcut and nextShortcut functions.
Definition at line 192 of file GUIOptions.hh.
Referenced by firstShortcut(), and nextShortcut().
|
private |
Indicates whether the options are modified or not.
Definition at line 199 of file GUIOptions.hh.
Referenced by addKeyboardShortcut(), addSeparator(), addToolbarButton(), clearModified(), deleteKeyboardShortcut(), deleteSeparator(), deleteToolbarButton(), GUIOptions(), isModified(), setFullScreen(), setToolbarLayout(), setToolbarVisibility(), setWindowPosition(), and setWindowSize().
|
private |
Name of the options.
Definition at line 201 of file GUIOptions.hh.
|
static |
ObjectState attribute key for full screen feature.
Definition at line 131 of file GUIOptions.hh.
Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), GUIOptionsSerializer::convertToOptionsObjectFormat(), loadState(), saveState(), and GUIOptionsSerializer::setWindowProperties().
|
static |
ObjectState attribute key for separator position.
Definition at line 153 of file GUIOptions.hh.
Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), loadState(), saveState(), and GUIOptionsSerializer::setToolbarProperties().
|
static |
ObjectState attribute key for toolbar layout.
Definition at line 143 of file GUIOptions.hh.
Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), GUIOptionsSerializer::convertToOptionsObjectFormat(), loadState(), saveState(), and GUIOptionsSerializer::setToolbarProperties().
|
static |
ObjectState attribute key for toolbar visibility.
Definition at line 141 of file GUIOptions.hh.
Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), GUIOptionsSerializer::convertToOptionsObjectFormat(), loadState(), saveState(), and GUIOptionsSerializer::setToolbarProperties().
|
static |
ObjectState attribute key for window height.
Definition at line 135 of file GUIOptions.hh.
Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), GUIOptionsSerializer::convertToOptionsObjectFormat(), loadState(), saveState(), and GUIOptionsSerializer::setWindowProperties().
|
static |
ObjectState attribute key for window width.
Definition at line 133 of file GUIOptions.hh.
Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), GUIOptionsSerializer::convertToOptionsObjectFormat(), loadState(), saveState(), and GUIOptionsSerializer::setWindowProperties().
|
static |
ObjectState attribute key for window x position.
Definition at line 137 of file GUIOptions.hh.
Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), GUIOptionsSerializer::convertToOptionsObjectFormat(), loadState(), saveState(), and GUIOptionsSerializer::setWindowProperties().
|
static |
ObjectState attribute key for window y position.
Definition at line 139 of file GUIOptions.hh.
Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), GUIOptionsSerializer::convertToOptionsObjectFormat(), loadState(), saveState(), and GUIOptionsSerializer::setWindowProperties().
|
static |
ObjectState name for the options.
Definition at line 129 of file GUIOptions.hh.
Referenced by GUIOptionsSerializer::convertToOptionsObjectFormat(), loadState(), and saveState().
|
static |
ObjectState name for separator.
Definition at line 151 of file GUIOptions.hh.
Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), loadState(), saveState(), and GUIOptionsSerializer::setToolbarProperties().
|
static |
ObjectState attribute value for text & icon layout.
Definition at line 149 of file GUIOptions.hh.
Referenced by GUIOptionsSerializer::convertToOptionsObjectFormat(), loadState(), saveState(), and GUIOptionsSerializer::setToolbarProperties().
|
static |
ObjectState attribute value for icon layout.
Definition at line 147 of file GUIOptions.hh.
Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), loadState(), saveState(), and GUIOptionsSerializer::setToolbarProperties().
|
static |
ObjectState attribute value for text layout.
Definition at line 145 of file GUIOptions.hh.
Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), loadState(), saveState(), and GUIOptionsSerializer::setToolbarProperties().
|
mutableprivate |
Iterator used in firstSeparator and nextSeparator functions.
Definition at line 196 of file GUIOptions.hh.
Referenced by firstSeparator(), and nextSeparator().
|
mutableprivate |
Iterator used in firstToolbarButton and nextToolbarButton functions.
Definition at line 194 of file GUIOptions.hh.
Referenced by firstToolbarButton(), and nextToolbarButton().
|
static |
Toolbar separator name.
Definition at line 127 of file GUIOptions.hh.
Referenced by OptionsDialog::readOptions(), OptionsDialog::TransferDataToWindow(), and OptionsDialog::writeOptions().
|
private |
Toolbar buttons.
Definition at line 189 of file GUIOptions.hh.
Referenced by addToolbarButton(), deleteAllToolbarButtons(), deleteToolbarButton(), firstToolbarButton(), GUIOptions(), nextToolbarButton(), saveState(), and validate().
|
private |
Layout of the toolbar.
Definition at line 183 of file GUIOptions.hh.
Referenced by GUIOptions(), loadState(), saveState(), setToolbarLayout(), and toolbarLayout().
|
private |
Toolbar separators.
Definition at line 185 of file GUIOptions.hh.
Referenced by addSeparator(), deleteSeparator(), firstSeparator(), GUIOptions(), nextSeparator(), saveState(), and validate().
|
private |
If true, the toolbar is visible.
Definition at line 181 of file GUIOptions.hh.
Referenced by GUIOptions(), loadState(), saveState(), setToolbarVisibility(), and toolbarVisibility().
|
private |
Default height of the window.
Definition at line 175 of file GUIOptions.hh.
Referenced by GUIOptions(), loadState(), saveState(), setWindowSize(), and windowHeight().
|
private |
Default width of the window.
Definition at line 173 of file GUIOptions.hh.
Referenced by GUIOptions(), loadState(), saveState(), setWindowSize(), and windowWidth().
|
private |
Default x position of left side of the application window.
Definition at line 177 of file GUIOptions.hh.
Referenced by GUIOptions(), loadState(), saveState(), setWindowPosition(), and xPosition().
|
private |
Default y position of the upper side of the application window.
Definition at line 179 of file GUIOptions.hh.
Referenced by GUIOptions(), loadState(), saveState(), setWindowPosition(), and yPosition().