Add full support for the Advanced Docking System

closes #20
main
Alex Huszagh 2021-07-20 18:15:07 -05:00
parent 228009860b
commit 2298fcd8bb
26 changed files with 4161 additions and 4094 deletions

View File

@ -50,6 +50,7 @@
<file>dark/transparent.svg</file>
<file>dark/undock.svg</file>
<file>dark/undock_hover.svg</file>
<file>dark/undock_hover_pressed.svg</file>
<file>dark/up_arrow.svg</file>
<file>dark/up_arrow_disabled.svg</file>
<file>dark/up_arrow_hover.svg</file>
@ -106,6 +107,7 @@
<file>light/transparent.svg</file>
<file>light/undock.svg</file>
<file>light/undock_hover.svg</file>
<file>light/undock_hover_pressed.svg</file>
<file>light/up_arrow.svg</file>
<file>light/up_arrow_disabled.svg</file>
<file>light/up_arrow_hover.svg</file>

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
<svg width="100" height="100">
<g transform="scale(0.45) translate(30, 30)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M 79.796875 10 A 70 70 0 0 0 10 80 A 70 70 0 0 0 80 150 A 70 70 0 0 0 150 80 A 70 70 0 0 0 80 10 A 70 70 0 0 0 79.796875 10 z M 110.93359 38.5 C 114.11991 38.491338 117.30995 39.711206 119.74805 42.160156 C 124.62075 47.056656 124.64102 55.0179 119.79492 59.9375 L 98.519531 81.515625 L 119.81836 103.11523 C 124.62456 107.99983 124.55858 115.91021 119.67188 120.78711 C 114.78378 125.66191 106.92589 125.64952 102.12109 120.76562 L 80.96875 99.316406 L 59.777344 120.80664 C 54.928444 125.73044 47.044169 125.75142 42.167969 120.85352 C 37.295269 115.95702 37.274294 107.99577 42.121094 103.07617 L 63.396484 81.496094 L 42.099609 59.898438 C 37.292709 55.013838 37.357441 47.101509 42.244141 42.224609 C 47.132241 37.350509 54.992075 37.362194 59.796875 42.246094 L 80.949219 63.697266 L 102.14062 42.207031 C 104.56508 39.745131 107.74728 38.508662 110.93359 38.5 z " fill="#626568" fill-opacity="1.0"/>
<g transform="matrix(0.62164284,0,0,0.6235711,-0.63530434,3.6816315)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M 79.796875,10 A 70,70 0 0 0 10,80 70,70 0 0 0 80,150 70,70 0 0 0 150,80 70,70 0 0 0 80,10 70,70 0 0 0 79.796875,10 Z m 31.136715,28.5 c 3.18632,-0.0087 6.37636,1.211206 8.81446,3.660156 4.8727,4.8965 4.89297,12.857744 0.0469,17.777344 L 98.519531,81.515625 119.81836,103.11523 c 4.8062,4.8846 4.74022,12.79498 -0.14648,17.67188 -4.8881,4.8748 -12.74599,4.86241 -17.55079,-0.0215 L 80.96875,99.316406 59.777344,120.80664 c -4.8489,4.9238 -12.733175,4.94478 -17.609375,0.0469 -4.8727,-4.8965 -4.893675,-12.85775 -0.04687,-17.77735 L 63.396484,81.496094 42.099609,59.898438 c -4.8069,-4.8846 -4.742168,-12.796929 0.144532,-17.673829 4.8881,-4.8741 12.747934,-4.862415 17.552734,0.02148 L 80.949219,63.697266 102.14062,42.207031 c 2.42446,-2.4619 5.60666,-3.698369 8.79297,-3.707031 z" fill="#626568" fill-opacity="1.0"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 990 B

View File

