mirror of
https://github.com/YACReader/yacreader
synced 2026-03-01 18:33:09 -05:00
Initial implementation of theming
This commit is contained in:
@ -3,7 +3,11 @@
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
class NoLibrariesWidget : public QWidget
|
||||
#include "themable.h"
|
||||
|
||||
class QLabel;
|
||||
|
||||
class NoLibrariesWidget : public QWidget, protected Themable
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
@ -13,6 +17,14 @@ signals:
|
||||
void createNewLibrary();
|
||||
void addExistingLibrary();
|
||||
public slots:
|
||||
|
||||
protected:
|
||||
void applyTheme(const Theme &theme) override;
|
||||
|
||||
private:
|
||||
QLabel *iconLabel;
|
||||
QLabel *text;
|
||||
QLabel *textDescription;
|
||||
};
|
||||
|
||||
#endif // NO_LIBRARIES_WIDGET_H
|
||||
|
||||
Reference in New Issue
Block a user