fix: proper svg icon rendering on hidpi screen.

This commit is contained in:
Chris Xiong
2022-09-29 01:11:21 -04:00
committed by Gary Wang
parent 756d0be32f
commit cc7d58d4ec
7 changed files with 46 additions and 18 deletions

View File

@ -13,6 +13,7 @@ class ToolButton : public QPushButton
Q_OBJECT
public:
ToolButton(bool hoverColor = false, QWidget * parent = nullptr);
void setIconResourcePath(const QString &iconp);
public slots:
void setOpacity(qreal opacity, bool animated = true);