26#include <QFileSystemWatcher>
171 return "Statecharts.StatechartEditor";
177 return QIcon(
":/statechart-editor/states.svg");
183 return QIcon(
":/statechart-editor/states.svg");
196 void updateExecutionButtonStatus();
197 void watchState(
const std::string& objName);
198 QPointer<StatechartEditorMainWindow> editor;
202 QFileSystemWatcher* watcher;
204 bool alreadyWatchingState =
false;
207 QPointer<StatechartEditorConfigDialog> dialog;
IceUtil::Handle< PeriodicTask< T > > pointer_type
Shared pointer type for convenience.
void storeAutoSaveSettings()
void onInitComponent() override
Pure virtual hook for the subclass.
bool onClose() override
If you overwrite this method, make sure to call this implementation at the end of your implementation...
void executeOpenedState(bool)
void openStatechartGroups(QStringList groups)
void onDisconnectComponent() override
Hook for subclass.
void loadSettings(QSettings *settings) override
Implement to load the settings that are part of the GUI configuration.
void showStatechartEditorSettingsDialog()
~StatechartEditorController() override
void saveSettings(QSettings *settings) override
Implement to save the settings as part of the GUI configuration.
void showCodeFileContent(const QString &path)
void showStateCode(statechartmodel::StateInstancePtr stateInstance)
void showOnExitFunction()
void searchAndOpenPaths(QStringList paths)
QStringList findAllStatechartGroupDefinitions(const QString &basePath)
QPointer< QWidget > getWidget() override
getWidget returns a pointer to the a widget of this controller.
void onConnectComponent() override
Pure virtual hook for the subclass.
void showOnBreakFunction()
void configured() override
This function must be implemented by the user, if he supplies a config dialog.
static QIcon GetWidgetCategoryIcon()
void showOnEnterFunction()
void connectToView(int tabIndex)
void treeviewGroupsDoubleClicked(QModelIndex index)
static QString GetWidgetName()
void onExitComponent() override
Hook for subclass.
QPointer< QDialog > getConfigDialog(QWidget *parent) override
getConfigDialog returns a pointer to the a configuration widget of this controller.
void showNewStatechartGroupDialog()
StatechartEditorController()
void onStateTabChanged(int index)
struct armarx::StatechartEditorController::Config config
static QIcon GetWidgetIcon()
std::shared_ptr< StateInstance > StateInstancePtr
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::shared_ptr< StatechartProfiles > StatechartProfilesPtr
std::shared_ptr< StatechartGroup > StatechartGroupPtr
std::shared_ptr< StateEditorController > StateEditorControllerPtr
std::shared_ptr< VariantInfo > VariantInfoPtr
std::shared_ptr< class StatechartProfile > StatechartProfilePtr
IceInternal::Handle< StateWatcher > StateWatcherPtr
std::shared_ptr< StateTreeController > StateTreeControllerPtr
std::shared_ptr< ArmarXPackageToolInterface > ArmarXPackageToolInterfacePtr
bool openAllStatesWasSelected
StatechartProfilePtr selectedProfile