OSDN Git Service

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