cutter/src/dialogs/preferences/AppearanceOptionsWidget.h

41 lines
831 B
C
Raw Normal View History

#ifndef AppearanceOptionsWidget_H
#define AppearanceOptionsWidget_H
#include <QDialog>
#include <QPushButton>
#include <memory>
2018-03-04 17:42:02 +00:00
#include "Cutter.h"
class PreferencesDialog;
2018-03-21 20:32:32 +00:00
namespace Ui {
class AppearanceOptionsWidget;
}
class AppearanceOptionsWidget : public QDialog
{
Q_OBJECT
public:
explicit AppearanceOptionsWidget(PreferencesDialog *dialog, QWidget *parent = nullptr);
~AppearanceOptionsWidget();
private:
std::unique_ptr<Ui::AppearanceOptionsWidget> ui;
private slots:
void updateFontFromConfig();
void updateThemeFromConfig();
void on_fontSelectionButton_clicked();
void on_themeComboBox_currentIndexChanged(int index);
void on_colorComboBox_currentIndexChanged(int index);
void on_copyButton_clicked();
void on_deleteButton_clicked();
};
#endif //ASMOPTIONSDIALOG_H