1
0
forked from blue/squawk
squawk/ui/widgets/settings/pageappearance.h

40 lines
661 B
C
Raw Normal View History

#ifndef PAGEAPPEARANCE_H
#define PAGEAPPEARANCE_H
#include <QWidget>
#include <QScopedPointer>
2022-01-21 19:02:50 +00:00
#include <QStyleFactory>
#include <QVariant>
#include <QSettings>
#include <vector>
#include "shared/global.h"
namespace Ui
{
class PageAppearance;
}
/**
* @todo write docs
*/
class PageAppearance : public QWidget
{
Q_OBJECT
public:
PageAppearance(QWidget* parent = nullptr);
~PageAppearance();
2022-01-21 19:02:50 +00:00
signals:
void variableModified(const QString& key, const QVariant& value);
protected slots:
void onThemeChanged(int index);
private:
QScopedPointer<Ui::PageAppearance> m_ui;
2022-01-21 19:02:50 +00:00
std::vector<QString> styles;
};
#endif // PAGEAPPEARANCE_H