#include <Options.h>
Inheritance diagram for Options::
Public Methods | |
Options (QObject *parent=NULL, const char *name=0) | |
Constructor. More... | |
bool | getViewMoore () |
Returns TRUE if moore outputs should be displayed otherwise FALSE. | |
void | setViewMoore (bool v) |
If v is TRUE moore outputs will be displayed otherwise not. | |
bool | getViewMealyIn () |
Returns TRUE if mealy inputs should be displayed otherwise FALSE. | |
void | setViewMealyIn (bool v) |
If v is TRUE mealy inputs will be displayed otherwise not. | |
bool | getViewMealyOut () |
Returns TRUE if mealy outputs should be displayed otherwise FALSE. | |
void | setViewMealyOut (bool v) |
If v is TRUE mealy outputs will be displayed otherwise not. | |
bool | getViewGrid () |
Returns TRUE if the grid is displayed otherwise FALSE. | |
void | setViewGrid (bool v) |
If v is TRUE the grid will be displayed otherwise not. | |
QColor | getGridColor () |
Gets the color of the grid. | |
void | setGridColor (QColor c) |
Sets the color of the grid. | |
int | getGridSize () |
Gets the grid size. | |
void | setGridSize (int s) |
Sets the grid size. | |
bool | getToolTips () |
Returns the 'show tooltips' flag. | |
void | setToolTips (bool t) |
Sets the 'show tooltips' flag. | |
QString | getStartDescriptor () |
Returns the start transition descriptor. | |
void | setStartDescriptor (QString sd) |
Sets the start transition descriptor to sd. | |
void | applyOptions (MainWindow *) |
Applies the options from the tab dialogs with the options. | |
Private Attributes | |
bool | viewMoore |
If TRUE, moore outputs are shown. | |
bool | viewMealyIn |
If TRUE, mealy inputs are shown. | |
bool | viewMealyOut |
If TRUE, mealy outputs are shown. | |
bool | viewGrid |
If TRUE, the grid is shown. | |
QColor | gridColor |
Grid color. | |
int | gridSize |
Grid size. | |
bool | tooltips |
If TRUE tooltips are shown. | |
QString | start_descriptor |
Start transition descriptor. |
|
Constructor. Initialises the options object with standard values. |