OSDN Git Service

Increased version to 1.2
[neighbornote/NeighborNote.git] / qss / default.qss
1 /* Default stylesheet */
2
3
4  QTreeView::branch:has-siblings:!adjoins-item  {
5      /* border-image: url(qss/vline.png) 0; */
6      border-image: url(qss/dummy.png) 0;
7  }
8
9  QTreeView::branch:has-siblings:adjoins-item {
10 /*     border-image: url(qss/branch-more.png) 0; */
11      border-image: url(qss/dummy.png) 0;
12  }
13
14
15  QTreeView::branch:!has-children:!has-siblings:adjoins-item  {
16 /*     border-image: url(qss/branch-end.png) 0; */
17      border-image: url(qss/dummy.png) 0;
18  }
19
20  QTreeView::branch:has-children:!has-siblings:closed,
21  QTreeView::branch:closed:has-children:has-siblings  {
22          border-image: none;
23          image: url(qss/branch-closed.png);
24  }
25
26  QTreeView::branch:open:has-children:!has-siblings,
27  QTreeView::branch:open:has-children:has-siblings  {
28          border-image: none;
29          image: url(qss/branch-open.png);
30  }
31  QTreeView::item {
32       padding: 1px 1px 1px 1px;
33  } 
34  
35  QTreeView[hideTree="true"]::branch:!has-chlidren:hasSiblings {
36         border-image: none;
37         image: none;
38  }
39  
40  
41  
42 /*
43  QProgressBar {
44       border: 1px solid gray;
45         border-radius: 1em  ;
46         text-align: center;
47         padding: 2px;
48  }
49 */
50
51 QProgressBar { 
52         text-align: center; 
53 }
54
55 QSpinBox {
56      padding-right: 15px; /* make room for the arrows */
57      border-width: 3;
58      text-align: center;
59  }