mirror of
https://github.com/YACReader/yacreader
synced 2026-03-02 10:50:04 -05:00
Initial implementation of theming
This commit is contained in:
@ -3,12 +3,17 @@
|
||||
|
||||
#include <QtWidgets>
|
||||
|
||||
class ImportWidget : public QWidget
|
||||
#include "themable.h"
|
||||
|
||||
class ImportWidget : public QWidget, protected Themable
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit ImportWidget(QWidget *parent = 0);
|
||||
|
||||
protected:
|
||||
void applyTheme(const Theme &theme) override;
|
||||
|
||||
signals:
|
||||
void stop();
|
||||
public slots:
|
||||
@ -41,8 +46,11 @@ private:
|
||||
quint64 i;
|
||||
|
||||
QToolButton *hideButton;
|
||||
QLabel *topDecorator;
|
||||
QLabel *bottomDecorator;
|
||||
|
||||
void resizeEvent(QResizeEvent *event) override;
|
||||
void updateTextColors();
|
||||
};
|
||||
|
||||
#endif // IMPORT_WIDGET_H
|
||||
|
||||
Reference in New Issue
Block a user