47 explicit MainWindow(QWidget *parent =
nullptr, Qt::WindowFlags f = {});
62 void importFromScxmlFile(
const QString &filePath);
64 void handlePresetActivated(
const QModelIndex &index);
67 void setupPresetsView();
68 void setupStateMachineView();
69 void setupObjectInspector();
74 QStandardItemModel *m_presetsModel;
75 KDSME::TransitionListModel *m_transitionsModel;
77 KDSME::StateMachineView *m_stateMachineView;
78 QScopedPointer<KDSME::StateMachine, QScopedPointerDeleteLater> m_owningStateMachine;
QString selectedFile() const
When in PresetsInputMode, return the currently selected file name.
void setStateMachine(KDSME::StateMachine *stateMachine)
MainWindow(QWidget *parent=nullptr, Qt::WindowFlags f={})
void loadPresets(const QString &presetsDir)
void setInputMode(MainWindow::InputMode mode)