diff options
author | Aleksei German <aleksei.german@qt.io> | 2020-11-18 16:28:16 +0100 |
---|---|---|
committer | Aleksei German <aleksei.german@qt.io> | 2020-11-20 10:49:52 +0000 |
commit | 181fd57cc4f79991de60928330b30b115a77c0e8 (patch) | |
tree | 8d566877f3785351033480d326ad37b51884a5fa /src/libs/utils/stylehelper.h | |
parent | f38d7910fe981e19988ecc5de5124f2a5e12536d (diff) |
QmlDesigner: Fix for rotation cursor
- Added new icons to icon font
- Uses new drawing method for rotation cursor
Task: QDS-3131
Change-Id: Ifa8dda2630794694dd262396ca314a9b4e6675ad
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'src/libs/utils/stylehelper.h')
-rw-r--r-- | src/libs/utils/stylehelper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/utils/stylehelper.h b/src/libs/utils/stylehelper.h index a1a24a8d5b..a6549f431a 100644 --- a/src/libs/utils/stylehelper.h +++ b/src/libs/utils/stylehelper.h @@ -125,6 +125,8 @@ public: static QIcon getIconFromIconFont(const QString &fontName, const QList<IconFontHelper> ¶meters); static QIcon getIconFromIconFont(const QString &fontName, const QString &iconSymbol, int fontSize, int iconSize, QColor color); static QIcon getIconFromIconFont(const QString &fontName, const QString &iconSymbol, int fontSize, int iconSize); + static QIcon getCursorFromIconFont(const QString &fontname, const QString &cursorFill, const QString &cursorOutline, + int fontSize, int iconSize); static QString dpiSpecificImageFile(const QString &fileName); static QString imageFileWithResolution(const QString &fileName, int dpr); |