molde 0.1.12__py3-none-any.whl → 0.1.13__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 -12
  2. molde/__main__.py +81 -81
  3. molde/actors/__init__.py +5 -5
  4. molde/actors/common_symbols_actor.py +148 -148
  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 +213 -150
  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 +87 -87
  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 -429
  25. molde/stylesheets/__init__.py +122 -122
  26. molde/stylesheets/common.qss +15 -15
  27. molde/stylesheets/create_color_page.py +61 -61
  28. molde/stylesheets/mainwindow.ui +646 -646
  29. molde/stylesheets/qcheckbox.qss +23 -23
  30. molde/stylesheets/qinputs.qss +81 -81
  31. molde/stylesheets/qlayouts.qss +23 -23
  32. molde/stylesheets/qmenubar.qss +12 -12
  33. molde/stylesheets/qprogressbar.qss +11 -11
  34. molde/stylesheets/qpushbutton.qss +89 -89
  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 -28
  40. molde/stylesheets/qtoolbar.qss +63 -63
  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.12.dist-info → molde-0.1.13.dist-info}/METADATA +1 -1
  50. molde-0.1.13.dist-info/RECORD +68 -0
  51. {molde-0.1.12.dist-info → molde-0.1.13.dist-info}/WHEEL +1 -1
  52. molde-0.1.12.dist-info/RECORD +0 -68
@@ -1,24 +1,24 @@
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;
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;
24
24
  }
@@ -1,82 +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
- }
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;
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;
82
82
  }
@@ -1,23 +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
- 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
+ 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,89 +1,89 @@
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: 5px 9px;
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
- color: @on-primary;
28
- background-color: @primary;
29
- }
30
-
31
- QPushButton[status=main]::hover,
32
- QPushButton::default:hover {
33
- background-color: @primary-lighter;
34
- }
35
-
36
- QPushButton[status=main]::checked,
37
- QPushButton[status=main]::pressed,
38
- QPushButton::default:checked,
39
- QPushButton::default:pressed {
40
- background-color: @primary-darker;
41
- color: @on-primary;
42
- }
43
-
44
- QPushButton[status=danger],
45
- QPushButton[status=danger]:focus {
46
- color: @on-primary;
47
- border-color: @danger-color;
48
- background-color: @danger-color;
49
- }
50
-
51
- QPushButton[status=danger]::hover {
52
- background-color: @danger-color-lighter;
53
- }
54
-
55
- QPushButton[status=danger]::checked,
56
- QPushButton[status=danger]::pressed {
57
- background-color: @danger-color-darker;
58
- border-color: @danger-color;
59
- }
60
-
61
- QPushButton[status=warning],
62
- QPushButton[status=warning]:focus {
63
- color: @on-primary;
64
- background-color: @warning-color;
65
- border-color: @warning-color;
66
- }
67
-
68
- QPushButton[status=warning]::hover {
69
- background-color: @warning-color-lighter;
70
- }
71
-
72
- QPushButton[status=warning]::checked,
73
- QPushButton[status=warning]::pressed {
74
- background-color: @warning-color-darker;
75
- color: @on-primary;
76
- }
77
-
78
- QPushButton[status=main]::disabled,
79
- QPushButton[status=warning]::disabled,
80
- QPushButton[status=danger]::disabled {
81
- background-color: @disabled-background;
82
- color: @disabled-color;
83
- border: none;
84
- }
85
-
86
- QDialogButtonBox QPushButton {
87
- min-width: 65px;
88
- }
89
-
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: 5px 9px;
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
+ color: @on-primary;
28
+ background-color: @primary;
29
+ }
30
+
31
+ QPushButton[status=main]::hover,
32
+ QPushButton::default:hover {
33
+ background-color: @primary-lighter;
34
+ }
35
+
36
+ QPushButton[status=main]::checked,
37
+ QPushButton[status=main]::pressed,
38
+ QPushButton::default:checked,
39
+ QPushButton::default:pressed {
40
+ background-color: @primary-darker;
41
+ color: @on-primary;
42
+ }
43
+
44
+ QPushButton[status=danger],
45
+ QPushButton[status=danger]:focus {
46
+ color: @on-primary;
47
+ border-color: @danger-color;
48
+ background-color: @danger-color;
49
+ }
50
+
51
+ QPushButton[status=danger]::hover {
52
+ background-color: @danger-color-lighter;
53
+ }
54
+
55
+ QPushButton[status=danger]::checked,
56
+ QPushButton[status=danger]::pressed {
57
+ background-color: @danger-color-darker;
58
+ border-color: @danger-color;
59
+ }
60
+
61
+ QPushButton[status=warning],
62
+ QPushButton[status=warning]:focus {
63
+ color: @on-primary;
64
+ background-color: @warning-color;
65
+ border-color: @warning-color;
66
+ }
67
+
68
+ QPushButton[status=warning]::hover {
69
+ background-color: @warning-color-lighter;
70
+ }
71
+
72
+ QPushButton[status=warning]::checked,
73
+ QPushButton[status=warning]::pressed {
74
+ background-color: @warning-color-darker;
75
+ color: @on-primary;
76
+ }
77
+
78
+ QPushButton[status=main]::disabled,
79
+ QPushButton[status=warning]::disabled,
80
+ QPushButton[status=danger]::disabled {
81
+ background-color: @disabled-background;
82
+ color: @disabled-color;
83
+ border: none;
84
+ }
85
+
86
+ QDialogButtonBox QPushButton {
87
+ min-width: 65px;
88
+ }
89
+
@@ -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
  }