@ -1,5 +1,5 @@
<svg width="100" height="100">
<g transform="scale(0.45) translate(30, 30)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M 79.796875 10 A 70 70 0 0 0 10 80 A 70 70 0 0 0 80 150 A 70 70 0 0 0 150 80 A 70 70 0 0 0 80 10 A 70 70 0 0 0 79.796875 10 z M 110.93359 38.5 C 114.11991 38.491338 117.30995 39.711206 119.74805 42.160156 C 124.62075 47.056656 124.64102 55.0179 119.79492 59.9375 L 98.519531 81.515625 L 119.81836 103.11523 C 124.62456 107.99983 124.55858 115.91021 119.67188 120.78711 C 114.78378 125.66191 106.92589 125.64952 102.12109 120.76562 L 80.96875 99.316406 L 59.777344 120.80664 C 54.928444 125.73044 47.044169 125.75142 42.167969 120.85352 C 37.295269 115.95702 37.274294 107.99577 42.121094 103.07617 L 63.396484 81.496094 L 42.099609 59.898438 C 37.292709 55.013838 37.357441 47.101509 42.244141 42.224609 C 47.132241 37.350509 54.992075 37.362194 59.796875 42.246094 L 80.949219 63.697266 L 102.14062 42.207031 C 104.56508 39.745131 107.74728 38.508662 110.93359 38.5 z " fill="#eff0f1" fill-opacity="1.0"/>
<g transform="matrix(0.62164284,0,0,0.6235711,-0.63530434,3.6816315)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M 79.796875,10 A 70,70 0 0 0 10,80 70,70 0 0 0 80,150 70,70 0 0 0 150,80 70,70 0 0 0 80,10 70,70 0 0 0 79.796875,10 Z m 31.136715,28.5 c 3.18632,-0.0087 6.37636,1.211206 8.81446,3.660156 4.8727,4.8965 4.89297,12.857744 0.0469,17.777344 L 98.519531,81.515625 119.81836,103.11523 c 4.8062,4.8846 4.74022,12.79498 -0.14648,17.67188 -4.8881,4.8748 -12.74599,4.86241 -17.55079,-0.0215 L 80.96875,99.316406 59.777344,120.80664 c -4.8489,4.9238 -12.733175,4.94478 -17.609375,0.0469 -4.8727,-4.8965 -4.893675,-12.85775 -0.04687,-17.77735 L 63.396484,81.496094 42.099609,59.898438 c -4.8069,-4.8846 -4.742168,-12.796929 0.144532,-17.673829 4.8881,-4.8741 12.747934,-4.862415 17.552734,0.02148 L 80.949219,63.697266 102.14062,42.207031 c 2.42446,-2.4619 5.60666,-3.698369 8.79297,-3.707031 z" fill="#eff0f1" fill-opacity="1.0"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 990 B

View File

@ -1,5 +1,5 @@
<svg width="100" height="100">
<g transform="scale(0.45) translate(30, 30)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M 79.796875 10 A 70 70 0 0 0 10 80 A 70 70 0 0 0 80 150 A 70 70 0 0 0 150 80 A 70 70 0 0 0 80 10 A 70 70 0 0 0 79.796875 10 z M 110.93359 38.5 C 114.11991 38.491338 117.30995 39.711206 119.74805 42.160156 C 124.62075 47.056656 124.64102 55.0179 119.79492 59.9375 L 98.519531 81.515625 L 119.81836 103.11523 C 124.62456 107.99983 124.55858 115.91021 119.67188 120.78711 C 114.78378 125.66191 106.92589 125.64952 102.12109 120.76562 L 80.96875 99.316406 L 59.777344 120.80664 C 54.928444 125.73044 47.044169 125.75142 42.167969 120.85352 C 37.295269 115.95702 37.274294 107.99577 42.121094 103.07617 L 63.396484 81.496094 L 42.099609 59.898438 C 37.292709 55.013838 37.357441 47.101509 42.244141 42.224609 C 47.132241 37.350509 54.992075 37.362194 59.796875 42.246094 L 80.949219 63.697266 L 102.14062 42.207031 C 104.56508 39.745131 107.74728 38.508662 110.93359 38.5 z " fill="#2a79a3" fill-opacity="1.0"/>
<g transform="matrix(0.62164284,0,0,0.6235711,-0.63530434,3.6816315)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M 79.796875,10 A 70,70 0 0 0 10,80 70,70 0 0 0 80,150 70,70 0 0 0 150,80 70,70 0 0 0 80,10 70,70 0 0 0 79.796875,10 Z m 31.136715,28.5 c 3.18632,-0.0087 6.37636,1.211206 8.81446,3.660156 4.8727,4.8965 4.89297,12.857744 0.0469,17.777344 L 98.519531,81.515625 119.81836,103.11523 c 4.8062,4.8846 4.74022,12.79498 -0.14648,17.67188 -4.8881,4.8748 -12.74599,4.86241 -17.55079,-0.0215 L 80.96875,99.316406 59.777344,120.80664 c -4.8489,4.9238 -12.733175,4.94478 -17.609375,0.0469 -4.8727,-4.8965 -4.893675,-12.85775 -0.04687,-17.77735 L 63.396484,81.496094 42.099609,59.898438 c -4.8069,-4.8846 -4.742168,-12.796929 0.144532,-17.673829 4.8881,-4.8741 12.747934,-4.862415 17.552734,0.02148 L 80.949219,63.697266 102.14062,42.207031 c 2.42446,-2.4619 5.60666,-3.698369 8.79297,-3.707031 z" fill="#2a79a3" fill-opacity="1.0"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 990 B

