cutter/src/dialogs/preferences/PreferencesDialog.h
Itay Cohen 0567114b09
Bye bye "General Settings", welcome "Appearance" (#837)
* Bye bye "General Settings", welcome "Appearance"

* Fix Windows header

* fix typo
2018-10-17 10:30:56 +03:00

36 lines
628 B
C++

#ifndef PREFERENCESDIALOG_H
#define PREFERENCESDIALOG_H
#include <QDialog>
#include <QPushButton>
#include <QTreeWidget>
#include <memory>
#include "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::PreferencesDialog> ui;
};
#endif //PREFERENCESDIALOG_H