molde 0.1.3__py3-none-any.whl → 0.1.4__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.
Files changed (52) hide show
  1. molde/__init__.py +12 -6
  2. molde/__main__.py +74 -74
  3. molde/actors/__init__.py +5 -5
  4. molde/actors/common_symbols_actor.py +164 -164
  5. molde/actors/ghost_actor.py +12 -12
  6. molde/actors/lines_actor.py +31 -31
  7. molde/actors/round_points_actor.py +7 -7
  8. molde/actors/square_points_actor.py +32 -32
  9. molde/colors/__init__.py +1 -1
  10. molde/colors/color.py +150 -120
  11. molde/colors/color_names.py +124 -124
  12. molde/interactor_styles/__init__.py +2 -2
  13. molde/interactor_styles/arcball_camera_style.py +288 -288
  14. molde/interactor_styles/box_selection_style.py +70 -70
  15. molde/main_window.ui +864 -864
  16. molde/pickers/__init__.py +2 -2
  17. molde/pickers/cell_area_picker.py +61 -61
  18. molde/pickers/cell_property_area_picker.py +84 -84
  19. molde/poly_data/__init__.py +13 -13
  20. molde/poly_data/lines_data.py +23 -23
  21. molde/poly_data/vertices_data.py +24 -24
  22. molde/render_widgets/__init__.py +2 -2
  23. molde/render_widgets/animated_render_widget.py +164 -164
  24. molde/render_widgets/common_render_widget.py +429 -433
  25. molde/stylesheets/__init__.py +120 -119
  26. molde/stylesheets/common.qss +16 -16
  27. molde/stylesheets/create_color_page.py +61 -61
  28. molde/stylesheets/mainwindow.ui +611 -611
  29. molde/stylesheets/qcheckbox.qss +23 -18
  30. molde/stylesheets/qinputs.qss +81 -78
  31. molde/stylesheets/qlayouts.qss +23 -22
  32. molde/stylesheets/qmenubar.qss +12 -12
  33. molde/stylesheets/qprogressbar.qss +11 -11
  34. molde/stylesheets/qpushbutton.qss +91 -91
  35. molde/stylesheets/qradiobutton.qss +30 -30
  36. molde/stylesheets/qscrollbar.qss +29 -29
  37. molde/stylesheets/qslider.qss +61 -61
  38. molde/stylesheets/qtablewidget.qss +27 -27
  39. molde/stylesheets/qtabwidget.qss +28 -29
  40. molde/stylesheets/qtoolbar.qss +52 -62
  41. molde/stylesheets/qtoolbuttons.qss +14 -14
  42. molde/stylesheets/qtreewidget.qss +25 -25
  43. molde/ui_files/messages/new_loading_window.ui +73 -73
  44. molde/utils/__init__.py +8 -8
  45. molde/utils/format_sequences.py +44 -44
  46. molde/utils/poly_data_utils.py +66 -66
  47. molde/utils/tree_info.py +52 -52
  48. molde/windows/loading_window.py +189 -189
  49. {molde-0.1.3.dist-info → molde-0.1.4.dist-info}/METADATA +6 -4
  50. molde-0.1.4.dist-info/RECORD +68 -0
  51. {molde-0.1.3.dist-info → molde-0.1.4.dist-info}/WHEEL +1 -1
  52. molde-0.1.3.dist-info/RECORD +0 -68
