mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Replace png icons with svg
This commit is contained in:
parent
866408151c
commit
71dcc76a64
206 changed files with 238 additions and 218 deletions
|
@ -33,6 +33,7 @@
|
|||
#include <QPixmap>
|
||||
#include <QSize>
|
||||
|
||||
class QIcon;
|
||||
class QWidget;
|
||||
|
||||
namespace Utils
|
||||
|
@ -48,6 +49,7 @@ namespace Utils
|
|||
return (size * screenScalingFactor(widget));
|
||||
}
|
||||
|
||||
QPixmap scaledPixmap(const QIcon &icon, const QWidget *widget, const int height);
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue