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:
@ -1,6 +1,7 @@
|
||||
#ifndef ROUNDEDCORNERSDIALOG_H
|
||||
#define ROUNDEDCORNERSDIALOG_H
|
||||
|
||||
#include <QColor>
|
||||
#include <QDialog>
|
||||
|
||||
namespace YACReader {
|
||||
@ -12,6 +13,10 @@ public:
|
||||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *) override;
|
||||
void setBackgroundColor(const QColor &color);
|
||||
|
||||
private:
|
||||
QColor m_backgroundColor { 255, 255, 255 };
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user