@@ -1,19 +1,24 @@
1
- QCheckBox {
2
- padding: 5px 10px;
3
- }
4
-
5
- QCheckBox::indicator:checked {
6
- background-image: url("@check-box-image-icon");
7
- background-repeat: no-repeat;
8
- background-position: center;
9
- background-color: @primary;
10
- }
11
-
12
- QCheckBox::disabled {
13
- background-color: @background;
14
- color: @disabled-color;
15
- }
16
-
17
- QCheckBox::indicator:disabled {
18
- background: @disabled-background;
1
+ QCheckBox {
2
+ padding: 5px 10px;
3
+ }
4
+
5
+ QCheckBox::indicator {
6
+ border-radius: 3px;
7
+ border: 1px solid @checkbox-border-color;
8
+ }
9
+
10
+ QCheckBox::indicator:checked {
11
+ background-image: url("@check-box-image-icon");
12
+ background-repeat: no-repeat;
13
+ background-position: center;
14
+ background-color: @primary;
15
+ }
16
+
17
+ QCheckBox::disabled {
18
+ background-color: @background;
19
+ color: @disabled-color;
20
+ }
21
+
22
+ QCheckBox::indicator:disabled {
23
+ background: @disabled-background;
19
24
  }
@@ -1,79 +1,82 @@
1
- QLineEdit, QLineEdit::clear-button, QDoubleSpinBox, QSpinBox, QComboBox {
2
- background-color: @input-color;
3
- border: 1px solid @border-color;
4
- border-radius: 5px;
5
- padding: 4px 4px;
6
- min-width: 40px;
7
- min-height: 15px;
8
- }
9
-
10
- QLineEdit::disabled,
11
- QSpinBox::disabled {
12
- background-color: @disabled-background;
13
- border: 0px;
14
- color: @disabled-color;
15
- }
16
-
17
- QSpinBox::up-button,
18
- QDoubleSpinBox::up-button {
19
- background-image: url("@arrow-up-image-icon");
20
- background-repeat: no-repeat;
21
- background-position: center;
22
- width: 15px;
23
- height: 15px;
24
- }
25
-
26
- QSpinBox::up-button:hover,
27
- QDoubleSpinBox::up-button:hover,
28
- QSpinBox::down-button:hover,
29
- QDoubleSpinBox::down-button:hover {
30
- background-color: @hover-arrow-color;
31
- border-radius: 2px;
32
- }
33
-
34
- QSpinBox::up-button:disabled,
35
- QDoubleSpinBox::up-button:disabled {
36
- background-image: url("@arrow-up-disabled-image-icon");
37
- background-repeat: no-repeat;
38
- background-position: center;
39
- background-color: @disabled-background;
40
- }
41
-
42
- QSpinBox::down-button,
43
- QDoubleSpinBox::down-button {
44
- background-image: url("@arrow-down-image-icon");
45
- background-repeat: no-repeat;
46
- background-position: center;
47
- width: 15px;
48
- height: 15px;
49
- }
50
-
51
- QSpinBox::down-button:disabled,
52
- QDoubleSpinBox::down-button:disabled {
53
- background-image: url("@arrow-down-disabled-image-icon");
54
- background-repeat: no-repeat;
55
- background-position: center;
56
- background-color: @disabled-background;
57
- }
58
-
59
-
60
- QComboBox::drop-down:button {
61
- background-image: url("@arrow-down-image-icon");
62
- background-repeat: no-repeat;
63
- background-position: center;
64
- background-color: @input-color;
65
- border-radius: @border-radius;
66
- }
67
-
68
- QComboBox::drop-down:hover {
69
- background-color: @hover-arrow-color;
70
- }
71
-
72
- QComboBox::drop-down:disabled {
73
- background-color: @disabled-background;
74
- }
75
-
76
- QSpinBox,
77
- QDoubleSpinBox {
78
- border: 2px solid @background;
1
+ QLineEdit, QLineEdit::clear-button, QDoubleSpinBox, QSpinBox, QComboBox {
2
+ background-color: @input-color;
3
+ border: 1px solid @border-color;
4
+ border-radius: 5px;
5
+ padding: 4px 4px;
6
+ }
7
+
8
+ QLineEdit::disabled,
9
+ QSpinBox::disabled {
10
+ background-color: @disabled-background;
11
+ border: 0px;
12
+ color: @disabled-color;
13
+ }
14
+
15
+ QLineEdit[status=information] {
16
+ background-color: @disabled-background;
17
+ border: 0px;
18
+ color: @on-background;
19
+ }
20
+
21
+ QSpinBox::up-button,
22
+ QDoubleSpinBox::up-button {
23
+ background-image: url("@arrow-up-image-icon");
24
+ background-repeat: no-repeat;
25
+ background-position: center;
26
+ width: 15px;
27
+ height: 15px;
28
+ }
29
+
30
+ QSpinBox::up-button:hover,
31
+ QDoubleSpinBox::up-button:hover,
32
+ QSpinBox::down-button:hover,
33
+ QDoubleSpinBox::down-button:hover {
34
+ background-color: @hover-arrow-color;
35
+ border-radius: 2px;
36
+ }
37
+
38
+ QSpinBox::up-button:disabled,
39
+ QDoubleSpinBox::up-button:disabled {
40
+ background-image: url("@arrow-up-disabled-image-icon");
41
+ background-repeat: no-repeat;
42
+ background-position: center;
43
+ background-color: @disabled-background;
44
+ }
45
+
46
+ QSpinBox::down-button,
47
+ QDoubleSpinBox::down-button {
48
+ background-image: url("@arrow-down-image-icon");
49
+ background-repeat: no-repeat;
50
+ background-position: center;
51
+ width: 15px;
52
+ height: 15px;
53
+ }
54
+
55
+ QSpinBox::down-button:disabled,
56
+ QDoubleSpinBox::down-button:disabled {
57
+ background-image: url("@arrow-down-disabled-image-icon");
58
+ background-repeat: no-repeat;
59
+ background-position: center;
60
+ background-color: @disabled-background;
61
+ }
62
+
63
+
64
+ QComboBox::drop-down:button {
65
+ background-image: url("@arrow-down-image-icon");
66
+ background-repeat: no-repeat;
67
+ background-position: center;
68
+ background-color: @input-color;
69
+ border-radius: @border-radius;
70
+ }
71
+
72
+ QComboBox::drop-down:hover {
73
+ background-color: @hover-arrow-color;
74
+ }
75
+
76
+ QComboBox::drop-down:disabled {
77
+ background-color: @disabled-background;
78
+ }
79
+
80
+ QComboBox QAbstractItemView::item:hover{
81
+ background-color: @background-variant;
79
82
  }
@@ -1,22 +1,23 @@
1
- QFrame[frameShape="0"] {
2
- border: none;
3
- }
4
-
5
- QFrame[frameShape="1"],
6
- QFrame[frameShape="2"] {
7
- border: 1px solid @border-color;
8
- padding: 0;
9
- }
10
-
11
- QWidget QFrame[frameShape="1"],
12
- QWidget QFrame[frameShape="2"] {
13
- border: 1px solid @border-color;
14
- border-radius: @border-radius;
15
- padding: 0;
16
- }
17
-
18
- QFrame::disabled {
19
- background: @background;
20
- }
21
-
22
-
1
+ QFrame[frameShape="0"] {
2
+ border: none;
3
+ }
4
+
5
+ QFrame[frameShape="1"],
6
+ QFrame[frameShape="2"] {
7
+ border: 1px solid @border-color;
8
+ padding: 0;
9
+ }
10
+
11
+ QWidget QFrame[frameShape="1"],
12
+ QWidget QFrame[frameShape="2"],
13
+ QWidget QFrame[frameShape="6"] {
14
+ border: 1px solid @border-color;
15
+ border-radius: @border-radius;
16
+ padding: 0;
17
+ }
18
+
19
+ QFrame::disabled {
20
+ background: @background;
21
+ }
22
+
23
+
@@ -1,12 +1,12 @@
1
- QMenuBar {
2
- border: none;
3
- border-bottom: 1px solid @border-color;
4
- }
5
-
6
- QMenuBar::item {
7
- padding: 4px;
8
- }
9
-
10
- QMenuBar::item:selected {
11
- background-color: @background-variant;
12
- }
1
+ QMenuBar {
2
+ border: none;
3
+ border-bottom: 1px solid @border-color;
4
+ }
5
+
6
+ QMenuBar::item {
7
+ padding: 4px;
8
+ }
9
+
10
+ QMenuBar::item:selected {
11
+ background-color: @background-variant;
12
+ }
@@ -1,12 +1,12 @@
1
- QProgressBar {
2
- border-radius: 5px;
3
- text-align: center;
4
- background-color: @background-variant;
5
- }
6
- QProgressBar::chunk {
7
- background-color: @primary;
8
- border-top-right-radius: 3px;
9
- border-top-left-radius: 3px;
10
- border-bottom-right-radius: 3px;
11
- border-bottom-left-radius: 3px;
1
+ QProgressBar {
2
+ border-radius: 5px;
3
+ text-align: center;
4
+ background-color: @background-variant;
5
+ }
6
+ QProgressBar::chunk {
7
+ background-color: @primary;
8
+ border-top-right-radius: 3px;
9
+ border-top-left-radius: 3px;
10
+ border-bottom-right-radius: 3px;
11
+ border-bottom-left-radius: 3px;
12
12
  }
@@ -1,91 +1,91 @@
1
- QPushButton {
2
- color: @primary;
3
- background-color: @background;
4
- border: 1px solid @border-color;
5
- border-radius: 5px;
6
- text-align: center;
7
- padding: 4px 8px;
8
- min-width: 50px;
9
- }
10
-
11
- QPushButton::hover {
12
- background-color: @background-variant;
13
- }
14
-
15
- QPushButton::checked,
16
- QPushButton::pressed {
17
- background-color: @primary-lighter;
18
- color: @primary-darker;
19
- }
20
-
21
- QPushButton::disabled {
22
- background: @disabled-background;
23
- color: @disabled-color;
24
- }
25
-
26
- QPushButton[status=main],
27
- QPushButton::default {
28
- border: 2px solid @primary;
29
- border-radius: @border-radius;
30
- color: @primary;
31
- font-weight: bold;
32
- }
33
-
34
- QPushButton[status=main]::hover,
35
- QPushButton::default:hover {
36
- background-color: @background-variant;
37
- }
38
-
39
- QPushButton[status=main]::checked,
40
- QPushButton[status=main]::pressed,
41
- QPushButton::default:checked,
42
- QPushButton::default:pressed {
43
- background-color: @primary-lighter;
44
- color: @primary-darker;
45
- }
46
-
47
- QPushButton[status=danger] {
48
- border: 2px solid @danger-color;
49
- border-radius: @border-radius;
50
- color: @danger-color;
51
- font-weight: bold;
52
- }
53
-
54
- QPushButton[status=danger]::hover {
55
- background-color: @background-variant;
56
- }
57
-
58
- QPushButton[status=danger]::checked,
59
- QPushButton[status=danger]::pressed {
60
- background-color: @danger-color-lighter;
61
- color: @danger-color-darker;
62
- }
63
-
64
- QPushButton[status=warning] {
65
- border: 2px solid @warning-color;
66
- border-radius: @border-radius;
67
- color: @warning-color;
68
- font-weight: bold;
69
- }
70
-
71
- QPushButton[status=warning]::hover {
72
- background-color: @background-variant;
73
- }
74
-
75
- QPushButton[status=warning]::checked,
76
- QPushButton[status=warning]::pressed {
77
- background-color: @warning-color-lighter;
78
- color: @warning-color-darker;
79
- }
80
-
81
- QPushButton[status=main]::disabled,
82
- QPushButton[status=warning]::disabled,
83
- QPushButton[status=danger]::disabled {
84
- background-color: @disabled-background;
85
- color: @disabled-color;
86
- border: none;
87
- }
88
-
89
- QDialogButtonBox QPushButton {
90
- min-width: 65px;
91
- }
1
+ QPushButton {
2
+ color: @primary;
3
+ background-color: @background;
4
+ border: 1px solid @border-color;
5
+ border-radius: 5px;
6
+ text-align: center;
7
+ padding: 4px 8px;
8
+ }
9
+
10
+ QPushButton::hover {
11
+ background-color: @background-variant;
12
+ }
13
+
14
+ QPushButton::checked,
15
+ QPushButton::pressed {
16
+ background-color: @primary-lighter;
17
+ color: @primary-darker;
18
+ }
19
+
20
+ QPushButton::disabled {
21
+ background: @disabled-background;
22
+ color: @disabled-color;
23
+ }
24
+
25
+ QPushButton[status=main],
26
+ QPushButton::default {
27
+ border: 2px solid @primary;
28
+ border-radius: @border-radius;
29
+ color: @primary;
30
+ font-weight: bold;
31
+ }
32
+
33
+ QPushButton[status=main]::hover,
34
+ QPushButton::default:hover {
35
+ background-color: @background-variant;
36
+ }
37
+
38
+ QPushButton[status=main]::checked,
39
+ QPushButton[status=main]::pressed,
40
+ QPushButton::default:checked,
41
+ QPushButton::default:pressed {
42
+ background-color: @primary-lighter;
43
+ color: @primary-darker;
44
+ }
45
+
46
+ QPushButton[status=danger] {
47
+ border: 2px solid @danger-color;
48
+ border-radius: @border-radius;
49
+ color: @danger-color;
50
+ font-weight: bold;
51
+ }
52
+
53
+ QPushButton[status=danger]::hover {
54
+ background-color: @background-variant;
55
+ }
56
+
57
+ QPushButton[status=danger]::checked,
58
+ QPushButton[status=danger]::pressed {
59
+ background-color: @danger-color-lighter;
60
+ color: @danger-color-darker;
61
+ }
62
+
63
+ QPushButton[status=warning] {
64
+ border: 2px solid @warning-color;
65
+ border-radius: @border-radius;
66
+ color: @warning-color;
67
+ font-weight: bold;
68
+ }
69
+
70
+ QPushButton[status=warning]::hover {
71
+ background-color: @background-variant;
72
+ }
73
+
74
+ QPushButton[status=warning]::checked,
75
+ QPushButton[status=warning]::pressed {
76
+ background-color: @warning-color-lighter;
77
+ color: @warning-color-darker;
78
+ }
79
+
80
+ QPushButton[status=main]::disabled,
81
+ QPushButton[status=warning]::disabled,
82
+ QPushButton[status=danger]::disabled {
83
+ background-color: @disabled-background;
84
+ color: @disabled-color;
85
+ border: none;
86
+ }
87
+
88
+ QDialogButtonBox QPushButton {
89
+ min-width: 65px;
90
+ }
91
+
@@ -1,31 +1,31 @@
1
- QRadioButton {
2
- padding: 5px 10px;
3
- }
4
-
5
- QRadioButton::indicator {
6
- width: 10px;
7
- height: 10px;
8
- border-radius: 6px;
9
- border: 2px solid @primary;
10
- background-color: @background;
11
- }
12
-
13
- QRadioButton::indicator:checked {
14
- background-color: @primary;
15
- border: 2px solid @primary;
16
- }
17
-
18
- QRadioButton::indicator:hover {
19
- background-color: @primary;
20
- }
21
-
22
- QRadioButton::indicator:disabled {
23
- background: @disabled-background;
24
- border-color: @disabled-background;
25
- }
26
-
27
- QRadioButton::disabled {
28
- background-color: @background;
29
- color: @disabled-color;
30
-
1
+ QRadioButton {
2
+ padding: 5px 10px;
3
+ }
4
+
5
+ QRadioButton::indicator {
6
+ width: 10px;
7
+ height: 10px;
8
+ border-radius: 6px;
9
+ border: 2px solid @primary;
10
+ background-color: @background;
11
+ }
12
+
13
+ QRadioButton::indicator:checked {
14
+ background-color: @primary;
15
+ border: 2px solid @primary;
16
+ }
17
+
18
+ QRadioButton::indicator:hover {
19
+ background-color: @primary;
20
+ }
21
+
22
+ QRadioButton::indicator:disabled {
23
+ background: @disabled-background;
24
+ border-color: @disabled-background;
25
+ }
26
+
27
+ QRadioButton::disabled {
28
+ background-color: @background;
29
+ color: @disabled-color;
30
+
31
31
  }
@@ -1,30 +1,30 @@
1
- QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical,
2
- QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
3
- background: none;
4
- background-color: @background-variant;
5
- border: 2px solid @border-color;
6
- }
7
-
8
- QScrollBar::up-arrow {
9
- background-image: url("@arrow-up-image-icon");
10
- background-repeat: no-repeat;
11
- background-position: center;
12
- }
13
-
14
- QScrollBar::down-arrow {
15
- background-image: url("@arrow-down-image-icon");
16
- background-repeat: no-repeat;
17
- background-position: center;
18
- }
19
-
20
- QScrollBar::left-arrow {
21
- background-image: url("@arrow-left-image-icon");
22
- background-repeat: no-repeat;
23
- background-position: center;
24
- }
25
-
26
- QScrollBar::right-arrow {
27
- background-image: url("@arrow-right-image-icon");
28
- background-repeat: no-repeat;
29
- background-position: center;
1
+ QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical,
2
+ QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
3
+ background: none;
4
+ background-color: @background-variant;
5
+ border: 2px solid @border-color;
6
+ }
7
+
8
+ QScrollBar::up-arrow {
9
+ background-image: url("@arrow-up-image-icon");
10
+ background-repeat: no-repeat;
11
+ background-position: center;
12
+ }
13
+
14
+ QScrollBar::down-arrow {
15
+ background-image: url("@arrow-down-image-icon");
16
+ background-repeat: no-repeat;
17
+ background-position: center;
18
+ }
19
+
20
+ QScrollBar::left-arrow {
21
+ background-image: url("@arrow-left-image-icon");
22
+ background-repeat: no-repeat;
23
+ background-position: center;
24
+ }
25
+
26
+ QScrollBar::right-arrow {
27
+ background-image: url("@arrow-right-image-icon");
28
+ background-repeat: no-repeat;
29
+ background-position: center;
30
30
  }