#ifndef PREFERENCESDIALOG_H #define PREFERENCESDIALOG_H #include #include #include #include #include "core/Cutter.h" namespace Ui { class PreferencesDialog; } class PreferencesDialog : public QDialog { Q_OBJECT public: enum class Section { Appearance, Disassembly }; explicit PreferencesDialog(QWidget *parent = nullptr); ~PreferencesDialog(); void showSection(Section section); public slots: void changePage(QTreeWidgetItem *current, QTreeWidgetItem *previous); private: std::unique_ptr ui; }; #endif //PREFERENCESDIALOG_H