View File

@ -1071,18 +1071,19 @@ QTabBar:focus
QTabBar::close-button
{
/* Doesn't seem possible to resize these buttons */
border-image: url(:/dark/close.svg);
border-image: url(:/dark/transparent.svg);
image: url(:/dark/close.svg);
background: transparent;
}
QTabBar::close-button:hover
{
border-image: url(:/dark/close_hover.svg);
image: url(:/dark/close_hover.svg);
}
QTabBar::close-button:pressed
{
border-image: url(:/dark/close_pressed.svg);
image: url(:/dark/close_pressed.svg);
}
/* TOP TABS */
@ -1362,34 +1363,36 @@ QDockWidget::float-button
QDockWidget::float-button
{
border-image: url(:/dark/undock.svg);
border-image: url(:/dark/transparent.svg);
image: url(:/dark/undock.svg);
}
QDockWidget::float-button:hover
{
border-image: url(:/dark/undock_hover.svg);
image: url(:/dark/undock_hover.svg);
}
/* The :pressed events don't register, seems to be a Qt bug. */
QDockWidget::float-button:pressed
{
border-image: url(:/dark/undock_hover.svg);
image: url(:/dark/undock_hover.svg);
}
QDockWidget::close-button
{
border-image: url(:/dark/close.svg);
border-image: url(:/dark/transparent.svg);
image: url(:/dark/close.svg);
}
QDockWidget::close-button:hover
{
border-image: url(:/dark/close_hover.svg);
image: url(:/dark/close_hover.svg);
}
/* The :pressed events don't register, seems to be a Qt bug. */
QDockWidget::close-button:pressed
{
border-image: url(:/dark/close_pressed.svg);
image: url(:/dark/close_pressed.svg);
}
QTreeView,

View File

@ -1,5 +1,5 @@
<svg width="150" height="150" >
<svg width="100" height="100" >
<g>
<path d="M 34.446565,74.553562 74.946563,115.05356 115.44657,74.553562 74.946563,34.053565 Z" fill="none" stroke="#a2a2a2" stroke-opacity="1.0" stroke-width="8.1" />
<path d="M 12.919083,53.164037 49.369081,89.614035 85.819087,53.164037 49.369081,16.71404 Z" fill="none" stroke="#a2a2a2" stroke-opacity="1.0" stroke-width="7.29" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 222 B

After

Width:  |  Height:  |  Size: 222 B

View File

@ -1,5 +1,5 @@
<svg width="150" height="150" >
<g>
<svg width="100" height="100" >
<g transform="matrix(0.9,0,0,0.9,-16.532276,-13.998658)">
<path d="m 74.838633,26.399968 a 48.6,48.6 0 0 0 -48.438633,48.6 48.6,48.6 0 0 0 97.2,0 48.6,48.6 0 0 0 -48.761367,-48.6 z m -0.648633,11.34 36.45,36.45 L 74.19,110.63997 37.74,74.189968 Z" fill="#eff0f1" fill-opacity="1.0" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 281 B

After

Width:  |  Height:  |  Size: 335 B

View File

@ -1,5 +1,5 @@
<svg width="150" height="150" >
<g>
<svg width="100" height="100" >
<g transform="matrix(0.9,0,0,0.9,-16.532276,-13.998658)">
<path d="m 74.838633,26.399968 a 48.6,48.6 0 0 0 -48.438633,48.6 48.6,48.6 0 0 0 97.2,0 48.6,48.6 0 0 0 -48.761367,-48.6 z m -0.648633,11.34 36.45,36.45 L 74.19,110.63997 37.74,74.189968 Z" fill="#2a79a3" fill-opacity="1.0" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 281 B

After

Width:  |  Height:  |  Size: 335 B

View File

