molde 0.1.8__py3-none-any.whl → 0.1.9__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.
- molde/stylesheets/__init__.py +10 -10
- molde/stylesheets/mainwindow.ui +20 -14
- molde/stylesheets/qpushbutton.qss +22 -24
- {molde-0.1.8.dist-info → molde-0.1.9.dist-info}/METADATA +1 -1
- {molde-0.1.8.dist-info → molde-0.1.9.dist-info}/RECORD +6 -6
- {molde-0.1.8.dist-info → molde-0.1.9.dist-info}/WHEEL +0 -0
molde/stylesheets/__init__.py
CHANGED
@@ -16,15 +16,15 @@ def get_variables(theme:Literal["light", "dark"] = "light") -> dict:
|
|
16
16
|
|
17
17
|
if theme == "light":
|
18
18
|
variables.update({
|
19
|
-
"@primary-lighter": color_names.
|
19
|
+
"@primary-lighter": color_names.BLUE_6.to_hex(),
|
20
20
|
"@primary": color_names.BLUE_4.to_hex(),
|
21
21
|
"@primary-darker": color_names.BLUE_3.to_hex(),
|
22
22
|
|
23
|
-
"@danger-color-lighter": color_names.
|
23
|
+
"@danger-color-lighter": color_names.RED_5.to_hex(),
|
24
24
|
"@danger-color": color_names.RED_4.to_hex(),
|
25
|
-
"@danger-color-darker": color_names.
|
25
|
+
"@danger-color-darker": color_names.RED_2.to_hex(),
|
26
26
|
|
27
|
-
"@warning-color-lighter": color_names.
|
27
|
+
"@warning-color-lighter": color_names.YELLOW_6.to_hex(),
|
28
28
|
"@warning-color": color_names.YELLOW_4.to_hex(),
|
29
29
|
"@warning-color-darker": color_names.YELLOW_3.to_hex(),
|
30
30
|
|
@@ -54,15 +54,15 @@ def get_variables(theme:Literal["light", "dark"] = "light") -> dict:
|
|
54
54
|
|
55
55
|
elif theme == "dark":
|
56
56
|
variables.update({
|
57
|
-
"@primary-lighter": color_names.
|
58
|
-
"@primary": color_names.
|
59
|
-
"@primary-darker": color_names.
|
57
|
+
"@primary-lighter": color_names.BLUE_6.to_hex(),
|
58
|
+
"@primary": color_names.BLUE_5.to_hex(),
|
59
|
+
"@primary-darker": color_names.BLUE_4.to_hex(),
|
60
60
|
|
61
|
-
"@danger-color-lighter": color_names.
|
61
|
+
"@danger-color-lighter": color_names.RED_5.to_hex(),
|
62
62
|
"@danger-color": color_names.RED_4.to_hex(),
|
63
|
-
"@danger-color-darker": color_names.
|
63
|
+
"@danger-color-darker": color_names.RED_2.to_hex(),
|
64
64
|
|
65
|
-
"@warning-color-lighter": color_names.
|
65
|
+
"@warning-color-lighter": color_names.YELLOW_6.to_hex(),
|
66
66
|
"@warning-color": color_names.YELLOW_4.to_hex(),
|
67
67
|
"@warning-color-darker": color_names.YELLOW_3.to_hex(),
|
68
68
|
|
molde/stylesheets/mainwindow.ui
CHANGED
@@ -18,10 +18,10 @@
|
|
18
18
|
<item>
|
19
19
|
<widget class="QFrame" name="frame">
|
20
20
|
<property name="frameShape">
|
21
|
-
<enum>QFrame::StyledPanel</enum>
|
21
|
+
<enum>QFrame::Shape::StyledPanel</enum>
|
22
22
|
</property>
|
23
23
|
<property name="frameShadow">
|
24
|
-
<enum>QFrame::Raised</enum>
|
24
|
+
<enum>QFrame::Shadow::Raised</enum>
|
25
25
|
</property>
|
26
26
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
27
27
|
<item>
|
@@ -61,6 +61,12 @@
|
|
61
61
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
62
62
|
<item>
|
63
63
|
<widget class="QPushButton" name="change_theme_button">
|
64
|
+
<property name="maximumSize">
|
65
|
+
<size>
|
66
|
+
<width>16777215</width>
|
67
|
+
<height>28</height>
|
68
|
+
</size>
|
69
|
+
</property>
|
64
70
|
<property name="text">
|
65
71
|
<string>Change Theme</string>
|
66
72
|
</property>
|
@@ -163,10 +169,10 @@ LOCO</string>
|
|
163
169
|
<item>
|
164
170
|
<widget class="QFrame" name="frame_2">
|
165
171
|
<property name="frameShape">
|
166
|
-
<enum>QFrame::StyledPanel</enum>
|
172
|
+
<enum>QFrame::Shape::StyledPanel</enum>
|
167
173
|
</property>
|
168
174
|
<property name="frameShadow">
|
169
|
-
<enum>QFrame::Plain</enum>
|
175
|
+
<enum>QFrame::Shadow::Plain</enum>
|
170
176
|
</property>
|
171
177
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
172
178
|
<item>
|
@@ -224,7 +230,7 @@ LOCO</string>
|
|
224
230
|
<number>50</number>
|
225
231
|
</property>
|
226
232
|
<property name="orientation">
|
227
|
-
<enum>Qt::Horizontal</enum>
|
233
|
+
<enum>Qt::Orientation::Horizontal</enum>
|
228
234
|
</property>
|
229
235
|
</widget>
|
230
236
|
</item>
|
@@ -234,7 +240,7 @@ LOCO</string>
|
|
234
240
|
<number>50</number>
|
235
241
|
</property>
|
236
242
|
<property name="orientation">
|
237
|
-
<enum>Qt::Horizontal</enum>
|
243
|
+
<enum>Qt::Orientation::Horizontal</enum>
|
238
244
|
</property>
|
239
245
|
</widget>
|
240
246
|
</item>
|
@@ -244,7 +250,7 @@ LOCO</string>
|
|
244
250
|
<number>50</number>
|
245
251
|
</property>
|
246
252
|
<property name="orientation">
|
247
|
-
<enum>Qt::Horizontal</enum>
|
253
|
+
<enum>Qt::Orientation::Horizontal</enum>
|
248
254
|
</property>
|
249
255
|
</widget>
|
250
256
|
</item>
|
@@ -258,7 +264,7 @@ LOCO</string>
|
|
258
264
|
<number>50</number>
|
259
265
|
</property>
|
260
266
|
<property name="orientation">
|
261
|
-
<enum>Qt::Vertical</enum>
|
267
|
+
<enum>Qt::Orientation::Vertical</enum>
|
262
268
|
</property>
|
263
269
|
</widget>
|
264
270
|
</item>
|
@@ -268,7 +274,7 @@ LOCO</string>
|
|
268
274
|
<number>50</number>
|
269
275
|
</property>
|
270
276
|
<property name="orientation">
|
271
|
-
<enum>Qt::Vertical</enum>
|
277
|
+
<enum>Qt::Orientation::Vertical</enum>
|
272
278
|
</property>
|
273
279
|
</widget>
|
274
280
|
</item>
|
@@ -278,7 +284,7 @@ LOCO</string>
|
|
278
284
|
<number>50</number>
|
279
285
|
</property>
|
280
286
|
<property name="orientation">
|
281
|
-
<enum>Qt::Vertical</enum>
|
287
|
+
<enum>Qt::Orientation::Vertical</enum>
|
282
288
|
</property>
|
283
289
|
</widget>
|
284
290
|
</item>
|
@@ -413,10 +419,10 @@ LOCO</string>
|
|
413
419
|
<item>
|
414
420
|
<widget class="QTableWidget" name="tableWidget">
|
415
421
|
<property name="frameShape">
|
416
|
-
<enum>QFrame::StyledPanel</enum>
|
422
|
+
<enum>QFrame::Shape::StyledPanel</enum>
|
417
423
|
</property>
|
418
424
|
<property name="frameShadow">
|
419
|
-
<enum>QFrame::Plain</enum>
|
425
|
+
<enum>QFrame::Shadow::Plain</enum>
|
420
426
|
</property>
|
421
427
|
<row>
|
422
428
|
<property name="text">
|
@@ -509,7 +515,7 @@ LOCO</string>
|
|
509
515
|
<bool>true</bool>
|
510
516
|
</property>
|
511
517
|
<property name="standardButtons">
|
512
|
-
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
518
|
+
<set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok</set>
|
513
519
|
</property>
|
514
520
|
<property name="danger" stdset="0">
|
515
521
|
<bool>true</bool>
|
@@ -524,7 +530,7 @@ LOCO</string>
|
|
524
530
|
<x>0</x>
|
525
531
|
<y>0</y>
|
526
532
|
<width>800</width>
|
527
|
-
<height>
|
533
|
+
<height>20</height>
|
528
534
|
</rect>
|
529
535
|
</property>
|
530
536
|
<widget class="QMenu" name="menuproject">
|
@@ -4,7 +4,7 @@ QPushButton {
|
|
4
4
|
border: 1px solid @border-color;
|
5
5
|
border-radius: 5px;
|
6
6
|
text-align: center;
|
7
|
-
padding:
|
7
|
+
padding: 5px 9px;
|
8
8
|
}
|
9
9
|
|
10
10
|
QPushButton::hover {
|
@@ -24,57 +24,55 @@ QPushButton::disabled {
|
|
24
24
|
|
25
25
|
QPushButton[status=main],
|
26
26
|
QPushButton::default {
|
27
|
-
|
28
|
-
|
29
|
-
color: @primary;
|
30
|
-
font-weight: bold;
|
27
|
+
color: @on-primary;
|
28
|
+
background-color: @primary;
|
31
29
|
}
|
32
30
|
|
33
31
|
QPushButton[status=main]::hover,
|
34
32
|
QPushButton::default:hover {
|
35
|
-
background-color: @
|
33
|
+
background-color: @primary-lighter;
|
36
34
|
}
|
37
35
|
|
38
36
|
QPushButton[status=main]::checked,
|
39
37
|
QPushButton[status=main]::pressed,
|
40
38
|
QPushButton::default:checked,
|
41
39
|
QPushButton::default:pressed {
|
42
|
-
background-color: @primary-
|
43
|
-
color: @primary
|
40
|
+
background-color: @primary-darker;
|
41
|
+
color: @on-primary;
|
44
42
|
}
|
45
43
|
|
46
|
-
QPushButton[status=danger]
|
47
|
-
|
48
|
-
|
49
|
-
color: @danger-color;
|
50
|
-
|
44
|
+
QPushButton[status=danger],
|
45
|
+
QPushButton[status=danger]:focus {
|
46
|
+
color: @on-primary;
|
47
|
+
border-color: @danger-color;
|
48
|
+
background-color: @danger-color;
|
51
49
|
}
|
52
50
|
|
53
51
|
QPushButton[status=danger]::hover {
|
54
|
-
background-color: @
|
52
|
+
background-color: @danger-color-lighter;
|
55
53
|
}
|
56
54
|
|
57
55
|
QPushButton[status=danger]::checked,
|
58
56
|
QPushButton[status=danger]::pressed {
|
59
|
-
background-color: @danger-color-
|
60
|
-
color: @danger-color
|
57
|
+
background-color: @danger-color-darker;
|
58
|
+
border-color: @danger-color;
|
61
59
|
}
|
62
60
|
|
63
|
-
QPushButton[status=warning]
|
64
|
-
|
65
|
-
|
66
|
-
color: @warning-color;
|
67
|
-
|
61
|
+
QPushButton[status=warning],
|
62
|
+
QPushButton[status=warning]:focus {
|
63
|
+
color: @on-primary;
|
64
|
+
background-color: @warning-color;
|
65
|
+
border-color: @warning-color;
|
68
66
|
}
|
69
67
|
|
70
68
|
QPushButton[status=warning]::hover {
|
71
|
-
background-color: @
|
69
|
+
background-color: @warning-color-lighter;
|
72
70
|
}
|
73
71
|
|
74
72
|
QPushButton[status=warning]::checked,
|
75
73
|
QPushButton[status=warning]::pressed {
|
76
|
-
background-color: @warning-color-
|
77
|
-
color: @
|
74
|
+
background-color: @warning-color-darker;
|
75
|
+
color: @on-primary;
|
78
76
|
}
|
79
77
|
|
80
78
|
QPushButton[status=main]::disabled,
|
@@ -39,16 +39,16 @@ molde/poly_data/vertices_data.py,sha256=jqmEhVdb3-qh_kIjCb0s0Cljx1FFY3NLUOuFa4sG
|
|
39
39
|
molde/render_widgets/__init__.py,sha256=SOU9bax48D2bP_zhtF_o_Yh7HAK4clIPcjxfjYOnSVM,110
|
40
40
|
molde/render_widgets/animated_render_widget.py,sha256=Ek9a9s4NTVonJJ3BVulI4bxKWRgd9mb9s1xZeImRMa0,5352
|
41
41
|
molde/render_widgets/common_render_widget.py,sha256=cFHK-b6DHnNpZ3ZuAx2Zjy-W82UWScED7CM028vHtr0,15457
|
42
|
-
molde/stylesheets/__init__.py,sha256=
|
42
|
+
molde/stylesheets/__init__.py,sha256=8F034fEXekqeF51sa_Qwu4o47h1bqYIp2bNCOtigsCs,5564
|
43
43
|
molde/stylesheets/common.qss,sha256=9w0iI7UlYWL1ktrTe4suRsKcyDoB1cIkFjOt810Zkp8,303
|
44
44
|
molde/stylesheets/create_color_page.py,sha256=t9w_CMQXZXegqv_2_3Te6RW7jV3Q_uixvwYkbiJDjaM,1714
|
45
|
-
molde/stylesheets/mainwindow.ui,sha256=
|
45
|
+
molde/stylesheets/mainwindow.ui,sha256=3RpuB0rsV7uTAJ1VEfFFRKPfzV9q6so0y3V_Rda6Xdg,18379
|
46
46
|
molde/stylesheets/qcheckbox.qss,sha256=o2mz0w1UDDASIgF9FyXqXNoRc9tJx5KdTkdzYnOA02I,478
|
47
47
|
molde/stylesheets/qinputs.qss,sha256=y-2khBmx2FmqM6MFIejpoM4K9El0YVt1ETBINCmEonc,2028
|
48
48
|
molde/stylesheets/qlayouts.qss,sha256=e7KUqIWja5nXacmJtPq-sV443zBHiVkjlCar20lnP9E,392
|
49
49
|
molde/stylesheets/qmenubar.qss,sha256=ccw4SGFhLICrfZr_TZG6NSU7xHQz42ifraJyC3zVL2U,185
|
50
50
|
molde/stylesheets/qprogressbar.qss,sha256=LkC7WfMz_NAL1GXrfmVnGvLRgirsJjP5XMHDqIKoohk,303
|
51
|
-
molde/stylesheets/qpushbutton.qss,sha256=
|
51
|
+
molde/stylesheets/qpushbutton.qss,sha256=iKl99G84Xgp4XXToFgLOUzaSbf6BkJsBpI9Mg_zAhY8,1928
|
52
52
|
molde/stylesheets/qradiobutton.qss,sha256=1eo-UOm4AlQWm2EWA39C2Efk3vW0j8qrZjrRJfoXohU,585
|
53
53
|
molde/stylesheets/qscrollbar.qss,sha256=8eB-kzQBI_M0IHqPUdig9S0BnH2voyUo0TrfHi-N95s,823
|
54
54
|
molde/stylesheets/qslider.qss,sha256=YEo3DMsqew8zqwpGlDqGjsfAPPzMbZMnDxBdLxQWQDg,952
|
@@ -63,6 +63,6 @@ molde/utils/format_sequences.py,sha256=RHxWGpWBRi89jTk3F4sdlGsKqeheRD49PZMeM36Rs
|
|
63
63
|
molde/utils/poly_data_utils.py,sha256=WoeW46ciuSZB4KO9oh0ksPoxARUbheQDROcjwlpjL4c,2125
|
64
64
|
molde/utils/tree_info.py,sha256=FxgT_uKjtgi0-NVcH41LBoqRmAKt26NJmsjBk1WTqt8,1760
|
65
65
|
molde/windows/loading_window.py,sha256=3U1VEujSKWWWIu1aSqSkYCupTpstI0xks6csJhdKh5Y,6288
|
66
|
-
molde-0.1.
|
67
|
-
molde-0.1.
|
68
|
-
molde-0.1.
|
66
|
+
molde-0.1.9.dist-info/METADATA,sha256=b0oI3__m9DBZolnQjX9aGkyGUF0RVA-GGB6PPGoZWas,2101
|
67
|
+
molde-0.1.9.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
68
|
+
molde-0.1.9.dist-info/RECORD,,
|
File without changes
|