Improved disabled pin button

This commit is contained in:
Uwe Kindler 2023-11-06 12:17:39 +01:00
parent 8f77f4b42a
commit 234cf9ac58
6 changed files with 15 additions and 7 deletions

View File

@ -22,5 +22,6 @@
<file>images/pin-button-big.svg</file>
<file>images/minimize-button.svg</file>
<file>images/minimize-button-focused.svg</file>
<file>images/vs-pin-button-disabled.svg</file>
</qresource>
</RCC>

View 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" fill-opacity=".25" style="-inkscape-stroke:none"/></svg>

After

Width:  |  Height:  |  Size: 332 B

View File

@ -288,7 +288,8 @@ ads--CAutoHideDockContainer ads--CDockAreaWidget[focused="true"] ads--CDockAreaT
* CAutoHideDockContainer titlebar buttons
*****************************************************************************/
#dockAreaAutoHideButton {
qproperty-icon: url(:/ads/images/vs-pin-button.svg);
qproperty-icon: url(:/ads/images/vs-pin-button.svg),
url(:/ads/images/vs-pin-button-disabled.svg) disabled;
qproperty-iconSize: 16px;
}

View File

@ -324,8 +324,9 @@ ads--CAutoHideDockContainer ads--CDockAreaWidget[focused="true"] ads--CDockAreaT
* CAutoHideDockContainer titlebar buttons
*****************************************************************************/
#dockAreaAutoHideButton {
qproperty-icon: url(:/ads/images/vs-pin-button.svg);
qproperty-iconSize: 16px;
qproperty-icon: url(:/ads/images/vs-pin-button.svg),
url(:/ads/images/vs-pin-button-disabled.svg) disabled;
qproperty-iconSize: 16px;
}
ads--CAutoHideDockContainer #dockAreaAutoHideButton {

View File

@ -326,12 +326,14 @@ ads--CAutoHideDockContainer ads--CDockAreaWidget[focused="true"] ads--CDockAreaT
* CAutoHideDockContainer titlebar buttons
*****************************************************************************/
#dockAreaAutoHideButton {
qproperty-icon: url(:/ads/images/vs-pin-button.svg);
qproperty-icon: url(:/ads/images/vs-pin-button.svg),
url(:/ads/images/vs-pin-button-disabled.svg) disabled;
qproperty-iconSize: 16px;
}
ads--CAutoHideDockContainer #dockAreaAutoHideButton {
qproperty-icon: url(:/ads/images/vs-pin-button-pinned-focused.svg);
qproperty-icon: url(:/ads/images/vs-pin-button-pinned-focused.svg),
qproperty-iconSize: 16px;
}

View File

@ -401,8 +401,9 @@ ads--CAutoHideDockContainer ads--CDockAreaWidget[focused="true"] ads--CDockAreaT
* CAutoHideDockContainer titlebar buttons
*****************************************************************************/
#dockAreaAutoHideButton {
qproperty-icon: url(:/ads/images/vs-pin-button.svg);
qproperty-iconSize: 16px;
qproperty-icon: url(:/ads/images/vs-pin-button.svg),
url(:/ads/images/vs-pin-button-disabled.svg) disabled;
qproperty-iconSize: 16px;
}
ads--CAutoHideDockContainer #dockAreaAutoHideButton {