cutter/src/dialogs/preferences/PreferencesDialog.h

36 lines
633 B
C
Raw Normal View History

#ifndef PREFERENCESDIALOG_H
#define PREFERENCESDIALOG_H
#include <QDialog>
#include <QPushButton>
#include <QTreeWidget>
#include <memory>
#include "core/Cutter.h"
2018-03-21 20:32:32 +00:00
namespace Ui {
class PreferencesDialog;
}
class PreferencesDialog : public QDialog
{
2018-03-21 20:32:32 +00:00
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::PreferencesDialog> ui;
};
#endif //PREFERENCESDIALOG_H