@ -0,0 +1,5 @@
<svg width="150" height="150" >
<g transform="matrix(0.69285714,0,0,0.69285678,24.357368,19.834994)">
<path d="M 79.796875,10 A 70,70 0 0 0 10,80 70,70 0 0 0 80,150 70,70 0 0 0 150,80 70,70 0 0 0 80,10 70,70 0 0 0 79.796875,10 Z m 31.136715,28.5 c 3.18632,-0.0087 6.37636,1.211206 8.81446,3.660156 4.8727,4.8965 4.89297,12.857744 0.0469,17.777344 L 98.519531,81.515625 119.81836,103.11523 c 4.8062,4.8846 4.74022,12.79498 -0.14648,17.67188 -4.8881,4.8748 -12.74599,4.86241 -17.55079,-0.0215 L 80.96875,99.316406 59.777344,120.80664 c -4.8489,4.9238 -12.733175,4.94478 -17.609375,0.0469 -4.8727,-4.8965 -4.893675,-12.85775 -0.04687,-17.77735 L 63.396484,81.496094 42.099609,59.898438 c -4.8069,-4.8846 -4.742168,-12.796929 0.144532,-17.673829 4.8881,-4.8741 12.747934,-4.862415 17.552734,0.02148 L 80.949219,63.697266 102.14062,42.207031 c 2.42446,-2.4619 5.60666,-3.698369 8.79297,-3.707031 z" fill="^0^" fill-opacity="^1^" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 947 B

View File

@ -1,5 +1,5 @@
<svg width="150" height="150" >
<g>
<path d="M 34.446565,74.553562 74.946563,115.05356 115.44657,74.553562 74.946563,34.053565 Z" fill="none" stroke="^0^" stroke-opacity="^1^" stroke-width="8.1" />
<path d="M 39.584,74.923035 80.083998,115.42304 120.584,74.923035 80.083998,34.423038 Z" fill="none" stroke="^0^" stroke-opacity="^1^" stroke-width="8.1" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 218 B

After

Width:  |  Height:  |  Size: 213 B

View File

@ -1,5 +1,5 @@
<svg width="150" height="150" >
<g>
<g transform="translate(4.80657,0.363594)">
<path d="m 74.838633,26.399968 a 48.6,48.6 0 0 0 -48.438633,48.6 48.6,48.6 0 0 0 97.2,0 48.6,48.6 0 0 0 -48.761367,-48.6 z m -0.648633,11.34 36.45,36.45 L 74.19,110.63997 37.74,74.189968 Z" fill="^0^" fill-opacity="^1^" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 277 B

After

Width:  |  Height:  |  Size: 317 B

View File

@ -11,6 +11,11 @@
"hover": ["close:hover:hex", "close:hover:opacity"],
"pressed": ["highlight:dark:hex", "highlight:dark:opacity"]
},
"ads_close": {
"default": ["dock:float:hex", "dock:float:opacity"],
"hover": ["close:hover:hex", "close:hover:opacity"],
"pressed": ["highlight:dark:hex", "highlight:dark:opacity"]
},
"ads_detach": {
"default": ["dock:float:hex", "dock:float:opacity"]
},

View File

@ -61,21 +61,21 @@
#dockAreaCloseButton,
#floatingTitleCloseButton
{
image: url(^style^close.svg);
image: url(^style^ads_close.svg);
}
#tabCloseButton:hover,
#dockAreaCloseButton:hover,
#floatingTitleCloseButton:hover
{
image: url(^style^close_hover.svg);
image: url(^style^ads_close_hover.svg);
}
#tabCloseButton:pressed,
#dockAreaCloseButton:pressed,
#floatingTitleCloseButton:pressed
{
image: url(^style^close_pressed.svg);
image: url(^style^ads_close_pressed.svg);
}
#tabsMenuButton

View File

