forked from blue/squawk
basic theme changing
This commit is contained in:
parent
a8a7ce2538
commit
c708c33a92
8 changed files with 108 additions and 4 deletions
|
@ -4,6 +4,9 @@
|
|||
#include <QWidget>
|
||||
#include <QListWidgetItem>
|
||||
#include <QScopedPointer>
|
||||
#include <QSettings>
|
||||
|
||||
#include "shared/global.h"
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
|
@ -20,11 +23,17 @@ public:
|
|||
Settings(QWidget* parent = nullptr);
|
||||
~Settings();
|
||||
|
||||
public slots:
|
||||
void apply();
|
||||
void confirm();
|
||||
|
||||
protected slots:
|
||||
void onCurrentPageChanged(QListWidgetItem* current);
|
||||
void onVariableModified(const QString& key, const QVariant& value);
|
||||
|
||||
private:
|
||||
QScopedPointer<Ui::Settings> m_ui;
|
||||
std::map<QString, QVariant> modifiedSettings;
|
||||
};
|
||||
|
||||
#endif // SETTINGS_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue