mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2025-01-24 21:39:03 +08:00
Added alternative auto hide button svg icon and modified stylesheet to show pinned icon for autohide widgets
This commit is contained in:
parent
ffe6eccb05
commit
96a5443a02
@ -15,5 +15,7 @@
|
|||||||
<file>images/maximize-button-focused.svg</file>
|
<file>images/maximize-button-focused.svg</file>
|
||||||
<file>images/restore-button.svg</file>
|
<file>images/restore-button.svg</file>
|
||||||
<file>images/restore-button-focused.svg</file>
|
<file>images/restore-button-focused.svg</file>
|
||||||
|
<file>images/vs-pin-button.svg</file>
|
||||||
|
<file>images/vs-pin-button-pinned.svg</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
2
src/images/vs-pin-button-pinned.svg
Normal file
2
src/images/vs-pin-button-pinned.svg
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg width="16" height="16" enable-background="new 0 0 122.879 122.867" version="1.1" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path d="m14 6h-6v-1h-1v3h-4v1h4v3h1v-1h6v-4zm-1 1v2h-5v-2z" color="#000000" style="-inkscape-stroke:none"/></svg>
|
After Width: | Height: | Size: 316 B |
2
src/images/vs-pin-button.svg
Normal file
2
src/images/vs-pin-button.svg
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg width="16" height="16" enable-background="new 0 0 122.879 122.867" version="1.1" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path d="m6 3v6h-1v1h3v4h1v-4h3v-1h-1v-6h-4zm1 1h2v5h-2z" color="#000000" style="-inkscape-stroke:none"/></svg>
|
After Width: | Height: | Size: 313 B |
@ -119,7 +119,13 @@ QScrollArea#dockWidgetScrollArea {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#dockAreaAutoHideButton {
|
#dockAreaAutoHideButton {
|
||||||
qproperty-icon: url(:/ads/images/pin-button.svg);
|
qproperty-icon: url(:/ads/images/vs-pin-button.svg);
|
||||||
|
qproperty-iconSize: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
ads--CAutoHideDockContainer #dockAreaAutoHideButton
|
||||||
|
{
|
||||||
|
qproperty-icon: url(:/ads/images/vs-pin-button-pinned.svg);
|
||||||
qproperty-iconSize: 16px;
|
qproperty-iconSize: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -123,7 +123,13 @@ QScrollArea#dockWidgetScrollArea {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#dockAreaAutoHideButton {
|
#dockAreaAutoHideButton {
|
||||||
qproperty-icon: url(:/ads/images/pin-button.svg);
|
qproperty-icon: url(:/ads/images/vs-pin-button.svg);
|
||||||
|
qproperty-iconSize: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
ads--CAutoHideDockContainer #dockAreaAutoHideButton
|
||||||
|
{
|
||||||
|
qproperty-icon: url(:/ads/images/vs-pin-button-pinned.svg);
|
||||||
qproperty-iconSize: 16px;
|
qproperty-iconSize: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -139,7 +139,13 @@ QScrollArea#dockWidgetScrollArea {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#dockAreaAutoHideButton {
|
#dockAreaAutoHideButton {
|
||||||
qproperty-icon: url(:/ads/images/pin-button.svg);
|
qproperty-icon: url(:/ads/images/vs-pin-button.svg);
|
||||||
|
qproperty-iconSize: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
ads--CAutoHideDockContainer #dockAreaAutoHideButton
|
||||||
|
{
|
||||||
|
qproperty-icon: url(:/ads/images/vs-pin-button-pinned.svg);
|
||||||
qproperty-iconSize: 16px;
|
qproperty-iconSize: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -136,7 +136,13 @@ QScrollArea#dockWidgetScrollArea {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#dockAreaAutoHideButton {
|
#dockAreaAutoHideButton {
|
||||||
qproperty-icon: url(:/ads/images/pin-button.svg);
|
qproperty-icon: url(:/ads/images/vs-pin-button.svg);
|
||||||
|
qproperty-iconSize: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
ads--CAutoHideDockContainer #dockAreaAutoHideButton
|
||||||
|
{
|
||||||
|
qproperty-icon: url(:/ads/images/vs-pin-button-pinned.svg);
|
||||||
qproperty-iconSize: 16px;
|
qproperty-iconSize: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user