mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Replace raster qbt logo with vector version
Add helper function for svg icons.
This commit is contained in:
parent
f934042a98
commit
4d04af4043
4 changed files with 23 additions and 5 deletions
|
@ -49,6 +49,7 @@ namespace Utils
|
|||
}
|
||||
|
||||
QPixmap scaledPixmap(const QString &path, const QWidget *widget, const int height = 0);
|
||||
QPixmap scaledPixmapSvg(const QString &path, const QWidget *widget, const int baseHeight);
|
||||
QSize smallIconSize(const QWidget *widget = nullptr);
|
||||
QSize mediumIconSize(const QWidget *widget = nullptr);
|
||||
QSize largeIconSize(const QWidget *widget = nullptr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue