cutter/src/dialogs/preferences/GeneralOptionsWidget.h

41 lines
810 B
C
Raw Normal View History

#ifndef GENERALOPTIONSWIDGET_H
#define GENERALOPTIONSWIDGET_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 GeneralOptionsWidget;
}
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);
void on_colorComboBox_currentIndexChanged(int index);
void on_copyButton_clicked();
void on_deleteButton_clicked();
};
#endif //ASMOPTIONSDIALOG_H