OpenASIP  2.0
Variables
GUIOptionsSerializer.cc File Reference
#include "Application.hh"
#include "GUIOptionsSerializer.hh"
#include "KeyboardShortcut.hh"
#include "Conversion.hh"
#include "GUIOptions.hh"
#include "ObjectState.hh"
Include dependency graph for GUIOptionsSerializer.cc:

Go to the source code of this file.

Variables

const string WINDOW = "window"
 Name of the element containing window declaration. More...
 
const string WI_FULLSCREEN = "full-screen"
 Name of the full-screen element inside window element. More...
 
const string WI_WIDTH = "width"
 Name of the element declaring window width. More...
 
const string WI_HEIGHT = "height"
 Name of the element declaring window height. More...
 
const string WI_X_POSITION = "x-position"
 Name of the element declaring x position of the window. More...
 
const string WI_Y_POSITION = "y-position"
 Name of the element declaring y position of the window. More...
 
const string TOOLBAR = "toolbar"
 Name of the element containing toolbar declaration. More...
 
const string TB_LAYOUT = "layout"
 Name of the element containing toolbar layout declaration. More...
 
const string TB_LA_TEXT = "text"
 Name of the text element inside layout element. More...
 
const string TB_LA_ICON = "icon"
 Name of the icon element insie layout element. More...
 
const string TB_VISIBLE = "visible"
 Name of the element declaring toolbar visibility. More...
 
const string TRUE = "true"
 Value used for true in attribute and element values. More...
 
const string FALSE = "false"
 Value used for false in attribute and element values. More...
 
const string TB_SLOT = "slot"
 Name of the element declaring a toolbar button. More...
 
const string SLOT_POSITION = "position"
 Name of the attribute of the slot element. More...
 
const string TB_SLOT_ACTION = "action"
 Name of the element declaring action name inside slot element. More...
 
const string TB_SEPARATOR = "separator"
 Name of the element declaring a toolbar separator. More...
 
const string SEPARATOR_POSITION = "position"
 Name of the attribute of the separator element. More...
 
const string KEYBOARD_SHORTCUT = "keyboard-shortcut"
 Name of the element declaring a keyboard shortcut. More...
 
const string KS_KEY_COMBINATION = "key-combination"
 Name of the element declaring key combination. More...
 
const string KEY_COMB_CTRL = "ctrl"
 Name of the element meaning ctrl key in key combination. More...
 
const string KEY_COMB_ALT = "alt"
 Name of the element meaning alt key in key combination. More...
 
const string KEY_COMB_FKEY = "F-key"
 Name of the element meaning some function key in key combination. More...
 
const string FKEY_NUMBER = "number"
 Name of the attribute declaring function key number. More...
 
const string KEY_COMB_KEY = "key"
 Name of the element meaning some other key in key combination. More...
 
const string KEY_VALUE = "value"
 Name of the attribute which declares the actual key of the key element. More...
 
const string KS_ACTION = "action"
 Name of the element declaring the action performed by the keyboard shortcut. More...
 
const int DEFAULT_WIDTH = 600
 Default window width. More...
 
const int DEFAULT_HEIGHT = 500
 Default window height. More...
 
const int DEFAULT_X_POS = 0
 Default x position. More...
 
const int DEFAULT_Y_POS = 0
 Default y position. More...
 
const string DELETE_KEY = "del"
 String to mean delete key. More...
 

Detailed Description

Implementation of GUIOptionsSerializer class.

Author
Lasse Laasonen 2004 (lasse.laasonen-no.spam-tut.fi)
Note
rating: red

Definition in file GUIOptionsSerializer.cc.

Variable Documentation

◆ DEFAULT_HEIGHT

const int DEFAULT_HEIGHT = 500

Default window height.

Definition at line 100 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::convertToOptionsObjectFormat().

◆ DEFAULT_WIDTH

const int DEFAULT_WIDTH = 600

Default window width.

Definition at line 98 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::convertToOptionsObjectFormat().

◆ DEFAULT_X_POS

const int DEFAULT_X_POS = 0

Default x position.

Definition at line 102 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::convertToOptionsObjectFormat().

◆ DEFAULT_Y_POS

const int DEFAULT_Y_POS = 0

Default y position.

Definition at line 104 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::convertToOptionsObjectFormat().

◆ DELETE_KEY

const string DELETE_KEY = "del"

String to mean delete key.

Definition at line 106 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::addKeyboardShortcut(), and GUIOptionsSerializer::convertToConfigFileFormat().

◆ FALSE

const string FALSE = "false"

◆ FKEY_NUMBER

const string FKEY_NUMBER = "number"

Name of the attribute declaring function key number.

Definition at line 89 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::addKeyboardShortcut(), and GUIOptionsSerializer::convertToConfigFileFormat().

◆ KEY_COMB_ALT

const string KEY_COMB_ALT = "alt"

Name of the element meaning alt key in key combination.

Definition at line 85 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::addKeyboardShortcut(), and GUIOptionsSerializer::convertToConfigFileFormat().

◆ KEY_COMB_CTRL

