Go to the documentation of this file.
32 #include <QTableWidgetItem>
36 class RenameStateDialog;
61 void setOkButtonsEnabled(
bool enabled);
62 Ui::RenameStateDialog* ui;
65 QRegExp validStateNameRegExp;
66 QRegExp validInstanceNameRegExp;
68 QVector<statechartmodel::StatePtr> localStates;
69 QVector<StateRenamer::InstanceRenameInfo> instanceRenameInfos;
71 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