Functions

C:/CVUT/diplomka/Automata_editor/sources/transforms.h File Reference

#include <QString>
#include <QStringList>
#include <QPen>
#include <QtDebug>
Include dependency graph for transforms.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

QString toMarkerColor (const QString &color)
 compute marker color to be sure that change will be visible enough
int trAngleFromDirection (int dir)
QString trBool (bool is)
bool trBool (const QString &is)
int trCLoopDirection (int trLoopDirection)
Qt::BrushStyle trFillStatus (int i)
Qt::BrushStyle trFillStatus (const QString &status)
QString trFillStatus (const Qt::BrushStyle &status)
int trFillStatusI (const Qt::BrushStyle &status)
Qt::PenStyle trLineStyle (const QString &style)
QString trLineStyle (const Qt::PenStyle &style)
Qt::PenStyle trLineStyle (int i)
int trLineStyleI (const Qt::PenStyle &style)
int trLoopDirection (int trCLoopDirection)
int trLoopType (int direction)
int trLoopVarDirection (int trLoopDirection)
QString trMouseAction (unsigned char mouseAction)
 keep this consistent with definition in "editor.h"

Function Documentation

QString toMarkerColor ( const QString &  color  )  [inline]

compute marker color to be sure that change will be visible enough

Definition at line 41 of file transforms.h.

Referenced by State::setMarked().

Here is the caller graph for this function:

int trAngleFromDirection ( int  dir  )  [inline]

Definition at line 169 of file transforms.h.

References EAST, NORTH, NORTH_EAST, NORTH_WEST, RELLOG, SOUTH, SOUTH_EAST, SOUTH_WEST, and WEST.

Referenced by TransitionLoop::adjust().

Here is the caller graph for this function:

QString trBool ( bool  is  )  [inline]

Definition at line 119 of file transforms.h.

Referenced by Editor::exportToGraphML().

Here is the caller graph for this function:

bool trBool ( const QString &  is  )  [inline]

Definition at line 126 of file transforms.h.

int trCLoopDirection ( int  trLoopDirection  )  [inline]

Definition at line 133 of file transforms.h.

References SOUTH_WEST.

Referenced by Parser::Loop().

Here is the caller graph for this function:

Qt::BrushStyle trFillStatus ( int  i  )  [inline]

Definition at line 109 of file transforms.h.

Qt::BrushStyle trFillStatus ( const QString &  status  )  [inline]

Definition at line 101 of file transforms.h.

QString trFillStatus ( const Qt::BrushStyle &  status  )  [inline]

Definition at line 82 of file transforms.h.

Referenced by Editor::exportToGraphML(), StateExtendedDialog::getFillStatus(), State::getVCParams(), StateStyleDialog::myAccept(), and Editor::saveVCSettings().

Here is the caller graph for this function:

int trFillStatusI ( const Qt::BrushStyle &  status  )  [inline]

Definition at line 91 of file transforms.h.

Referenced by StateExtendedDialog::setParams(), and StateStyleDialog::setParams().

Here is the caller graph for this function:

Qt::PenStyle trLineStyle ( const QString &  style  )  [inline]

Definition at line 66 of file transforms.h.

QString trLineStyle ( const Qt::PenStyle &  style  )  [inline]
Qt::PenStyle trLineStyle ( int  i  )  [inline]

Definition at line 73 of file transforms.h.

int trLineStyleI ( const Qt::PenStyle &  style  )  [inline]

Definition at line 57 of file transforms.h.

Referenced by TransitionExtendedDialog::setParams(), StateExtendedDialog::setParams(), TransitionStyleDialog::setParams(), and StateStyleDialog::setParams().

Here is the caller graph for this function:

int trLoopDirection ( int  trCLoopDirection  )  [inline]

Definition at line 143 of file transforms.h.

References SOUTH_WEST.

Referenced by Parser::OneStateTransition().

Here is the caller graph for this function:

int trLoopType ( int  direction  )  [inline]

Definition at line 156 of file transforms.h.

References SOUTH_WEST.

int trLoopVarDirection ( int  trLoopDirection  )  [inline]

Definition at line 138 of file transforms.h.

References SOUTH_WEST.

Referenced by Parser::Loop().

Here is the caller graph for this function:

QString trMouseAction ( unsigned char  mouseAction  )  [inline]

keep this consistent with definition in "editor.h"

Definition at line 200 of file transforms.h.

References RELLOG.

Referenced by Editor::mousePressEvent().

Here is the caller graph for this function: