reduced cursor size.
This commit is contained in:
@@ -160,7 +160,7 @@ namespace AzQtComponents
|
||||
QObject::connect(m_dropZoneHoverFadeInTimer, &QTimer::timeout, this, &FancyDocking::onDropZoneHoverFadeInUpdate);
|
||||
m_dropZoneHoverFadeInTimer->setInterval(g_FancyDockingConstants.dropZoneHoverFadeUpdateIntervalMS);
|
||||
QIcon dragIcon = QIcon(QStringLiteral(":/Cursors/Grabbing.svg"));
|
||||
m_dragCursor = QCursor(dragIcon.pixmap(32), 10, 5);
|
||||
m_dragCursor = QCursor(dragIcon.pixmap(16), 5, 2);
|
||||
}
|
||||
|
||||
FancyDocking::~FancyDocking()
|
||||
|
||||
@@ -422,10 +422,10 @@ namespace AzQtComponents
|
||||
AzQtComponents::Style::addClass(this, g_emptyStyleClass);
|
||||
|
||||
QIcon icon = QIcon(QStringLiteral(":/Cursors/Grab_release.svg"));
|
||||
m_hoverCursor = QCursor(icon.pixmap(32), 10, 5);
|
||||
m_hoverCursor = QCursor(icon.pixmap(16), 5, 2);
|
||||
|
||||
icon = QIcon(QStringLiteral(":/Cursors/Grabbing.svg"));
|
||||
m_dragCursor = QCursor(icon.pixmap(32), 10, 5);
|
||||
m_dragCursor = QCursor(icon.pixmap(16), 5, 2);
|
||||
|
||||
this->setCursor(m_hoverCursor);
|
||||
}
|
||||
|
||||
+20
-20
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 25.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<!-- Generator: Adobe Illustrator 25.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
@@ -9,29 +9,29 @@
|
||||
<g id="Group" transform="translate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||||
c-1.1,0-1.3,0.5-1.6,0.8c-0.1-0.3-0.4-1.5-1.7-1.6c-1.1,0-1.6,0.5-1.7,0.9C10,3.5,9.7,2.5,8.4,2.5C8,2.5,7.6,3,7.1,3.1
|
||||
c0,0.3,0.3-2.9-0.3-3.8C6.6-1.1,6.1-2,4.6-2C3.3-2,2.4,0,2.4,1z"/>
|
||||
</g>
|
||||
</g>
|
||||
<path id="Path_1_" class="st0" d="M7.2,7.1V6.2c0-0.4,0.3-1.1,1-1.1s0.9,0.7,0.9,1.2c0,1.5,0,0.4,0,1h0.6c0-2.1,0-0.3,0-0.7
|
||||
c0-0.6,0.4-1,1-1s1,0.5,1,1.1c0,0.4,0,0.7,0,0.7h0.6V7.1c0-0.5,0.2-0.9,0.8-0.9c0.7,0,0.9,0.5,1,1.3v1v3.8c0,0.5-0.2,1.1-0.4,1.6
|
||||
l-0.1,0.2l-0.3,0.6L13,15.1l-0.2,0.3l-0.2,0.3L12.4,16c-0.2,0.4-0.3,0.7-0.3,1v0.1V18h-0.9l-0.9-1.9l-1,1.9H5.5v-0.9
|
||||
c0-0.3-0.3-0.6-0.6-1.1l-0.3-0.3l-0.3-0.3l-0.1-0.1L4,15.1l-0.2-0.2l-0.5-0.5c-0.3-0.3-0.8-0.7-1-1.1L2.1,13L1,10
|
||||
C0.9,9.8,1,9.5,1.1,9.4c0,0,0,0,0.1-0.1l0.2-0.1C2.2,8.9,3.1,9.3,3.6,10l0.1,0.1l0.8,1.3V3c0-0.5,0.5-1,1-1s0.9,0.5,0.9,0.9
|
||||
c0,2.7,0,4.1,0,4.2H7.2z"/>
|
||||
<polygon id="Path_2_" points="11.2,10.5 12.2,10.5 12.2,14.2 11.2,14.2 "/>
|
||||
<polygon id="Path_3_" points="9.3,10.5 10.3,10.5 10.3,14.2 9.3,14.2 "/>
|
||||
<polygon id="Path_4_" points="7.4,10.5 8.4,10.5 8.4,14.2 7.4,14.2 "/>
|
||||
<path id="Path_1_" class="st0" d="M7.1,6.4V5.3c0-0.5,0.4-1.5,1.3-1.5s1.2,0.9,1.2,1.6c0,2,0,0.5,0,1.3h0.8c0-2.8,0-0.4,0-0.9
|
||||
c0-0.8,0.5-1.3,1.3-1.3S13,5.1,13,5.9c0,0.5,0,0.9,0,0.9h0.8V6.4c0-0.7,0.3-1.2,1.1-1.2c0.9,0,1.2,0.7,1.3,1.7v1.3v5
|
||||
c0,0.7-0.3,1.5-0.5,2.1l-0.1,0.3l-0.4,0.8L14.8,17l-0.3,0.4l-0.3,0.4L14,18.2c-0.3,0.5-0.4,0.9-0.4,1.3v0.1v1.2h-1.2l-1.2-2.5
|
||||
l-1.3,2.5h-5v-1.2c0-0.4-0.4-0.8-0.8-1.5l-0.4-0.4l-0.4-0.4l-0.1-0.1L2.9,17l-0.3-0.3L2,16.1c-0.4-0.4-1.1-0.9-1.3-1.5l-0.3-0.4
|
||||
l-1.5-4c-0.1-0.3,0-0.7,0.1-0.8c0,0,0,0,0.1-0.1l0.3-0.1c1.1-0.4,2.2,0.1,2.9,1.1l0.1,0.1l1.1,1.7V1c0-0.7,0.7-1.3,1.3-1.3
|
||||
s1.2,0.7,1.2,1.2c0,3.6,0,5.4,0,5.5H7.1z"/>
|
||||
<polygon id="Path_2_" points="12.4,10.9 13.7,10.9 13.7,15.8 12.4,15.8 "/>
|
||||
<polygon id="Path_3_" points="9.9,10.9 11.2,10.9 11.2,15.8 9.9,15.8 "/>
|
||||
<polygon id="Path_4_" points="7.4,10.9 8.7,10.9 8.7,15.8 7.4,15.8 "/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
+24
-16
@@ -1,23 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 25.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<!-- Generator: Adobe Illustrator 25.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill-rule:evenodd;clip-rule:evenodd;fill:#FFFFFF;}
|
||||
.st1{fill-rule:evenodd;clip-rule:evenodd;fill:none;stroke:#000000;stroke-miterlimit:10;}
|
||||
.st2{fill-rule:evenodd;clip-rule:evenodd;}
|
||||
.st1{fill-rule:evenodd;clip-rule:evenodd;}
|
||||
</style>
|
||||
<path class="st0" d="M7.6,7.1V5.8c0-0.4,0.1-0.7,0.4-1c0.2-0.3,0.6-0.4,0.9-0.4l0,0c0.6,0,1.1,0.3,1.5,0.7l0.1,0.1l0,0l0.1-0.1
|
||||
c0.3,0,0.5-0.1,0.7-0.1h0.1c0.6,0,1.1,0.3,1.5,0.7L13,5.8l0,0l0.1-0.1c0.2-0.1,0.3-0.2,0.5-0.2h0.1c0.7,0,1.2,0.3,1.6,0.7l0.1,0.1
|
||||
l0,0l0.1-0.1C15.8,6.1,16,6,16.2,6h0.1c0.6,0,1.1,0.3,1.5,0.7c0.4,0.4,0.6,1,0.6,1.6l0,0V13c0,0.6-0.3,1.6-0.6,2.1
|
||||
c0,0-1.4,2.1-1.4,2.8l0,0v1.6h-1.8l-0.4-1.4l-0.7,1.4H8.6V18c0-0.7-3-2.7-3-2.7c-0.6-0.4-1-1.3-1-2l0,0V9.7c0-0.7,0.3-1.3,0.7-1.8
|
||||
C5.9,7.3,6.8,7,7.6,7.1L7.6,7.1z"/>
|
||||
<path class="st1" d="M7.6,7.1V5.8c0-0.4,0.1-0.7,0.4-1c0.2-0.3,0.6-0.4,0.9-0.4l0,0c0.6,0,1.1,0.3,1.5,0.7l0.1,0.1l0,0l0.1-0.1
|
||||
c0.3,0,0.5-0.1,0.7-0.1h0.1c0.6,0,1.1,0.3,1.5,0.7L13,5.8l0,0l0.1-0.1c0.2-0.1,0.3-0.2,0.5-0.2h0.1c0.7,0,1.2,0.3,1.6,0.7l0.1,0.1
|
||||
l0,0l0.1-0.1C15.8,6.1,16,6,16.2,6h0.1c0.6,0,1.1,0.3,1.5,0.7c0.4,0.4,0.6,1,0.6,1.6l0,0V13c0,0.6-0.3,1.6-0.6,2.1
|
||||
c0,0-1.4,2.1-1.4,2.8l0,0v1.6h-1.8l-0.4-1.4l-0.7,1.4H8.6V18c0-0.7-3-2.7-3-2.7c-0.6-0.4-1-1.3-1-2l0,0V9.7c0-0.7,0.3-1.3,0.7-1.8
|
||||
C5.9,7.3,6.8,7,7.6,7.1L7.6,7.1z"/>
|
||||
<polygon class="st2" points="11.1,11 12.1,11 12.1,15 11.1,15 "/>
|
||||
<polygon class="st2" points="13.1,11 14.1,11 14.1,15 13.1,15 "/>
|
||||
<polygon class="st2" points="15.1,11 16.1,11 16.1,15 15.1,15 "/>
|
||||
<g>
|
||||
<path class="st0" d="M5.3,4.2V2.2c0-0.6,0.2-1.1,0.6-1.6C6.3,0.1,6.9,0,7.4,0l0,0c1,0,1.7,0.5,2.4,1.1l0.2,0.2l0,0l0.2-0.2
|
||||
c0.5,0,0.8-0.2,1.1-0.2h0.2c1,0,1.7,0.5,2.4,1.1l0.2,0.2l0,0L14,2c0.3-0.2,0.5-0.3,0.8-0.3H15c1.1,0,1.9,0.5,2.5,1.1L17.7,3l0,0
|
||||
l0.2-0.2c0.5-0.2,0.8-0.3,1.1-0.3h0.2c1,0,1.7,0.5,2.4,1.1c0.6,0.6,1,1.6,1,2.5l0,0v7.5c0,1-0.5,2.5-1,3.3c0,0-2.2,3.3-2.2,4.5l0,0
|
||||
V24h-2.9l-0.6-2.2L14.7,24H6.9v-2.4c0-1.1-4.8-4.3-4.8-4.3c-1-0.6-1.6-2.1-1.6-3.2l0,0V8.4c0-1.1,0.5-2.1,1.1-2.9
|
||||
C2.6,4.6,4,4.1,5.3,4.2L5.3,4.2z"/>
|
||||
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h-0.2c-0.3,0-0.5,0.2-0.8,0.3l-0.2,0.2L13.7,2c-0.6-0.6-1.4-1.1-2.4-1.1h-0.2
|
||||
c-0.3,0-0.6,0.2-1.1,0.2L9.9,1.2L9.8,1.1C9.1,0.4,8.3,0,7.4,0L7.4,0z"/>
|
||||
</g>
|
||||
<polygon class="st1" points="10.9,10.4 12.5,10.4 12.5,16.8 10.9,16.8 "/>
|
||||
<polygon class="st1" points="14,10.4 15.6,10.4 15.6,16.8 14,16.8 "/>
|
||||
<polygon class="st1" points="17.2,10.4 18.8,10.4 18.8,16.8 17.2,16.8 "/>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 2.4 KiB |
Reference in New Issue
Block a user