Updated Breeze stylesheets to look better with tree-views.

main
Alex Huszagh 2018-12-19 17:55:21 -06:00
parent 71f4188747
commit 72c6c48796
19 changed files with 2403 additions and 2271 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
__pycache__
*.pyc

View File

@ -5,6 +5,8 @@
<file>light/hsepartoolbar.svg</file>
<file>light/vsepartoolbars.svg</file>
<file>light/stylesheet-branch-end.svg</file>
<file>light/stylesheet-branch-end-closed.svg</file>
<file>light/stylesheet-branch-end-open.svg</file>
<file>light/stylesheet-vline.svg</file>
<file>light/stylesheet-branch-more.svg</file>
<file>light/branch_closed.svg</file>
@ -46,6 +48,8 @@
<file>dark/hsepartoolbar.svg</file>
<file>dark/vsepartoolbars.svg</file>
<file>dark/stylesheet-branch-end.svg</file>
<file>dark/stylesheet-branch-end-closed.svg</file>
<file>dark/stylesheet-branch-end-open.svg</file>
<file>dark/stylesheet-vline.svg</file>
<file>dark/stylesheet-branch-more.svg</file>
<file>dark/branch_closed.svg</file>

File diff suppressed because it is too large Load Diff

View File

@ -1205,17 +1205,47 @@ QTreeView::branch:!has-children:!has-siblings:adjoins-item
QTreeView::branch:has-children:!has-siblings:closed,
QTreeView::branch:closed:has-children:has-siblings
{
border-image: none;
border-image: url(:/dark/stylesheet-branch-end-closed.svg) 0;
image: url(:/dark/branch_closed.svg);
}
QTreeView::branch:open:has-children:!has-siblings,
QTreeView::branch:open:has-children:has-siblings
{
border-image: none;
border-image: url(:/dark/stylesheet-branch-end-open.svg) 0;
image: url(:/dark/branch_open.svg);
}
/*
QTreeView::branch:has-siblings:!adjoins-item {
background: cyan;
}
QTreeView::branch:has-siblings:adjoins-item {
background: red;
}
QTreeView::branch:!has-children:!has-siblings:adjoins-item {
background: blue;
}
QTreeView::branch:closed:has-children:has-siblings {
background: pink;
}
QTreeView::branch:has-children:!has-siblings:closed {
background: gray;
}
QTreeView::branch:open:has-children:has-siblings {
background: magenta;
}
QTreeView::branch:open:has-children:!has-siblings {
background: green;
}
*/
QTableView::item,
QListView::item,
QTreeView::item
@ -1233,6 +1263,7 @@ QTreeView::item:!selected:hover
padding: 0.3ex;
}
QSlider::groove:horizontal
{
border: 0.1ex solid #31363b;

View File

@ -1,3 +1,3 @@
<svg width="18" height="18">
<path fill="#afafaf" d="M6,13V6L10,9.5Z"/>
<svg width="12" height="18">
<path fill="#afafaf" d="M5,12V6L9,9Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 81 B

After

Width:  |  Height:  |  Size: 78 B

View File

@ -1,3 +1,3 @@
<svg width="18" height="18">
<path fill="#afafaf" d="M6,6H13L9.5,10Z"/>
<svg width="18" height="12">
<path fill="#afafaf" d="M5.5,3H12.5L9,9Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 81 B

After

Width:  |  Height:  |  Size: 82 B

View File

@ -0,0 +1,4 @@
<svg width="81" height="58">
<rect id="VLine" fill="#626568" x="36" width="2" height="14"/>
<rect id="HLine" fill="#626568" x="65" y="28" height="1" width="28"/>
</svg>

After

Width:  |  Height:  |  Size: 173 B

View File

@ -0,0 +1,4 @@
<svg width="81" height="58">
<rect id="VLine" fill="#626568" x="36" width="2" height="14"/>
<rect id="HLine" fill="#626568" x="65" y="28" height="1" width="28"/>
</svg>

After

Width:  |  Height:  |  Size: 173 B

View File

@ -1,4 +1,4 @@
<svg width="81" height="58">
<rect id="VLine" fill="#626568" x="38" width="2" height="24"/>
<rect id="HLine" fill="#626568" x="38" y="24" height="2" width="57"/>
<rect id="VLine" fill="#626568" x="36" width="2" height="28"/>
<rect id="HLine" fill="#626568" x="36" y="28" height="1" width="57"/>
</svg>

Before

Width:  |  Height:  |  Size: 173 B

After

Width:  |  Height:  |  Size: 173 B

View File

@ -1,4 +1,4 @@
<svg width="81" height="58">
<rect id="VLine" fill="#626568" x="37" width="2" height="58"/>
<rect id="HLine" fill="#626568" x="37" y="30" height="2" width="44"/>
<rect id="VLine" fill="#626568" x="36" width="2" height="58"/>
<rect id="HLine" fill="#626568" x="36" y="30" height="1" width="44"/>
</svg>

Before

Width:  |  Height:  |  Size: 173 B

After

Width:  |  Height:  |  Size: 173 B

View File

@ -1,3 +1,3 @@
<svg width="81" height="58">
<rect fill="#626568" x="38" width="2" height="58"/>
<rect fill="#626568" x="36" width="2" height="58"/>
</svg>

Before

Width:  |  Height:  |  Size: 90 B

After

Width:  |  Height:  |  Size: 90 B

View File

@ -1195,13 +1195,15 @@ QTreeView::branch:!has-children:!has-siblings:adjoins-item
QTreeView::branch:has-children:!has-siblings:closed,
QTreeView::branch:closed:has-children:has-siblings
{
border-image: url(:/light/branch_closed.svg);
border-image: url(:/light/stylesheet-branch-end-closed.svg) 0;
image: url(:/light/branch_closed.svg);
}
QTreeView::branch:open:has-children:!has-siblings,
QTreeView::branch:open:has-children:has-siblings
{
border-image: url(:/light/branch_open.svg);
border-image: url(:/light/stylesheet-branch-end-open.svg) 0;
image: url(:/light/branch_open.svg);
}
QTableView::item,

View File

@ -1,3 +1,3 @@
<svg width="18" height="18">
<path fill="#4b4b4b" d="M6,13V6L10,9.5Z"/>
<svg width="12" height="18">
<path fill="#4b4b4b" d="M5,12V6L9,9Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 81 B

After

Width:  |  Height:  |  Size: 78 B

View File

@ -1,3 +1,3 @@
<svg width="18" height="18">
<path fill="#4b4b4b" d="M6,6H13L9.5,10Z"/>
<svg width="18" height="12">
<path fill="#4b4b4b" d="M5.5,3H12.5L9,9Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 81 B

After

Width:  |  Height:  |  Size: 82 B

View File

@ -0,0 +1,4 @@
<svg width="81" height="58">
<rect id="VLine" fill="#bcbfc2" x="36" width="2" height="14"/>
<rect id="HLine" fill="#bcbfc2" x="65" y="28" height="1" width="28"/>
</svg>

After

Width:  |  Height:  |  Size: 173 B

View File

@ -0,0 +1,4 @@
<svg width="81" height="58">
<rect id="VLine" fill="#bcbfc2" x="36" width="2" height="14"/>
<rect id="HLine" fill="#bcbfc2" x="65" y="28" height="1" width="28"/>
</svg>

After

Width:  |  Height:  |  Size: 173 B

View File

@ -1,4 +1,4 @@
<svg width="81" height="58">
<rect id="VLine" fill="#bcbfc2" x="38" width="2" height="24"/>
<rect id="HLine" fill="#bcbfc2" x="38" y="24" height="2" width="57"/>
<rect id="VLine" fill="#bcbfc2" x="36" width="2" height="28"/>
<rect id="HLine" fill="#bcbfc2" x="36" y="28" height="1" width="57"/>
</svg>

Before

Width:  |  Height:  |  Size: 173 B

After

Width:  |  Height:  |  Size: 173 B

View File

@ -1,4 +1,4 @@
<svg width="81" height="58">
<rect id="VLine" fill="#bcbfc2" x="37" width="2" height="58"/>
<rect id="HLine" fill="#bcbfc2" x="37" y="30" height="2" width="44"/>
<rect id="VLine" fill="#bcbfc2" x="36" width="2" height="58"/>
<rect id="HLine" fill="#bcbfc2" x="36" y="30" height="1" width="44"/>
</svg>

Before

Width:  |  Height:  |  Size: 173 B

After

Width:  |  Height:  |  Size: 173 B

View File

@ -1,3 +1,3 @@
<svg width="81" height="58">
<rect fill="#bcbfc2" x="38" width="2" height="58"/>
<rect fill="#bcbfc2" x="36" width="2" height="58"/>
</svg>

Before

Width:  |  Height:  |  Size: 90 B

After

Width:  |  Height:  |  Size: 90 B