2017-12-14 15:14:33 +00:00
|
|
|
|
|
|
|
#ifndef GENERALOPTIONSWIDGET_H
|
|
|
|
#define GENERALOPTIONSWIDGET_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include <QPushButton>
|
|
|
|
#include <memory>
|
|
|
|
|
2018-03-04 17:42:02 +00:00
|
|
|
#include "Cutter.h"
|
2017-12-14 15:14:33 +00:00
|
|
|
|
|
|
|
class PreferencesDialog;
|
|
|
|
|
2018-03-21 20:32:32 +00:00
|
|
|
namespace Ui {
|
|
|
|
class GeneralOptionsWidget;
|
2017-12-14 15:14:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class GeneralOptionsWidget : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit GeneralOptionsWidget(PreferencesDialog *dialog, QWidget *parent = nullptr);
|
|
|
|
~GeneralOptionsWidget();
|
|
|
|
|
|
|
|
private:
|
|
|
|
std::unique_ptr<Ui::GeneralOptionsWidget> ui;
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void updateFontFromConfig();
|
|
|
|
void updateThemeFromConfig();
|
|
|
|
|
|
|
|
void on_fontSelectionButton_clicked();
|
|
|
|
void on_themeComboBox_currentIndexChanged(int index);
|
2018-02-26 22:25:23 +00:00
|
|
|
void on_colorComboBox_currentIndexChanged(int index);
|
2018-10-10 09:37:24 +00:00
|
|
|
void on_copyButton_clicked();
|
|
|
|
void on_deleteButton_clicked();
|
2017-12-14 15:14:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif //ASMOPTIONSDIALOG_H
|