mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-09 21:45:26 +00:00
42 lines
894 B
C++
42 lines
894 B
C++
|
|
#ifndef AppearanceOptionsWidget_H
|
|
#define AppearanceOptionsWidget_H
|
|
|
|
#include <QDialog>
|
|
#include <QPushButton>
|
|
#include <memory>
|
|
|
|
#include "core/Cutter.h"
|
|
|
|
class PreferencesDialog;
|
|
|
|
namespace Ui {
|
|
class AppearanceOptionsWidget;
|
|
}
|
|
|
|
class AppearanceOptionsWidget : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit AppearanceOptionsWidget(PreferencesDialog *dialog);
|
|
~AppearanceOptionsWidget();
|
|
|
|
private:
|
|
std::unique_ptr<Ui::AppearanceOptionsWidget> ui;
|
|
|
|
private slots:
|
|
void updateFontFromConfig();
|
|
void updateThemeFromConfig(bool qtThemeChanged = true);
|
|
|
|
void on_fontSelectionButton_clicked();
|
|
void on_themeComboBox_currentIndexChanged(int index);
|
|
void on_colorComboBox_currentIndexChanged(int index);
|
|
void on_copyButton_clicked();
|
|
void on_deleteButton_clicked();
|
|
void onLanguageComboBoxCurrentIndexChanged(int index);
|
|
};
|
|
|
|
|
|
#endif //ASMOPTIONSDIALOG_H
|