mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-09 05:25:26 +00:00
0567114b09
* Bye bye "General Settings", welcome "Appearance" * Fix Windows header * fix typo
36 lines
628 B
C++
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
|