@ -1,5 +1,5 @@
<svg width="100" height="100">
<g transform="scale(0.45) translate(30, 30)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M 79.796875 10 A 70 70 0 0 0 10 80 A 70 70 0 0 0 80 150 A 70 70 0 0 0 150 80 A 70 70 0 0 0 80 10 A 70 70 0 0 0 79.796875 10 z M 110.93359 38.5 C 114.11991 38.491338 117.30995 39.711206 119.74805 42.160156 C 124.62075 47.056656 124.64102 55.0179 119.79492 59.9375 L 98.519531 81.515625 L 119.81836 103.11523 C 124.62456 107.99983 124.55858 115.91021 119.67188 120.78711 C 114.78378 125.66191 106.92589 125.64952 102.12109 120.76562 L 80.96875 99.316406 L 59.777344 120.80664 C 54.928444 125.73044 47.044169 125.75142 42.167969 120.85352 C 37.295269 115.95702 37.274294 107.99577 42.121094 103.07617 L 63.396484 81.496094 L 42.099609 59.898438 C 37.292709 55.013838 37.357441 47.101509 42.244141 42.224609 C 47.132241 37.350509 54.992075 37.362194 59.796875 42.246094 L 80.949219 63.697266 L 102.14062 42.207031 C 104.56508 39.745131 107.74728 38.508662 110.93359 38.5 z " fill="#6a6969" fill-opacity="0.7"/>
<g transform="matrix(0.62164284,0,0,0.6235711,-0.63530434,3.6816315)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M 79.796875,10 A 70,70 0 0 0 10,80 70,70 0 0 0 80,150 70,70 0 0 0 150,80 70,70 0 0 0 80,10 70,70 0 0 0 79.796875,10 Z m 31.136715,28.5 c 3.18632,-0.0087 6.37636,1.211206 8.81446,3.660156 4.8727,4.8965 4.89297,12.857744 0.0469,17.777344 L 98.519531,81.515625 119.81836,103.11523 c 4.8062,4.8846 4.74022,12.79498 -0.14648,17.67188 -4.8881,4.8748 -12.74599,4.86241 -17.55079,-0.0215 L 80.96875,99.316406 59.777344,120.80664 c -4.8489,4.9238 -12.733175,4.94478 -17.609375,0.0469 -4.8727,-4.8965 -4.893675,-12.85775 -0.04687,-17.77735 L 63.396484,81.496094 42.099609,59.898438 c -4.8069,-4.8846 -4.742168,-12.796929 0.144532,-17.673829 4.8881,-4.8741 12.747934,-4.862415 17.552734,0.02148 L 80.949219,63.697266 102.14062,42.207031 c 2.42446,-2.4619 5.60666,-3.698369 8.79297,-3.707031 z" fill="#6a6969" fill-opacity="0.7"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 990 B

View File

@ -1,5 +1,5 @@
<svg width="100" height="100">
<g transform="scale(0.45) translate(30, 30)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M 79.796875 10 A 70 70 0 0 0 10 80 A 70 70 0 0 0 80 150 A 70 70 0 0 0 150 80 A 70 70 0 0 0 80 10 A 70 70 0 0 0 79.796875 10 z M 110.93359 38.5 C 114.11991 38.491338 117.30995 39.711206 119.74805 42.160156 C 124.62075 47.056656 124.64102 55.0179 119.79492 59.9375 L 98.519531 81.515625 L 119.81836 103.11523 C 124.62456 107.99983 124.55858 115.91021 119.67188 120.78711 C 114.78378 125.66191 106.92589 125.64952 102.12109 120.76562 L 80.96875 99.316406 L 59.777344 120.80664 C 54.928444 125.73044 47.044169 125.75142 42.167969 120.85352 C 37.295269 115.95702 37.274294 107.99577 42.121094 103.07617 L 63.396484 81.496094 L 42.099609 59.898438 C 37.292709 55.013838 37.357441 47.101509 42.244141 42.224609 C 47.132241 37.350509 54.992075 37.362194 59.796875 42.246094 L 80.949219 63.697266 L 102.14062 42.207031 C 104.56508 39.745131 107.74728 38.508662 110.93359 38.5 z " fill="#31363b" fill-opacity="1.0"/>
<g transform="matrix(0.62164284,0,0,0.6235711,-0.63530434,3.6816315)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M 79.796875,10 A 70,70 0 0 0 10,80 70,70 0 0 0 80,150 70,70 0 0 0 150,80 70,70 0 0 0 80,10 70,70 0 0 0 79.796875,10 Z m 31.136715,28.5 c 3.18632,-0.0087 6.37636,1.211206 8.81446,3.660156 4.8727,4.8965 4.89297,12.857744 0.0469,17.777344 L 98.519531,81.515625 119.81836,103.11523 c 4.8062,4.8846 4.74022,12.79498 -0.14648,17.67188 -4.8881,4.8748 -12.74599,4.86241 -17.55079,-0.0215 L 80.96875,99.316406 59.777344,120.80664 c -4.8489,4.9238 -12.733175,4.94478 -17.609375,0.0469 -4.8727,-4.8965 -4.893675,-12.85775 -0.04687,-17.77735 L 63.396484,81.496094 42.099609,59.898438 c -4.8069,-4.8846 -4.742168,-12.796929 0.144532,-17.673829 4.8881,-4.8741 12.747934,-4.862415 17.552734,0.02148 L 80.949219,63.697266 102.14062,42.207031 c 2.42446,-2.4619 5.60666,-3.698369 8.79297,-3.707031 z" fill="#31363b" fill-opacity="1.0"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 990 B

