cutter/src/dialogs/preferences/PreferencesDialog.h

38 lines
642 B
C
Raw Normal View History

#ifndef PREFERENCESDIALOG_H
#define PREFERENCESDIALOG_H
2019-03-16 12:41:45 +00:00
#include "core/Cutter.h"
#include <QDialog>
2019-03-16 12:41:45 +00:00
#include <memory>
2019-03-16 12:41:45 +00:00
class QTreeWidgetItem;
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;
void chooseThemeIcons();
};
2021-01-24 14:50:13 +00:00
#endif // PREFERENCESDIALOG_H