Signals | Public Member Functions | Static Public Member Functions

SCDataModel Class Reference
[DataModel]

#include <scdatamodel.h>

Collaboration diagram for SCDataModel:
Collaboration graph
[legend]

List of all members.

Signals

void openCompleted (bool sucess, QStringList message)
void newStateSignal (SCState *newState)
void newTransitionSignal (SCTransition *newTransition)

Public Member Functions

void open (QString scxmlFile)
bool save (QString scxmlFile, QString &message)
void initializeEmptyStateMachine ()
void getStates (QList< SCState * > &list)
void getAllStates (QList< SCState * > &list)
SCStategetStateByName (QString name)
SCTransitiongetTransitionByName (QString name)
QObject * getItemByName (QString name)
SCStategetTopState ()
void setScene (QGraphicsScene *scene)
QGraphicsScene * getScene ()
SCStateinsertNewState (SCState *parent)
SCTransitioninsertNewTransition (SCState *source, QString event)
void logError (QString message)
 inform the user there was an error
void logInfo (QString message)
 inform the user of anything that is not an error such as progress, etc

Static Public Member Functions

static SCDataModelsingleton ()
static SCStategetAsState (QObject *)
static SCTransitiongetAsTransition (QObject *)
static TextBlockgetAsTextBlock (QObject *)

Member Function Documentation

void SCDataModel::getAllStates ( QList< SCState * > &  list  ) 

Here is the call graph for this function:

SCState * SCDataModel::getAsState ( QObject *  o  )  [static]
TextBlock * SCDataModel::getAsTextBlock ( QObject *  o  )  [static]
SCTransition * SCDataModel::getAsTransition ( QObject *  o  )  [static]
QObject * SCDataModel::getItemByName ( QString  name  ) 

Here is the call graph for this function:

QGraphicsScene * SCDataModel::getScene (  ) 

Here is the caller graph for this function:

SCState * SCDataModel::getStateByName ( QString  name  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void SCDataModel::getStates ( QList< SCState * > &  list  ) 

Here is the call graph for this function:

SCState * SCDataModel::getTopState (  ) 

Here is the caller graph for this function:

SCTransition * SCDataModel::getTransitionByName ( QString  name  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void SCDataModel::initializeEmptyStateMachine (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

SCState * SCDataModel::insertNewState ( SCState parent  ) 

Here is the call graph for this function:

SCTransition * SCDataModel::insertNewTransition ( SCState source,
QString  event 
)

Here is the call graph for this function:

void SCDataModel::logError ( QString  message  ) 

inform the user there was an error

Here is the caller graph for this function:

void SCDataModel::logInfo ( QString  message  ) 

inform the user of anything that is not an error such as progress, etc

void SCDataModel::newStateSignal ( SCState newState  )  [signal]

Here is the caller graph for this function:

void SCDataModel::newTransitionSignal ( SCTransition newTransition  )  [signal]

Here is the caller graph for this function:

void SCDataModel::open ( QString  scxmlFile  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void SCDataModel::openCompleted ( bool  sucess,
QStringList  message 
) [signal]
bool SCDataModel::save ( QString  scxmlFile,
QString &  message 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void SCDataModel::setScene ( QGraphicsScene *  scene  ) 

Here is the caller graph for this function:

SCDataModel * SCDataModel::singleton (  )  [static]

Here is the caller graph for this function:


The documentation for this class was generated from the following files: