driftlessmap 1.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- driftlessmap/__init__.py +16 -0
- driftlessmap/__main__.py +5 -0
- driftlessmap/about.py +24 -0
- driftlessmap/allen_downloader.py +908 -0
- driftlessmap/app.py +8085 -0
- driftlessmap/atlas_downloader.py +370 -0
- driftlessmap/atlas_loader.py +526 -0
- driftlessmap/atlas_processor.py +784 -0
- driftlessmap/atlas_transform.py +111 -0
- driftlessmap/atlas_view.py +1435 -0
- driftlessmap/cell_detection.py +27 -0
- driftlessmap/coordinate_validation.py +19 -0
- driftlessmap/czi_reader.py +236 -0
- driftlessmap/data/WHS_atlas_labels.pkl +0 -0
- driftlessmap/data/allen_mice_atlas_labels.pkl +0 -0
- driftlessmap/data/atlas_labels.pkl +0 -0
- driftlessmap/data/query.csv +1328 -0
- driftlessmap/download_utils.py +85 -0
- driftlessmap/herbs.png +0 -0
- driftlessmap/icons/backward.svg +15 -0
- driftlessmap/icons/dot.svg +11 -0
- driftlessmap/icons/down-arrow.svg +10 -0
- driftlessmap/icons/fast_backward.svg +14 -0
- driftlessmap/icons/fast_forward.svg +14 -0
- driftlessmap/icons/forward.svg +14 -0
- driftlessmap/icons/layers/add.png +0 -0
- driftlessmap/icons/layers/ai.png +0 -0
- driftlessmap/icons/layers/eye_off.png +0 -0
- driftlessmap/icons/layers/eye_on.png +0 -0
- driftlessmap/icons/layers/eye_white.png +0 -0
- driftlessmap/icons/layers/hi.png +0 -0
- driftlessmap/icons/layers/trash.png +0 -0
- driftlessmap/icons/object.svg +22 -0
- driftlessmap/icons/sidebar/add.png +0 -0
- driftlessmap/icons/sidebar/atlascontrol.png +0 -0
- driftlessmap/icons/sidebar/atlascontrol.svg +32 -0
- driftlessmap/icons/sidebar/bnd.svg +14 -0
- driftlessmap/icons/sidebar/c_section.png +0 -0
- driftlessmap/icons/sidebar/c_section2.png +0 -0
- driftlessmap/icons/sidebar/cell.svg +24 -0
- driftlessmap/icons/sidebar/check.svg +9 -0
- driftlessmap/icons/sidebar/compare.svg +18 -0
- driftlessmap/icons/sidebar/contour.svg +14 -0
- driftlessmap/icons/sidebar/h_section.png +0 -0
- driftlessmap/icons/sidebar/info.svg +14 -0
- driftlessmap/icons/sidebar/layers.png +0 -0
- driftlessmap/icons/sidebar/layers.svg +23 -0
- driftlessmap/icons/sidebar/line.svg +10 -0
- driftlessmap/icons/sidebar/link.svg +18 -0
- driftlessmap/icons/sidebar/link_off.svg +18 -0
- driftlessmap/icons/sidebar/merge.svg +11 -0
- driftlessmap/icons/sidebar/object.svg +13 -0
- driftlessmap/icons/sidebar/probe.png +0 -0
- driftlessmap/icons/sidebar/probe.svg +23 -0
- driftlessmap/icons/sidebar/rotation_horizontal.svg +14 -0
- driftlessmap/icons/sidebar/rotation_vertical.svg +14 -0
- driftlessmap/icons/sidebar/s_section.png +0 -0
- driftlessmap/icons/sidebar/tool.png +0 -0
- driftlessmap/icons/sidebar/tool.svg +19 -0
- driftlessmap/icons/sidebar/trash.png +0 -0
- driftlessmap/icons/sidebar/tree_checked.svg +10 -0
- driftlessmap/icons/sidebar/treeview.png +0 -0
- driftlessmap/icons/sidebar/treeview.svg +10 -0
- driftlessmap/icons/sidebar/treeview2.png +0 -0
- driftlessmap/icons/sidebar/virus.svg +24 -0
- driftlessmap/icons/tdown.svg +16 -0
- driftlessmap/icons/toolbar/accept.svg +18 -0
- driftlessmap/icons/toolbar/accept2.svg +24 -0
- driftlessmap/icons/toolbar/aim.svg +44 -0
- driftlessmap/icons/toolbar/aim_not.svg +28 -0
- driftlessmap/icons/toolbar/anchor.svg +14 -0
- driftlessmap/icons/toolbar/anticlockwise_rotation.svg +12 -0
- driftlessmap/icons/toolbar/atlas_icon.png +0 -0
- driftlessmap/icons/toolbar/boundary_register.svg +18 -0
- driftlessmap/icons/toolbar/cancel.svg +32 -0
- driftlessmap/icons/toolbar/cell_select.svg +22 -0
- driftlessmap/icons/toolbar/cell_select_not.svg +12 -0
- driftlessmap/icons/toolbar/check.svg +9 -0
- driftlessmap/icons/toolbar/clockwise_rotation.svg +11 -0
- driftlessmap/icons/toolbar/closed_path.svg +16 -0
- driftlessmap/icons/toolbar/closed_path2 copy.svg +19 -0
- driftlessmap/icons/toolbar/closed_path2.svg +20 -0
- driftlessmap/icons/toolbar/eraser.png +0 -0
- driftlessmap/icons/toolbar/eraser.svg +19 -0
- driftlessmap/icons/toolbar/eye.svg +17 -0
- driftlessmap/icons/toolbar/eye_closed.svg +19 -0
- driftlessmap/icons/toolbar/fill.svg +12 -0
- driftlessmap/icons/toolbar/gps.svg +15 -0
- driftlessmap/icons/toolbar/h_flip.png +0 -0
- driftlessmap/icons/toolbar/handle.png +0 -0
- driftlessmap/icons/toolbar/image_icon.png +0 -0
- driftlessmap/icons/toolbar/image_icon.svg +25 -0
- driftlessmap/icons/toolbar/info.svg +14 -0
- driftlessmap/icons/toolbar/inpart.png +0 -0
- driftlessmap/icons/toolbar/inpart.svg +17 -0
- driftlessmap/icons/toolbar/lasso.png +0 -0
- driftlessmap/icons/toolbar/lasso.svg +14 -0
- driftlessmap/icons/toolbar/left90.png +0 -0
- driftlessmap/icons/toolbar/line.svg +10 -0
- driftlessmap/icons/toolbar/line_sites.svg +11 -0
- driftlessmap/icons/toolbar/linear_silicon.png +0 -0
- driftlessmap/icons/toolbar/linear_silicon.svg +88 -0
- driftlessmap/icons/toolbar/list.svg +14 -0
- driftlessmap/icons/toolbar/location.svg +14 -0
- driftlessmap/icons/toolbar/magic-wand.svg +16 -0
- driftlessmap/icons/toolbar/magic_white.png +0 -0
- driftlessmap/icons/toolbar/mask.svg +10 -0
- driftlessmap/icons/toolbar/match.svg +20 -0
- driftlessmap/icons/toolbar/matchbnd.svg +18 -0
- driftlessmap/icons/toolbar/matching.svg +36 -0
- driftlessmap/icons/toolbar/merge.svg +11 -0
- driftlessmap/icons/toolbar/move_down.png +0 -0
- driftlessmap/icons/toolbar/move_left.png +0 -0
- driftlessmap/icons/toolbar/move_right.png +0 -0
- driftlessmap/icons/toolbar/move_up.png +0 -0
- driftlessmap/icons/toolbar/moving.png +0 -0
- driftlessmap/icons/toolbar/multi-probe.svg +119 -0
- driftlessmap/icons/toolbar/multi_pencil.svg +23 -0
- driftlessmap/icons/toolbar/multi_probe.png +0 -0
- driftlessmap/icons/toolbar/object.svg +13 -0
- driftlessmap/icons/toolbar/open_path.svg +22 -0
- driftlessmap/icons/toolbar/outpart.png +0 -0
- driftlessmap/icons/toolbar/outpart.svg +26 -0
- driftlessmap/icons/toolbar/pencil.png +0 -0
- driftlessmap/icons/toolbar/pencil.svg +19 -0
- driftlessmap/icons/toolbar/plasso.png +0 -0
- driftlessmap/icons/toolbar/probe.svg +19 -0
- driftlessmap/icons/toolbar/radar.svg +32 -0
- driftlessmap/icons/toolbar/rotation.svg +45 -0
- driftlessmap/icons/toolbar/rotation_clockwise.svg +18 -0
- driftlessmap/icons/toolbar/rotation_counter_clockwise.svg +18 -0
- driftlessmap/icons/toolbar/ruler.svg +27 -0
- driftlessmap/icons/toolbar/separate_sites.svg +13 -0
- driftlessmap/icons/toolbar/single_pencil.svg +16 -0
- driftlessmap/icons/toolbar/toa.svg +11 -0
- driftlessmap/icons/toolbar/toa_delete.svg +36 -0
- driftlessmap/icons/toolbar/toaa.svg +11 -0
- driftlessmap/icons/toolbar/toh.svg +11 -0
- driftlessmap/icons/toolbar/toh_delete.svg +36 -0
- driftlessmap/icons/toolbar/tohh.svg +11 -0
- driftlessmap/icons/toolbar/trans.png +0 -0
- driftlessmap/icons/toolbar/trans.svg +16 -0
- driftlessmap/icons/toolbar/triangulation.svg +10 -0
- driftlessmap/icons/toolbar/two_window.png +0 -0
- driftlessmap/icons/toolbar/unmerge.svg +16 -0
- driftlessmap/icons/toolbar/v_flip.png +0 -0
- driftlessmap/icons/toolbar/virus.svg +24 -0
- driftlessmap/icons/toolbar/virus_register.svg +31 -0
- driftlessmap/icons/toolbar/vis2d.svg +29 -0
- driftlessmap/icons/toolbar/window2.png +0 -0
- driftlessmap/icons/toolbar/window3.png +0 -0
- driftlessmap/icons/toolbar/window4.png +0 -0
- driftlessmap/icons/tree_close.svg +14 -0
- driftlessmap/icons/tree_open.svg +14 -0
- driftlessmap/icons/up-arrow.svg +10 -0
- driftlessmap/image_curves.py +579 -0
- driftlessmap/image_reader.py +186 -0
- driftlessmap/image_stacks.py +359 -0
- driftlessmap/image_view.py +646 -0
- driftlessmap/images_reader.py +5 -0
- driftlessmap/label_tree.py +278 -0
- driftlessmap/layer_validation.py +25 -0
- driftlessmap/layers_control.py +554 -0
- driftlessmap/main_window.ui +883 -0
- driftlessmap/movable_points.py +254 -0
- driftlessmap/obj_items.py +122 -0
- driftlessmap/object_control.py +1762 -0
- driftlessmap/persistence.py +376 -0
- driftlessmap/popup_message.py +16 -0
- driftlessmap/probe_csv.py +319 -0
- driftlessmap/probe_reconstruction.py +409 -0
- driftlessmap/probe_utiles.py +1442 -0
- driftlessmap/qss/atlas_view_group_box.qss +15 -0
- driftlessmap/qss/box_label.qss +7 -0
- driftlessmap/qss/channel_selector.qss +19 -0
- driftlessmap/qss/color_combo.qss +121 -0
- driftlessmap/qss/decor_label.qss +9 -0
- driftlessmap/qss/dialogs.qss +11 -0
- driftlessmap/qss/hidden_line_edit.qss +5 -0
- driftlessmap/qss/label_tree.qss +123 -0
- driftlessmap/qss/main_window.qss +243 -0
- driftlessmap/qss/menu_bar.qss +42 -0
- driftlessmap/qss/multi_handle_slider.qss +14 -0
- driftlessmap/qss/obj_ctrl_bottom_button.qss +29 -0
- driftlessmap/qss/object_text_button.qss +19 -0
- driftlessmap/qss/page_control.qss +36 -0
- driftlessmap/qss/rotation_button.qss +9 -0
- driftlessmap/qss/side_bar.qss +23 -0
- driftlessmap/qss/spinbox.qss +106 -0
- driftlessmap/qss/tabs.qss +211 -0
- driftlessmap/qss/tool_bar.qss +77 -0
- driftlessmap/resources.py +34 -0
- driftlessmap/roi_analysis.py +375 -0
- driftlessmap/run_driftlessmap.py +4 -0
- driftlessmap/slice_stacks.py +268 -0
- driftlessmap/slice_validation.py +20 -0
- driftlessmap/toolbox.py +569 -0
- driftlessmap/triangulation.py +517 -0
- driftlessmap/triangulation_points.py +108 -0
- driftlessmap/user_settings.py +92 -0
- driftlessmap/uuuuuu.py +1168 -0
- driftlessmap/version.py +3 -0
- driftlessmap/widgets_utils.py +140 -0
- driftlessmap/wtiles.py +715 -0
- driftlessmap-1.1.0.dist-info/METADATA +186 -0
- driftlessmap-1.1.0.dist-info/RECORD +210 -0
- driftlessmap-1.1.0.dist-info/WHEEL +5 -0
- driftlessmap-1.1.0.dist-info/entry_points.txt +2 -0
- driftlessmap-1.1.0.dist-info/licenses/LICENSE.txt +23 -0
- driftlessmap-1.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
QGroupBox {
|
|
2
|
+
background-color: transparent;
|
|
3
|
+
border: 1px solid gray;
|
|
4
|
+
border-radius: 3px;
|
|
5
|
+
padding: 5px;
|
|
6
|
+
margin-top: 20px
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
QGroupBox::title {
|
|
10
|
+
subcontrol-origin: margin;
|
|
11
|
+
subcontrol-position: top left;
|
|
12
|
+
padding-left: 10px;
|
|
13
|
+
padding-right: 3px;
|
|
14
|
+
padding-top: 10px;
|
|
15
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
QPushButton {
|
|
2
|
+
margin: 0 px;
|
|
3
|
+
padding: 0 px;
|
|
4
|
+
border-color: transparent;
|
|
5
|
+
background-color: #747a80;
|
|
6
|
+
color: white;
|
|
7
|
+
border-top-right-radius: 5px;
|
|
8
|
+
border-top-left-radius: 5px;
|
|
9
|
+
border-bottom-right-radius: 0px;
|
|
10
|
+
border-bottom-left-radius: 0px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
QLabel {
|
|
14
|
+
border-radius: 0px;
|
|
15
|
+
border-top: 5px solid rgb(255, 255, 255);
|
|
16
|
+
border-bottom: None;
|
|
17
|
+
border-left: None;
|
|
18
|
+
border-right: None;
|
|
19
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
/*---------------------- QComboBox -----------------------*/
|
|
2
|
+
QComboBox {
|
|
3
|
+
border-left: 1px solid gray;
|
|
4
|
+
border-right: 1px solid gray;
|
|
5
|
+
border-bottom: 1px solid gray;
|
|
6
|
+
border-top: None;
|
|
7
|
+
border-top-right-radius: 0px;
|
|
8
|
+
border-top-left-radius: 0px;
|
|
9
|
+
border-bottom-right-radius: 5px;
|
|
10
|
+
border-bottom-left-radius: 5px;
|
|
11
|
+
padding: 0px 3px 0px 3px;
|
|
12
|
+
background-color: transparent;
|
|
13
|
+
color: white;
|
|
14
|
+
margin: 0px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
QComboBox:item {
|
|
18
|
+
background: #323232;
|
|
19
|
+
color: white;
|
|
20
|
+
min-height: 10px;
|
|
21
|
+
margin: 0px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
QComboBox:item:selected
|
|
25
|
+
{
|
|
26
|
+
border: None;
|
|
27
|
+
background: #232323;
|
|
28
|
+
margin: 0px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
QComboBox:editable {
|
|
32
|
+
background: transparent;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
QComboBox:!editable, QComboBox::drop-down:editable {
|
|
36
|
+
background: transparent;
|
|
37
|
+
border-left: 1px solid gray;
|
|
38
|
+
border-right: 1px solid gray;
|
|
39
|
+
border-bottom: 1px solid gray;
|
|
40
|
+
border-top: None;
|
|
41
|
+
border-top-right-radius: 0px;
|
|
42
|
+
border-top-left-radius: 0px;
|
|
43
|
+
border-bottom-right-radius: 5px;
|
|
44
|
+
border-bottom-left-radius: 5px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
/* QComboBox gets the "on" state when the popup is open */
|
|
50
|
+
QComboBox:!editable:on, QComboBox::drop-down:editable:on {
|
|
51
|
+
background: transparent;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
QComboBox:on { /* shift the text when the popup opens */
|
|
55
|
+
padding: 3px;
|
|
56
|
+
color: white;
|
|
57
|
+
background-color: transparent;
|
|
58
|
+
selection-background-color: transparent;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
QComboBox::drop-down {
|
|
62
|
+
subcontrol-origin: padding;
|
|
63
|
+
subcontrol-position: top right;
|
|
64
|
+
border-top: None;
|
|
65
|
+
border-bottom: None;
|
|
66
|
+
border-left-width: 1px;
|
|
67
|
+
border-left-color: transparent;
|
|
68
|
+
border-left-style: solid; /* just a single line */
|
|
69
|
+
border-top-right-radius: 3px; /* same radius as the QComboBox */
|
|
70
|
+
border-bottom-right-radius: 3px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
QComboBox::down-arrow {
|
|
74
|
+
image: url(icons/tdown.svg);
|
|
75
|
+
width: 13px;
|
|
76
|
+
height: 14px;
|
|
77
|
+
padding-right: 3px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
QComboBox::down-arrow:on { /* shift the arrow when popup is open */
|
|
81
|
+
top: 1px;
|
|
82
|
+
left: 1px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
QListView {
|
|
87
|
+
background: #656565;
|
|
88
|
+
border: 1px solid gray;
|
|
89
|
+
color: white;
|
|
90
|
+
border-radius: 0px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
QListView::item {
|
|
94
|
+
border: None;
|
|
95
|
+
background: transparent;
|
|
96
|
+
margin:3px;
|
|
97
|
+
height: 20px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
QListView::item:selected {
|
|
101
|
+
border: None;
|
|
102
|
+
margin:3px;
|
|
103
|
+
color: white;
|
|
104
|
+
background: #232323;
|
|
105
|
+
height: 20px;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
QListView::item:selected:!active {
|
|
109
|
+
background: #323232;
|
|
110
|
+
border: None;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
QListView::item:selected:active {
|
|
114
|
+
background: #323232;
|
|
115
|
+
border: None;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
QListView::item:hover {
|
|
119
|
+
background: #323232;
|
|
120
|
+
border: None;
|
|
121
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
QWidget{
|
|
2
|
+
background-color: transparent;
|
|
3
|
+
color: white;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
QColorDialog{
|
|
7
|
+
background-color: rgb(50, 50, 50);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
QPushButton{
|
|
11
|
+
background: transparent;
|
|
12
|
+
border-radius: 3px;
|
|
13
|
+
color: white;
|
|
14
|
+
border: None;
|
|
15
|
+
height: 24px;
|
|
16
|
+
margin: 5px;
|
|
17
|
+
padding: 0px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
QTreeWidget{
|
|
21
|
+
background-color: transparent;
|
|
22
|
+
border: 1px solid #636363;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
QTreeWidget::item{
|
|
26
|
+
background-color: transparent;
|
|
27
|
+
color: rgb(255, 255, 255);
|
|
28
|
+
min-height: 20px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
QTreeWidget::item:selected{
|
|
32
|
+
background-color: transparent;
|
|
33
|
+
color: white;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
QTreeView {
|
|
37
|
+
border: 1px solid rgb(128, 128, 128);
|
|
38
|
+
background-color: transparent;
|
|
39
|
+
selection-background-color: transparent; /* Used on Mac */
|
|
40
|
+
selection-color: white; /* Used on Mac */
|
|
41
|
+
show-decoration-selected: 1;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
QTreeView::item {
|
|
45
|
+
border: None;
|
|
46
|
+
background-color: transparent;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
QTreeView::item:hover {
|
|
50
|
+
background: transparent;
|
|
51
|
+
border: None;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
QTreeView::item:selected {
|
|
55
|
+
border: None;
|
|
56
|
+
background: transparent;
|
|
57
|
+
color: white;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
QTreeView::indicator:unchecked {
|
|
61
|
+
border: 1px solid #656565;
|
|
62
|
+
border-radius: 5px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
QTreeView::indicator:checked {
|
|
66
|
+
border: 1px solid #656565;
|
|
67
|
+
border-radius: 5px;
|
|
68
|
+
image: url(icons/sidebar/tree_checked.svg);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
QTreeView::branch {
|
|
72
|
+
background: transparent;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
QTreeView::branch:selected {
|
|
76
|
+
background: transparent;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
QTreeView::branch:selected:active {
|
|
80
|
+
background: transparent;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
QTreeView::branch:selected:!active {
|
|
84
|
+
background: transparent;
|
|
85
|
+
}
|
|
86
|
+
QTreeView::branch:has-siblings:!adjoins-item {
|
|
87
|
+
border-image: None;
|
|
88
|
+
background: transparent;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
QTreeView::branch:has-siblings:adjoins-item {
|
|
92
|
+
border-image: None;
|
|
93
|
+
background: transparent;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
QTreeView::branch:!has-siblings:!adjoins-item {
|
|
97
|
+
border-image: None;
|
|
98
|
+
background: transparent;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
QTreeView::branch:!has-siblings:adjoins-item {
|
|
102
|
+
border-image: None;
|
|
103
|
+
background: transparent;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
QTreeView::branch:!has-children:!has-siblings:adjoins-item {
|
|
107
|
+
border-image: None;
|
|
108
|
+
background: transparent;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
QTreeView::branch:has-children:!has-siblings:closed,
|
|
112
|
+
QTreeView::branch:closed:has-children:has-siblings {
|
|
113
|
+
background: transparent;
|
|
114
|
+
border-image: none;
|
|
115
|
+
image: url(icons/tree_close.svg);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
QTreeView::branch:open:has-children:!has-siblings,
|
|
119
|
+
QTreeView::branch:open:has-children:has-siblings {
|
|
120
|
+
border-image: none;
|
|
121
|
+
background: transparent;
|
|
122
|
+
image: url(icons/tree_open.svg);
|
|
123
|
+
}
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
QMainWindow {
|
|
2
|
+
background-color: rgb(50, 50, 50);
|
|
3
|
+
color: white;
|
|
4
|
+
font-size: 12px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
/*---------------------- QComboBox -----------------------*/
|
|
8
|
+
QComboBox {
|
|
9
|
+
subcontrol-origin: padding;
|
|
10
|
+
subcontrol-position: top right;
|
|
11
|
+
selection-background-color: transparent;
|
|
12
|
+
color: white;
|
|
13
|
+
background-color: #656565;
|
|
14
|
+
border: None;
|
|
15
|
+
border-radius: 5px;
|
|
16
|
+
padding: 0px 0px 0px 5px;
|
|
17
|
+
margin: 0px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
QComboBox:item {
|
|
22
|
+
background: #656565;
|
|
23
|
+
color: white;
|
|
24
|
+
height: 20px;
|
|
25
|
+
margin: 0px;
|
|
26
|
+
padding: 3px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
QComboBox:item:selected
|
|
30
|
+
{
|
|
31
|
+
border: 3px solid #656565;
|
|
32
|
+
background: #232323;
|
|
33
|
+
margin: 0px;
|
|
34
|
+
color: white;
|
|
35
|
+
padding: 3px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
QComboBox:editable {
|
|
40
|
+
background: #656565;
|
|
41
|
+
margin: 0px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
QComboBox:!editable, QComboBox::drop-down:editable {
|
|
45
|
+
background: #656565;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
QComboBox:!editable:on, QComboBox::drop-down:editable:on {
|
|
49
|
+
background: #656565;
|
|
50
|
+
margin: 0px;
|
|
51
|
+
padding: 0px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
QComboBox:on { /* shift the text when the popup opens */
|
|
55
|
+
margin: 0px;
|
|
56
|
+
padding: 0px;
|
|
57
|
+
color: white;
|
|
58
|
+
background-color: transparent;
|
|
59
|
+
selection-background-color: transparent;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
QComboBox::drop-down {
|
|
63
|
+
subcontrol-origin: padding;
|
|
64
|
+
subcontrol-position: top right;
|
|
65
|
+
width: 20px;
|
|
66
|
+
border-top: None;
|
|
67
|
+
border-bottom: None;
|
|
68
|
+
border-left-width: 1px;
|
|
69
|
+
border-left-color: transparent;
|
|
70
|
+
border-left-style: solid; /* just a single line */
|
|
71
|
+
border-top-right-radius: 3px; /* same radius as the QComboBox */
|
|
72
|
+
border-bottom-right-radius: 3px;
|
|
73
|
+
margin: 0px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
QComboBox::down-arrow {
|
|
77
|
+
image: url(icons/tdown.svg);
|
|
78
|
+
width: 13px;
|
|
79
|
+
height: 14px;
|
|
80
|
+
padding-right: 3px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
QComboBox::down-arrow:on { /* shift the arrow when popup is open */
|
|
84
|
+
top: 1px;
|
|
85
|
+
left: 1px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
/*---------------------- Slider -----------------------*/
|
|
91
|
+
QSlider {
|
|
92
|
+
min-height: 20px;
|
|
93
|
+
max-height: 20px;
|
|
94
|
+
background: transparent;
|
|
95
|
+
border: None;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
QSlider::groove:horizontal {
|
|
99
|
+
border: None;
|
|
100
|
+
height: 2px; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
|
|
101
|
+
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #B1B1B1, stop:1 #c4c4c4);
|
|
102
|
+
margin: 2px 0px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
QSlider::handle:horizontal {
|
|
106
|
+
background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b4b4b4, stop:1 #8f8f8f);
|
|
107
|
+
border: 1px solid #5c5c5c;
|
|
108
|
+
width: 10px;
|
|
109
|
+
height: 30px;
|
|
110
|
+
margin: -4px -2px; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
|
|
111
|
+
border-radius: 0px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/*---------------------- LineEdit -----------------------*/
|
|
115
|
+
QLineEdit {
|
|
116
|
+
background-color: transparent;
|
|
117
|
+
color: white;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/*---------------------- SpinBox -----------------------*/
|
|
121
|
+
QSpinBox {
|
|
122
|
+
padding-right: 0px; /* make room for the arrows */
|
|
123
|
+
border: 1px solid #242424;
|
|
124
|
+
background: transparent;
|
|
125
|
+
color: white;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
QSpinBox::up-button {
|
|
129
|
+
background: transparent;
|
|
130
|
+
subcontrol-origin: border;
|
|
131
|
+
subcontrol-position: top right; /* position at the top right corner */
|
|
132
|
+
width: 15px;
|
|
133
|
+
border-width: 0px;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
QSpinBox::down-button {
|
|
137
|
+
background: transparent;
|
|
138
|
+
subcontrol-origin: border;
|
|
139
|
+
subcontrol-position: bottom right; /* position at bottom right corner */
|
|
140
|
+
width: 15px;
|
|
141
|
+
border-width: 0px;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
QSpinBox::up-button:hover {
|
|
145
|
+
background-color: #282828;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
QSpinBox::down-button:hover {
|
|
149
|
+
background-color: #282828;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
QSpinBox::up-button:pressed {
|
|
153
|
+
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
|
154
|
+
stop: 0 #282828, stop: 1 #323232);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
QSpinBox::down-button:pressed {
|
|
158
|
+
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
|
159
|
+
stop: 0 #323232, stop: 1 #282828);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
QSpinBox::up-arrow {
|
|
163
|
+
image: url(icons/up-arrow.svg);
|
|
164
|
+
width: 7px;
|
|
165
|
+
height: 7px;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
QSpinBox::down-arrow {
|
|
169
|
+
image: url(icons/down-arrow.svg);
|
|
170
|
+
width: 7px;
|
|
171
|
+
height: 7px;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/*---------------------- DoubleSpinBox -----------------------*/
|
|
175
|
+
QDoubleSpinBox {
|
|
176
|
+
padding-right: 0px;
|
|
177
|
+
border: 1px solid #242424;
|
|
178
|
+
background: transparent;
|
|
179
|
+
color: white;
|
|
180
|
+
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
QDoubleSpinBox::up-button {
|
|
184
|
+
background: transparent;
|
|
185
|
+
subcontrol-origin: border;
|
|
186
|
+
subcontrol-position: top right; /* position at the top right corner */
|
|
187
|
+
width: 15px;
|
|
188
|
+
border: None;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
QDoubleSpinBox::down-button {
|
|
192
|
+
background: transparent;
|
|
193
|
+
subcontrol-origin: border;
|
|
194
|
+
subcontrol-position: bottom right; /* position at bottom right corner */
|
|
195
|
+
width: 15px;
|
|
196
|
+
border: None;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
QDoubleSpinBox::up-button:hover {
|
|
200
|
+
background-color: #282828;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
QDoubleSpinBox::down-button:hover {
|
|
204
|
+
background-color: #282828;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
QDoubleSpinBox::up-button:pressed {
|
|
208
|
+
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
|
209
|
+
stop: 0 #282828, stop: 1 #000000);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
QDoubleSpinBox::down-button:pressed {
|
|
213
|
+
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
|
214
|
+
stop: 0 #000000, stop: 1 #282828);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
QDoubleSpinBox::up-arrow {
|
|
218
|
+
image: url(icons/up-arrow.svg);
|
|
219
|
+
width: 7px;
|
|
220
|
+
height: 7px;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
QDoubleSpinBox::down-arrow {
|
|
224
|
+
image: url(icons/down-arrow.svg);
|
|
225
|
+
width: 7px;
|
|
226
|
+
height: 7px;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
/*---------------------- QSplitter -----------------------*/
|
|
232
|
+
QSplitter::handle {
|
|
233
|
+
image: url(icons/dot.svg);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
QSplitter::handle:horizontal {
|
|
237
|
+
width: 5px;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
QSplitter::handle:vertical {
|
|
241
|
+
height: 5px;
|
|
242
|
+
}
|
|
243
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
QMenuBar {
|
|
2
|
+
background-color: rgb(25, 27, 29);
|
|
3
|
+
color: rgb(254, 252, 255);
|
|
4
|
+
border-bottom-color: rgb(37, 37, 37);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
QMenuBar::item {
|
|
8
|
+
spacing: 50px;
|
|
9
|
+
background-color: rgb(25, 27, 29);
|
|
10
|
+
color: rgb(254, 252, 255);
|
|
11
|
+
border-bottom-color: rgb(37, 37, 37);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
QMenuBar::item:selected {
|
|
15
|
+
background-color: red;
|
|
16
|
+
color: rgb(254, 252, 255);
|
|
17
|
+
border-bottom-color: rgb(37, 37, 37);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
QMenu {
|
|
21
|
+
border: None;
|
|
22
|
+
color: rgb(255, 255, 255);
|
|
23
|
+
background-color: qlineargradient(spread:pad, x1:1, y1:1, x2:1, y2:0, stop:0 rgb(42, 49, 53), stop:1 rgb(85, 85, 88));
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
QMenu:hover {
|
|
27
|
+
border: None;
|
|
28
|
+
color: rgb(255, 255, 255);
|
|
29
|
+
background-color: red;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
QMenu::item{
|
|
33
|
+
Background-color: qlineargradient(spread:pad, x1:1, y1:1, x2:1, y2:0, stop:0 rgba(42, 49, 53, 255), stop:1 rgba(85, 85, 88, 255));
|
|
34
|
+
Border: 2px solid transparent; // border
|
|
35
|
+
Padding: 20 25 20 20px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
QMenu::item:selected{
|
|
39
|
+
color: rgb(255, 255, 255);
|
|
40
|
+
background-color: rgb(63, 124, 234);
|
|
41
|
+
|
|
42
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
QSlider::groove:horizontal {
|
|
2
|
+
border: 1px solid #999999;
|
|
3
|
+
height: 8px; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
|
|
4
|
+
background: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 black, stop:1 white);
|
|
5
|
+
margin: 2px 0;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
QSlider::handle:horizontal {
|
|
9
|
+
background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b4b4b4, stop:1 #8f8f8f);
|
|
10
|
+
border: 1px solid #5c5c5c;
|
|
11
|
+
width: 18px;
|
|
12
|
+
margin: -2px 0; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
|
|
13
|
+
border-radius: 3px;
|
|
14
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
QPushButton {
|
|
2
|
+
border : None;
|
|
3
|
+
background: transparent;
|
|
4
|
+
margin: 0px;
|
|
5
|
+
padding-top: 0px;
|
|
6
|
+
border-radius: 0px;
|
|
7
|
+
min-width: 24px;
|
|
8
|
+
min-height: 24px;
|
|
9
|
+
}
|
|
10
|
+
QPushButton:checked {
|
|
11
|
+
background-color: #383838;
|
|
12
|
+
border: 1px solid #636363;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
QPushButton:pressed {
|
|
16
|
+
background-color: #383838;
|
|
17
|
+
border: 1px solid #636363;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
QPushButton:hover {
|
|
21
|
+
background-color: #383838;
|
|
22
|
+
border: 1px solid #636363;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
QToolTip {
|
|
26
|
+
background-color: black;
|
|
27
|
+
color: white;
|
|
28
|
+
border: black solid 1px
|
|
29
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
QPushButton {
|
|
2
|
+
background: transparent;
|
|
3
|
+
border: None;
|
|
4
|
+
border-radius:0px;
|
|
5
|
+
text-align:left;
|
|
6
|
+
padding-left: 5px;
|
|
7
|
+
padding-right: 0px;
|
|
8
|
+
padding-top: 0px;
|
|
9
|
+
padding-bottom: 0px;
|
|
10
|
+
color:rgb(240, 240, 240);
|
|
11
|
+
margin: 0px;
|
|
12
|
+
height: 40px;
|
|
13
|
+
width: 220px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
QPushButton:disabled {
|
|
18
|
+
color: rgb(190, 190, 190);
|
|
19
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
QLabel{
|
|
2
|
+
border: None;
|
|
3
|
+
color: white;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
QPushButton{
|
|
7
|
+
border: 1px solid #242424;
|
|
8
|
+
background: #656565;
|
|
9
|
+
border-radius: 4px;
|
|
10
|
+
min-height: 16px;
|
|
11
|
+
width: 30px;
|
|
12
|
+
padding: 5px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
QSlider {
|
|
16
|
+
min-height: 20px;
|
|
17
|
+
max-height: 20px;
|
|
18
|
+
background: transparent;
|
|
19
|
+
border: None;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
QSlider::groove:horizontal {
|
|
23
|
+
border: None;
|
|
24
|
+
height: 2px; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
|
|
25
|
+
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #B1B1B1, stop:1 #c4c4c4);
|
|
26
|
+
margin: 2px 0px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
QSlider::handle:horizontal {
|
|
30
|
+
background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b4b4b4, stop:1 #8f8f8f);
|
|
31
|
+
border: 1px solid #5c5c5c;
|
|
32
|
+
width: 10px;
|
|
33
|
+
height: 30px;
|
|
34
|
+
margin: -4px -2px; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
|
|
35
|
+
border-radius: 0px;
|
|
36
|
+
}
|