cutter/src/dialogs/preferences/PreferencesDialog.h

36 lines
592 B
C
Raw Normal View History

#ifndef PREFERENCESDIALOG_H
#define PREFERENCESDIALOG_H
#include <QDialog>
#include <QPushButton>
#include <memory>
2018-03-04 17:42:02 +00:00
#include "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 { General, Disassembly };
explicit PreferencesDialog(QWidget *parent = nullptr);
~PreferencesDialog();
void showSection(Section section);
2018-03-21 20:32:32 +00:00
/*signals:
void saveAsDefault();
void resetToDefault();*/
private:
std::unique_ptr<Ui::PreferencesDialog> ui;
};
#endif //PREFERENCESDIALOG_H