const string KEY_COMB_CTRL = "ctrl"

Name of the element meaning ctrl key in key combination.

Definition at line 83 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::addKeyboardShortcut(), and GUIOptionsSerializer::convertToConfigFileFormat().

◆ KEY_COMB_FKEY

const string KEY_COMB_FKEY = "F-key"

Name of the element meaning some function key in key combination.

Definition at line 87 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::addKeyboardShortcut(), and GUIOptionsSerializer::convertToConfigFileFormat().

◆ KEY_COMB_KEY

const string KEY_COMB_KEY = "key"

Name of the element meaning some other key in key combination.

Definition at line 91 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::addKeyboardShortcut(), and GUIOptionsSerializer::convertToConfigFileFormat().

◆ KEY_VALUE

const string KEY_VALUE = "value"

Name of the attribute which declares the actual key of the key element.

Definition at line 93 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::addKeyboardShortcut(), and GUIOptionsSerializer::convertToConfigFileFormat().

◆ KEYBOARD_SHORTCUT

const string KEYBOARD_SHORTCUT = "keyboard-shortcut"

Name of the element declaring a keyboard shortcut.

Definition at line 79 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), and GUIOptionsSerializer::convertToOptionsObjectFormat().

◆ KS_ACTION

const string KS_ACTION = "action"

Name of the element declaring the action performed by the keyboard shortcut.

Definition at line 95 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::addKeyboardShortcut(), and GUIOptionsSerializer::convertToConfigFileFormat().

◆ KS_KEY_COMBINATION

const string KS_KEY_COMBINATION = "key-combination"

Name of the element declaring key combination.

Definition at line 81 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::addKeyboardShortcut(), and GUIOptionsSerializer::convertToConfigFileFormat().

◆ SEPARATOR_POSITION

const string SEPARATOR_POSITION = "position"

Name of the attribute of the separator element.

Definition at line 77 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), and GUIOptionsSerializer::setToolbarProperties().

◆ SLOT_POSITION

const string SLOT_POSITION = "position"

Name of the attribute of the slot element.

Definition at line 71 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), and GUIOptionsSerializer::setToolbarProperties().

◆ TB_LA_ICON

const string TB_LA_ICON = "icon"

Name of the icon element insie layout element.

Definition at line 61 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), and GUIOptionsSerializer::setToolbarProperties().

◆ TB_LA_TEXT

const string TB_LA_TEXT = "text"

Name of the text element inside layout element.

Definition at line 59 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), and GUIOptionsSerializer::setToolbarProperties().

◆ TB_LAYOUT

const string TB_LAYOUT = "layout"

Name of the element containing toolbar layout declaration.

Definition at line 57 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), and GUIOptionsSerializer::setToolbarProperties().

◆ TB_SEPARATOR

const string TB_SEPARATOR = "separator"

Name of the element declaring a toolbar separator.

Definition at line 75 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), and GUIOptionsSerializer::setToolbarProperties().

◆ TB_SLOT

const string TB_SLOT = "slot"

Name of the element declaring a toolbar button.

Definition at line 69 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), and GUIOptionsSerializer::setToolbarProperties().

◆ TB_SLOT_ACTION

const string TB_SLOT_ACTION = "action"

Name of the element declaring action name inside slot element.

Definition at line 73 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), and GUIOptionsSerializer::setToolbarProperties().

◆ TB_VISIBLE

const string TB_VISIBLE = "visible"

Name of the element declaring toolbar visibility.

Definition at line 63 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), and GUIOptionsSerializer::setToolbarProperties().

◆ TOOLBAR

const string TOOLBAR = "toolbar"

Name of the element containing toolbar declaration.

Definition at line 55 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), and GUIOptionsSerializer::convertToOptionsObjectFormat().

◆ TRUE

const string TRUE = "true"

◆ WI_FULLSCREEN

const string WI_FULLSCREEN = "full-screen"

Name of the full-screen element inside window element.

Definition at line 45 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), and GUIOptionsSerializer::setWindowProperties().

◆ WI_HEIGHT

const string WI_HEIGHT = "height"

Name of the element declaring window height.

Definition at line 49 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), and GUIOptionsSerializer::setWindowProperties().

◆ WI_WIDTH

const string WI_WIDTH = "width"

Name of the element declaring window width.

Definition at line 47 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), and GUIOptionsSerializer::setWindowProperties().

◆ WI_X_POSITION

const string WI_X_POSITION = "x-position"

Name of the element declaring x position of the window.

Definition at line 51 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), and GUIOptionsSerializer::setWindowProperties().

◆ WI_Y_POSITION

const string WI_Y_POSITION = "y-position"

Name of the element declaring y position of the window.

Definition at line 53 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), and GUIOptionsSerializer::setWindowProperties().

◆ WINDOW

const string WINDOW = "window"

Name of the element containing window declaration.

Definition at line 43 of file GUIOptionsSerializer.cc.

Referenced by GUIOptionsSerializer::convertToConfigFileFormat(), and GUIOptionsSerializer::convertToOptionsObjectFormat().