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

@ -5,11 +5,12 @@
#include <QCompleter>
#include "yacreader_global.h"
#include "themable.h"
class QToolButton;
class QLabel;
class YACReaderSearchLineEdit : public QLineEdit
class YACReaderSearchLineEdit : public QLineEdit, protected Themable
{
Q_OBJECT
@ -20,6 +21,7 @@ public:
protected:
void resizeEvent(QResizeEvent *);
void applyTheme(const Theme &theme) override;
signals:
void filterChanged(QString);
@ -31,6 +33,9 @@ private slots:
private:
QToolButton *clearButton;
QLabel *searchLabel;
int paddingLeft;
int paddingRight;
};
#endif // YACREADER_SEARCH_LINE_EDIT_H