Initial implementation of theming

This commit is contained in:
luisangelsm
2026-02-19 17:39:22 +01:00
parent ed28c94f66
commit 044176d6b7
303 changed files with 4634 additions and 2119 deletions

View File

@ -8,13 +8,18 @@
#include <QComboBox>
#include <QCheckBox>
class ServerConfigDialog : public QDialog
#include "themable.h"
class ServerConfigDialog : public QDialog, protected Themable
{
Q_OBJECT
public:
ServerConfigDialog(QWidget *parent = 0);
void showEvent(QShowEvent *event) override;
protected:
void applyTheme(const Theme &theme) override;
private:
QComboBox *ip;
QLineEdit *port;
@ -24,6 +29,14 @@ private:
QPushButton *close;
QPushButton *accept;
QLabel *qrCode;
// Labels for themable styling
QLabel *titleLabel;
QLabel *qrMessageLabel;
QLabel *propagandaLabel;
QLabel *ipLabel;
QLabel *portLabel;
QLabel *backgroundDecoration;
public slots:
void generateQR();