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:
@ -2,13 +2,16 @@
|
||||
#define YACREADER_LIBRARY_ITEM_WIDGET_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <QPixmap>
|
||||
|
||||
#include "themable.h"
|
||||
|
||||
class QLabel;
|
||||
class QToolButton;
|
||||
class QMouseEvent;
|
||||
class QEvent;
|
||||
|
||||
class YACReaderLibraryItemWidget : public QWidget
|
||||
class YACReaderLibraryItemWidget : public QWidget, protected Themable
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@ -32,12 +35,16 @@ public slots:
|
||||
private:
|
||||
QLabel *icon;
|
||||
QLabel *nameLabel;
|
||||
QLabel *optionsIconLabel;
|
||||
|
||||
QToolButton *options;
|
||||
QToolButton *up;
|
||||
QToolButton *down;
|
||||
|
||||
bool isSelected;
|
||||
|
||||
protected:
|
||||
void applyTheme(const Theme &theme) override;
|
||||
};
|
||||
|
||||
#endif // YACREADER_LIBRARY_ITEM_WIDGET_H
|
||||
|
||||
Reference in New Issue
Block a user