mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-10 05:55:26 +00:00
39 lines
686 B
C
39 lines
686 B
C
|
|
||
|
#ifndef GENERALOPTIONSWIDGET_H
|
||
|
#define GENERALOPTIONSWIDGET_H
|
||
|
|
||
|
#include <QDialog>
|
||
|
#include <QPushButton>
|
||
|
#include <memory>
|
||
|
|
||
|
#include "cutter.h"
|
||
|
|
||
|
class PreferencesDialog;
|
||
|
|
||
|
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);
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif //ASMOPTIONSDIALOG_H
|