#include <ArmarXGui/gui-plugins/StatechartEditorPlugin/StateTreeController.h>
|
StatechartGroupPtr | addNewGroup (const QString &groupName, const QString &groupPath, const QString &description, const QString &packageName, const QList< QString > proxies, bool generateContext, const QMap< QString, QString > &statechartGroupConfigurations) |
|
int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
|
StateTreeNodePtr | createNewFolder (QString name, StateTreeNodePtr parent) |
|
StateTreeNodePtr | createNewState (QString name, StateTreeNodePtr parent, bool createDynamicRemoteState=false) |
|
QVariant | data (const QModelIndex &index, int role) const override |
|
Qt::ItemFlags | flags (const QModelIndex &index) const override |
|
StateTreeNodePtr | getClosestParentFolderOrGroupNode (StateTreeNodePtr node) |
|
StateTreeNodePtr | getNode (QModelIndex index) const |
|
StateTreeNodePtr | getNodeByState (statechartmodel::StatePtr state) |
|
StateTreeNodePtr | getSelectedNode () |
|
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override |
|
QModelIndex | index (int row, int column, const QModelIndex &parentIndex=QModelIndex()) const override |
|
void | loadAllStates () |
|
StatechartGroupPtr | loadAndAddGroup (QString groupDefinitionFile) |
|
StatechartGroupPtr | loadGroup (QString groupDefinitionFile) |
|
QMimeData * | mimeData (const QModelIndexList &indexes) const override |
|
QStringList | mimeTypes () const override |
|
bool | nodeIsFolder (StateTreeNodePtr node) |
|
bool | nodeIsFolderOrGroup (StateTreeNodePtr node) |
|
bool | nodeIsGroup (StateTreeNodePtr node) |
|
bool | nodeIsState (StateTreeNodePtr node) |
|
void | openStateCPP (StateTreeNodePtr node) |
|
QModelIndex | parent (const QModelIndex &index) const override |
|
void | removeFolder (StateTreeNodePtr folderNode) |
|
void | removeNodeFromTree (StateTreeNodePtr node) |
|
void | removeState (StateTreeNodePtr stateNode) |
|
int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
|
void | saveAll () |
|
bool | selectedNodeIsFolder () |
|
bool | selectedNodeIsFolderOrGroup () |
|
bool | selectedNodeIsGroup () |
|
bool | selectedNodeIsState () |
|
void | selectNodeByState (statechartmodel::StatePtr state) |
|
| StateTreeController (Ice::CommunicatorPtr ic, VariantInfoPtr variantInfo, QList< QVariant > headerInfo, QTreeView *treeView, QLineEdit *filterLineEdit, const ArmarXPackageToolInterfacePtr &packageTool, const StatechartProfilesPtr &statechartProfiles, StatechartProfilePtr currentProfile, QObject *parent=0) |
|
StateTreeNodePtr | tryCreateNewState (QString name) |
|
void | tryDeleteFolder () |
|
void | tryDeleteGroup () |
|
void | tryDeleteState () |
|
| ~StateTreeController () override |
|
Definition at line 61 of file StateTreeController.h.
◆ StateTreeController()
◆ ~StateTreeController()
◆ addNewGroup()
StatechartGroupPtr addNewGroup |
( |
const QString & |
groupName, |
|
|
const QString & |
groupPath, |
|
|
const QString & |
description, |
|
|
const QString & |
packageName, |
|
|
const QList< QString > |
proxies, |
|
|
bool |
generateContext, |
|
|
const QMap< QString, QString > & |
statechartGroupConfigurations |
|
) |
| |
◆ closeAllTabsRequested
void closeAllTabsRequested |
( |
| ) |
|
|
signal |
◆ collapseAll
◆ columnCount()
int columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ createNewFolder()
◆ createNewState()
◆ data()
QVariant data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
|
override |
◆ executeGroup
◆ executeGroupWithDependencies
◆ flags()
Qt::ItemFlags flags |
( |
const QModelIndex & |
index | ) |
const |
|
override |
◆ getClosestParentFolderOrGroupNode()
◆ getNode()
◆ getNodeByState()
◆ getSelectedNode()
◆ headerData()
QVariant headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
override |
◆ index()
QModelIndex index |
( |
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parentIndex = QModelIndex() |
|
) |
| const |
|
override |
◆ loadAllStates()
◆ loadAndAddGroup()
◆ loadGroup()
◆ mimeData()
QMimeData * mimeData |
( |
const QModelIndexList & |
indexes | ) |
const |
|
override |
◆ mimeTypes()
QStringList mimeTypes |
( |
| ) |
const |
|
override |
◆ nodeIsFolder()
◆ nodeIsFolderOrGroup()
◆ nodeIsGroup()
◆ nodeIsState()
◆ onCloneGroup
◆ onContextMenu
void onContextMenu |
( |
const QPoint & |
point | ) |
|
|
slot |
◆ onDeleteNode
◆ onExecuteGroup
◆ onFindStateUsages
void onFindStateUsages |
( |
| ) |
|
|
slot |
◆ onGenerateStateCppFiles
void onGenerateStateCppFiles |
( |
| ) |
|
|
slot |
◆ onGroupProperties
void onGroupProperties |
( |
| ) |
|
|
slot |
◆ onMakeStatePublic
void onMakeStatePublic |
( |
bool |
enable | ) |
|
|
slot |
◆ onNewDynamicRemoteStateDefinition
void onNewDynamicRemoteStateDefinition |
( |
| ) |
|
|
slot |
◆ onNewFolder
◆ onNewStateDefinition
void onNewStateDefinition |
( |
| ) |
|
|
slot |
◆ onOpenCMakeProject
void onOpenCMakeProject |
( |
| ) |
|
|
slot |
◆ onOpenGroup
void onOpenGroup |
( |
QString |
groupFile = "" | ) |
|
|
slot |
◆ onOpenStateCPP
◆ onRenameGroup
◆ onRenameState
◆ onShowFullPath
◆ onStatechartFinished
void onStatechartFinished |
( |
int |
exitCode | ) |
|
|
slot |
◆ openStateCPP()
◆ parent()
QModelIndex parent |
( |
const QModelIndex & |
index | ) |
const |
|
override |
◆ removeFolder()
◆ removeNodeFromTree()
◆ removeState()
◆ rowCount()
int rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ saveAll()
◆ selectedNodeIsFolder()
bool selectedNodeIsFolder |
( |
| ) |
|
◆ selectedNodeIsFolderOrGroup()
bool selectedNodeIsFolderOrGroup |
( |
| ) |
|
◆ selectedNodeIsGroup()
bool selectedNodeIsGroup |
( |
| ) |
|
◆ selectedNodeIsState()
bool selectedNodeIsState |
( |
| ) |
|
◆ selectNode
◆ selectNodeByState()
◆ stopGroupExecution
◆ stopGroupExecutionWithDependencies
◆ tryCreateNewState()
◆ tryDeleteFolder()
◆ tryDeleteGroup()
◆ tryDeleteState()
The documentation for this class was generated from the following files: