Go to the documentation of this file.
33 #include <QFileSystemWatcher>
45 class StatechartEditorMainWindow;
173 return "Statecharts.StatechartEditor";
177 return QIcon(
":/statechart-editor/states.svg");
181 return QIcon(
":/statechart-editor/states.svg");
192 void updateExecutionButtonStatus();
193 void watchState(
const std::string& objName);
194 QPointer<StatechartEditorMainWindow> editor;
198 QFileSystemWatcher* watcher;
200 bool alreadyWatchingState =
false;
203 QPointer<StatechartEditorConfigDialog> dialog;
void treeviewGroupsDoubleClicked(QModelIndex index)
std::shared_ptr< StateEditorController > StateEditorControllerPtr
static QIcon GetWidgetCategoryIcon()
std::shared_ptr< ArmarXPackageToolInterface > ArmarXPackageToolInterfacePtr
void showCodeFileContent(const QString &path)
QPointer< QDialog > getConfigDialog(QWidget *parent) override
getConfigDialog returns a pointer to the a configuration widget of this controller.
std::shared_ptr< class StatechartProfile > StatechartProfilePtr
void showStatechartEditorSettingsDialog()
~StatechartEditorController() override
void openStatechartGroups(QStringList groups)
void searchAndOpenPaths(QStringList paths)
void onExitComponent() override
Hook for subclass.
StatechartProfilePtr selectedProfile
bool onClose() override
onClose is called before the DockWidget is closed.
bool openAllStatesWasSelected
std::shared_ptr< StateInstance > StateInstancePtr
StatechartEditorController()
void configured() override
This function must be implemented by the user, if he supplies a config dialog.
std::shared_ptr< StatechartProfiles > StatechartProfilesPtr
void showNewStatechartGroupDialog()
void connectToView(int tabIndex)
void showOnExitFunction()
QPointer< QWidget > getWidget() override
getWidget returns a pointer to the a widget of this controller.
The StatechartEditorController class is the controller of the main widget of the Statechart Editor.
static QString GetWidgetName()
void saveSettings(QSettings *settings) override
Implement to save the settings as part of the GUI configuration.
std::shared_ptr< StatechartGroup > StatechartGroupPtr
struct armarx::StatechartEditorController::Config config
void showOnBreakFunction()
void executeOpenedState(bool)
static QIcon GetWidgetIcon()
std::shared_ptr< VariantInfo > VariantInfoPtr
void onDisconnectComponent() override
Hook for subclass.
void loadSettings(QSettings *settings) override
Implement to load the settings that are part of the GUI configuration.
void showOnEnterFunction()
void storeAutoSaveSettings()
void onConnectComponent() override
Pure virtual hook for the subclass.
QStringList findAllStatechartGroupDefinitions(const QString &basePath)
This file offers overloads of toIce() and fromIce() functions for STL container types.
void onInitComponent() override
Pure virtual hook for the subclass.
std::shared_ptr< StateTreeController > StateTreeControllerPtr
void showStateCode(statechartmodel::StateInstancePtr stateInstance)
void onStateTabChanged(int index)