View File

@ -1,5 +1,5 @@
<svg width="100" height="100">
<g transform="scale(0.45) translate(30, 30)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M 79.796875 10 A 70 70 0 0 0 10 80 A 70 70 0 0 0 80 150 A 70 70 0 0 0 150 80 A 70 70 0 0 0 80 10 A 70 70 0 0 0 79.796875 10 z M 110.93359 38.5 C 114.11991 38.491338 117.30995 39.711206 119.74805 42.160156 C 124.62075 47.056656 124.64102 55.0179 119.79492 59.9375 L 98.519531 81.515625 L 119.81836 103.11523 C 124.62456 107.99983 124.55858 115.91021 119.67188 120.78711 C 114.78378 125.66191 106.92589 125.64952 102.12109 120.76562 L 80.96875 99.316406 L 59.777344 120.80664 C 54.928444 125.73044 47.044169 125.75142 42.167969 120.85352 C 37.295269 115.95702 37.274294 107.99577 42.121094 103.07617 L 63.396484 81.496094 L 42.099609 59.898438 C 37.292709 55.013838 37.357441 47.101509 42.244141 42.224609 C 47.132241 37.350509 54.992075 37.362194 59.796875 42.246094 L 80.949219 63.697266 L 102.14062 42.207031 C 104.56508 39.745131 107.74728 38.508662 110.93359 38.5 z " fill="#2d93c8" fill-opacity="0.5"/>
<g transform="matrix(0.62164284,0,0,0.6235711,-0.63530434,3.6816315)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M 79.796875,10 A 70,70 0 0 0 10,80 70,70 0 0 0 80,150 70,70 0 0 0 150,80 70,70 0 0 0 80,10 70,70 0 0 0 79.796875,10 Z m 31.136715,28.5 c 3.18632,-0.0087 6.37636,1.211206 8.81446,3.660156 4.8727,4.8965 4.89297,12.857744 0.0469,17.777344 L 98.519531,81.515625 119.81836,103.11523 c 4.8062,4.8846 4.74022,12.79498 -0.14648,17.67188 -4.8881,4.8748 -12.74599,4.86241 -17.55079,-0.0215 L 80.96875,99.316406 59.777344,120.80664 c -4.8489,4.9238 -12.733175,4.94478 -17.609375,0.0469 -4.8727,-4.8965 -4.893675,-12.85775 -0.04687,-17.77735 L 63.396484,81.496094 42.099609,59.898438 c -4.8069,-4.8846 -4.742168,-12.796929 0.144532,-17.673829 4.8881,-4.8741 12.747934,-4.862415 17.552734,0.02148 L 80.949219,63.697266 102.14062,42.207031 c 2.42446,-2.4619 5.60666,-3.698369 8.79297,-3.707031 z" fill="#2d93c8" fill-opacity="0.5"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 990 B

View File

@ -1071,18 +1071,19 @@ QTabBar:focus
QTabBar::close-button
{
/* Doesn't seem possible to resize these buttons */
border-image: url(:/light/close.svg);
border-image: url(:/light/transparent.svg);
image: url(:/light/close.svg);
background: transparent;
}
QTabBar::close-button:hover
{
border-image: url(:/light/close_hover.svg);
image: url(:/light/close_hover.svg);
}
QTabBar::close-button:pressed
{
border-image: url(:/light/close_pressed.svg);
image: url(:/light/close_pressed.svg);
}
/* TOP TABS */
@ -1362,34 +1363,36 @@ QDockWidget::float-button
QDockWidget::float-button
{
border-image: url(:/light/undock.svg);
border-image: url(:/light/transparent.svg);
image: url(:/light/undock.svg);
}
QDockWidget::float-button:hover
{
border-image: url(:/light/undock_hover.svg);
image: url(:/light/undock_hover.svg);
}
/* The :pressed events don't register, seems to be a Qt bug. */
QDockWidget::float-button:pressed
{
border-image: url(:/light/undock_hover.svg);
image: url(:/light/undock_hover.svg);
}
QDockWidget::close-button
{
border-image: url(:/light/close.svg);
border-image: url(:/light/transparent.svg);
image: url(:/light/close.svg);
}
QDockWidget::close-button:hover
{
border-image: url(:/light/close_hover.svg);
image: url(:/light/close_hover.svg);
}
/* The :pressed events don't register, seems to be a Qt bug. */
QDockWidget::close-button:pressed
{
border-image: url(:/light/close_pressed.svg);
image: url(:/light/close_pressed.svg);
}
QTreeView,

