Go to the documentation of this file.
27 #include <QTableWidgetItem>
36 class RenameStateDialog;
63 void setOkButtonsEnabled(
bool enabled);
64 Ui::RenameStateDialog* ui;
67 QRegExp validStateNameRegExp;
68 QRegExp validInstanceNameRegExp;
70 QVector<statechartmodel::StatePtr> localStates;
71 QVector<StateRenamer::InstanceRenameInfo> instanceRenameInfos;
73 bool validInstanceNames;
std::shared_ptr< StateTreeModel > StateTreeModelPtr
RenameStateDialog(const StateTreeModelPtr &treeModel, const StatechartGroupPtr &sourceGroup, const statechartmodel::StatePtr &sourceState, QWidget *parent=0)
QString getNewStateName() const
bool isSaveAllRequested() const
void verifyInstanceName(QTableWidgetItem *item)
void saveAllProceedButtonClicked()
~RenameStateDialog() override
void verifyNewName(QString newName)
std::shared_ptr< StatechartGroup > StatechartGroupPtr
QVector< StateRenamer::InstanceRenameInfo > getInstanceRenameInfos() const
std::shared_ptr< State > StatePtr
StatechartGroupPtr getGroup() const
This file offers overloads of toIce() and fromIce() functions for STL container types.
statechartmodel::StatePtr getState() const