#ifndef RIGCREATOR_H #define RIGCREATOR_H #include #include #include #include #include #include #include #include #include #include "wfviewtypes.h" #include "rigidentities.h" #include "tablewidget.h" namespace Ui { class rigCreator; } class rigCreator : public QDialog { Q_OBJECT public: explicit rigCreator(QWidget *parent = nullptr); ~rigCreator(); private slots: void on_loadFile_clicked(bool clicked); void on_saveFile_clicked(bool clicked); void on_defaultRigs_clicked(bool clicked); void loadRigFile(QString filename); void saveRigFile(QString filename); private: Ui::rigCreator *ui; QMenu* context; tableCombobox* commandsList; QStandardItemModel* commandsModel; QStandardItemModel* createModel(QStandardItemModel* model, QString strings[]); QString currentFile; }; #endif // RIGCREATOR_H