View File

@ -1,5 +1,5 @@
<svg width="150" height="150" >
<svg width="100" height="100" >
<g>
<path d="M 34.446565,74.553562 74.946563,115.05356 115.44657,74.553562 74.946563,34.053565 Z" fill="none" stroke="#a2a2a2" stroke-opacity="1.0" stroke-width="8.1" />
<path d="M 12.919083,53.164037 49.369081,89.614035 85.819087,53.164037 49.369081,16.71404 Z" fill="none" stroke="#a2a2a2" stroke-opacity="1.0" stroke-width="7.29" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 222 B

After

Width:  |  Height:  |  Size: 222 B

View File

@ -1,5 +1,5 @@
<svg width="150" height="150" >
<g>
<svg width="100" height="100" >
<g transform="matrix(0.9,0,0,0.9,-16.532276,-13.998658)">
<path d="m 74.838633,26.399968 a 48.6,48.6 0 0 0 -48.438633,48.6 48.6,48.6 0 0 0 97.2,0 48.6,48.6 0 0 0 -48.761367,-48.6 z m -0.648633,11.34 36.45,36.45 L 74.19,110.63997 37.74,74.189968 Z" fill="#31363b" fill-opacity="1.0" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 281 B

After

Width:  |  Height:  |  Size: 335 B

View File

@ -1,5 +1,5 @@
<svg width="150" height="150" >
<g>
<svg width="100" height="100" >
<g transform="matrix(0.9,0,0,0.9,-16.532276,-13.998658)">
<path d="m 74.838633,26.399968 a 48.6,48.6 0 0 0 -48.438633,48.6 48.6,48.6 0 0 0 97.2,0 48.6,48.6 0 0 0 -48.761367,-48.6 z m -0.648633,11.34 36.45,36.45 L 74.19,110.63997 37.74,74.189968 Z" fill="#2d93c8" fill-opacity="0.5" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 281 B

After

Width:  |  Height:  |  Size: 335 B

View File

@ -1,5 +1,5 @@
<svg width="100" height="100">
<g transform="scale(0.45) translate(30, 30)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M 79.796875 10 A 70 70 0 0 0 10 80 A 70 70 0 0 0 80 150 A 70 70 0 0 0 150 80 A 70 70 0 0 0 80 10 A 70 70 0 0 0 79.796875 10 z M 110.93359 38.5 C 114.11991 38.491338 117.30995 39.711206 119.74805 42.160156 C 124.62075 47.056656 124.64102 55.0179 119.79492 59.9375 L 98.519531 81.515625 L 119.81836 103.11523 C 124.62456 107.99983 124.55858 115.91021 119.67188 120.78711 C 114.78378 125.66191 106.92589 125.64952 102.12109 120.76562 L 80.96875 99.316406 L 59.777344 120.80664 C 54.928444 125.73044 47.044169 125.75142 42.167969 120.85352 C 37.295269 115.95702 37.274294 107.99577 42.121094 103.07617 L 63.396484 81.496094 L 42.099609 59.898438 C 37.292709 55.013838 37.357441 47.101509 42.244141 42.224609 C 47.132241 37.350509 54.992075 37.362194 59.796875 42.246094 L 80.949219 63.697266 L 102.14062 42.207031 C 104.56508 39.745131 107.74728 38.508662 110.93359 38.5 z " fill="^0^" fill-opacity="^1^"/>
<g transform="matrix(0.62164284,0,0,0.6235711,-0.63530434,3.6816315)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M 79.796875,10 A 70,70 0 0 0 10,80 70,70 0 0 0 80,150 70,70 0 0 0 150,80 70,70 0 0 0 80,10 70,70 0 0 0 79.796875,10 Z m 31.136715,28.5 c 3.18632,-0.0087 6.37636,1.211206 8.81446,3.660156 4.8727,4.8965 4.89297,12.857744 0.0469,17.777344 L 98.519531,81.515625 119.81836,103.11523 c 4.8062,4.8846 4.74022,12.79498 -0.14648,17.67188 -4.8881,4.8748 -12.74599,4.86241 -17.55079,-0.0215 L 80.96875,99.316406 59.777344,120.80664 c -4.8489,4.9238 -12.733175,4.94478 -17.609375,0.0469 -4.8727,-4.8965 -4.893675,-12.85775 -0.04687,-17.77735 L 63.396484,81.496094 42.099609,59.898438 c -4.8069,-4.8846 -4.742168,-12.796929 0.144532,-17.673829 4.8881,-4.8741 12.747934,-4.862415 17.552734,0.02148 L 80.949219,63.697266 102.14062,42.207031 c 2.42446,-2.4619 5.60666,-3.698369 8.79297,-3.707031 z" fill="^0^" fill-opacity="^1^"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 986 B

