#ifndef LAYOUT_MANAGER_H #define LAYOUT_MANAGER_H #include #include #include "core/Cutter.h" #include "common/CutterLayout.h" namespace Ui { class LayoutManager; } class LayoutManager : public QDialog { Q_OBJECT public: LayoutManager(QMap &layouts, QWidget *parent); ~LayoutManager(); private: void refreshNameList(QString selection = ""); void renameCurrentLayout(); void deleteLayout(); void updateButtons(); std::unique_ptr ui; QMap &layouts; }; #endif // LAYOUT_MANAGER_H