Public Types | |
enum | COLORTYPES { BackgroundColor = 1, NormalColor = 2, TypeColor = 3, TextColor = 4, LeafColor = 5, TreeColor = 6, TreeLineColor = 7, ErrorColor = 8, HiddenColor = 9, MarkerColor = 10, FoundColor = 11, DifferentNodeColor = 12, ArcLabelColor = 13, ArcLabelBgColor = 14 } |
Contants in this enum are passed to changeColorSlot in order to specify what color value is to be changed. More... | |
enum | FONTTYPES { NormalFont = 1, TypeFont = 2, TextFont = 3, LeafFont = 4, TreeFont = 5, ErrorFont = 6, ArcLabelFont = 7 } |
Contants in this enum are passed to changeFontSlot in order to specify which font is to be changed. More... | |
Public Slots | |
void | changeColorSlot (int what, QWidget *parent) |
Shows the color dialog. | |
void | changeFontSlot (int what) |
Shows the font dialog. | |
void | readOptionFromConfig () |
Reads in all options from a KDE-style config file (Grisurc). | |
void | writeOptionFromConfig () |
Writes all options to a KDE-style config file (Grisurc). | |
void | copyFromLocal (Options &) |
Copies all options from op into this . | |
Public Member Functions | |
Options () | |
Creates a new Options object with default values. | |
Options (Options &) | |
Copy constructor. | |
~Options () | |
Destroys the options instance. | |
void | writePrinterOptions (QPrinter &printer) |
Writes all settings in the given printer dialog to the configuration file. | |
void | readPrinterOptions (QPrinter &printer) |
Initializes a printer dialog with options from the configuration file. | |
Public Attributes | |
QColor | backgroundColor |
The background color. | |
QColor | normalColor |
The color of features, tags and other visual objects like brackets. | |
QColor | typeColor |
The color of types. | |
QColor | textColor |
The color of atoms. | |
QColor | errorColor |
Error color. | |
QColor | treeColor |
The color of inner nodes in a tree. | |
QColor | treeLineColor |
The color of the lines connecting nodes in a tree. | |
QColor | leafColor |
The color of leaves in a tree. | |
QColor | hiddenColor |
The color of hidden nodes. | |
QColor | markerColor |
The color of a structure marker (used in highlight). | |
QColor | foundColor |
The color of a found marker. | |
QColor | differentNodeColor |
The color of a marker indicating different nodes (in a diff). | |
QColor | arclabelColor |
The text color the text of an arc label in a tree. | |
QColor | arclabelBgColor |
The background color of an arc label in a tree. | |
QFont | normalFont |
The font of features, tags and other visual objects like brackets. | |
QFont | typeFont |
The font of types. | |
QFont | textFont |
The font of atoms. | |
QFont | treeFont |
The font of inner tree nodes. | |
QFont | leafFont |
The font of leaves in a tree. | |
QFont | errorFont |
Error font. | |
QFont | arclabelFont |
The font of edge labels in a tree. | |
int | treeLineWidth |
The width of the lines representing edges in a tree. | |
int | offset |
The amount of space between nodes (the "Structure Spacing" value modifiable in the GUI). | |
bool | drawHidden |
true if grayed-out placeholders should be shown for hidden nodes. | |
bool | fitToDrawing |
true if view windows should automatically adjust their size to that of the structures displayed. | |
bool | autoOpenWindows |
true if a view window is to be opened automatically when new data arrives. | |
bool | expandReentrancies |
true if reentrancies are to expanded automatically when a window opens. | |
bool | highlightStructures |
true if structures are to be highlighted when the user points on them with the mouse. | |
bool | writeConfig |
Currently not used. | |
bool | showAppName |
If this option is set to true , the application name is shown in view windows in addition to the name supplied by the document. | |
bool | useKFileDialog |
If this option is set to true , KFileDialog is used instead of QFileDialog in all file operations. |
|
Contants in this enum are passed to changeColorSlot in order to specify what color value is to be changed.
|
|
Contants in this enum are passed to changeFontSlot in order to specify which font is to be changed.
|
|
Creates a new Options object with default values.
|
|
Copy constructor.
|
|
Destroys the options instance.
|
|
Shows the color dialog.
|
|
Shows the font dialog.
|
|
Copies all options from
|
|
Reads in all options from a KDE-style config file (Grisurc).
|
|
Initializes a printer dialog with options from the configuration file.
|
|
Writes all options to a KDE-style config file (Grisurc).
|
|
Writes all settings in the given printer dialog to the configuration file.
|
|
The background color of an arc label in a tree.
|
|
The text color the text of an arc label in a tree.
|
|
The font of edge labels in a tree.
|
|
|
|
The background color.
|
|
The color of a marker indicating different nodes (in a diff).
|
|
|
|
Error color.
|
|
Error font.
|
|
|
|
|
|
The color of a found marker.
|
|
The color of hidden nodes.
|
|
|
|
The color of leaves in a tree.
|
|
The font of leaves in a tree.
|
|
The color of a structure marker (used in highlight).
|
|
The color of features, tags and other visual objects like brackets.
|
|
The font of features, tags and other visual objects like brackets.
|
|
The amount of space between nodes (the "Structure Spacing" value modifiable in the GUI).
|
|
If this option is set to
|
|
The color of atoms.
|
|
The font of atoms.
|
|
The color of inner nodes in a tree.
|
|
The font of inner tree nodes.
|
|
The color of the lines connecting nodes in a tree.
|
|
The width of the lines representing edges in a tree.
|
|
The color of types.
|
|
The font of types.
|
|
If this option is set to
|
|
Currently not used.
|