View File

@ -1071,18 +1071,19 @@ QTabBar:focus
QTabBar::close-button
{
/* Doesn't seem possible to resize these buttons */
border-image: url(^style^close.svg);
border-image: url(^style^transparent.svg);
image: url(^style^close.svg);
background: transparent;
}
QTabBar::close-button:hover
{
border-image: url(^style^close_hover.svg);
image: url(^style^close_hover.svg);
}
QTabBar::close-button:pressed
{
border-image: url(^style^close_pressed.svg);
image: url(^style^close_pressed.svg);
}
/* TOP TABS */
@ -1362,34 +1363,36 @@ QDockWidget::float-button
QDockWidget::float-button
{
border-image: url(^style^undock.svg);
border-image: url(^style^transparent.svg);
image: url(^style^undock.svg);
}
QDockWidget::float-button:hover
{
border-image: url(^style^undock_hover.svg);
image: url(^style^undock_hover.svg);
}
/* The :pressed events don't register, seems to be a Qt bug. */
QDockWidget::float-button:pressed
{
border-image: url(^style^undock_hover.svg);
image: url(^style^undock_hover.svg);
}
QDockWidget::close-button
{
border-image: url(^style^close.svg);
border-image: url(^style^transparent.svg);
image: url(^style^close.svg);
}
QDockWidget::close-button:hover
{
border-image: url(^style^close_hover.svg);
image: url(^style^close_hover.svg);
}
/* The :pressed events don't register, seems to be a Qt bug. */
QDockWidget::close-button:pressed
{
border-image: url(^style^close_pressed.svg);
image: url(^style^close_pressed.svg);
}
QTreeView,

View File

@ -1,5 +1,5 @@
<svg width="150" height="150" >
<svg width="100" height="100" >
<g>
<path d="M 34.446565,74.553562 74.946563,115.05356 115.44657,74.553562 74.946563,34.053565 Z" fill="none" stroke="^0^" stroke-opacity="^1^" stroke-width="8.1" />
<path d="M 12.919083,53.164037 49.369081,89.614035 85.819087,53.164037 49.369081,16.71404 Z" fill="none" stroke="^0^" stroke-opacity="^1^" stroke-width="7.29" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 218 B

After

Width:  |  Height:  |  Size: 218 B

View File

@ -1,5 +1,5 @@
<svg width="150" height="150" >
<g>
<svg width="100" height="100" >
<g transform="matrix(0.9,0,0,0.9,-16.532276,-13.998658)">
<path d="m 74.838633,26.399968 a 48.6,48.6 0 0 0 -48.438633,48.6 48.6,48.6 0 0 0 97.2,0 48.6,48.6 0 0 0 -48.761367,-48.6 z m -0.648633,11.34 36.45,36.45 L 74.19,110.63997 37.74,74.189968 Z" fill="^0^" fill-opacity="^1^" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 277 B

After

Width:  |  Height:  |  Size: 331 B

View File

@ -465,7 +465,13 @@ def test_tabwidget_right(widget, *_):
def test_tabwidget_bottom(widget, *_):
return _test_tabwidget(widget, South)
def test_closable_tabwidget(widget, *_):
def test_closable_tabwidget_top(widget, *_):
child = _test_tabwidget(widget, North)
child.setTabsClosable(True)
return child
def test_closable_tabwidget_right(widget, *_):
child = _test_tabwidget(widget, East)
child.setTabsClosable(True)