molde 0.1.6__tar.gz → 0.1.8__tar.gz
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-0.1.6 → molde-0.1.8}/PKG-INFO +1 -1
- {molde-0.1.6 → molde-0.1.8}/molde/__init__.py +1 -1
- {molde-0.1.6 → molde-0.1.8}/molde/__main__.py +8 -4
- {molde-0.1.6 → molde-0.1.8}/molde/stylesheets/common.qss +1 -1
- {molde-0.1.6 → molde-0.1.8}/molde/stylesheets/mainwindow.ui +35 -6
- {molde-0.1.6 → molde-0.1.8}/molde/stylesheets/qtoolbar.qss +11 -0
- {molde-0.1.6 → molde-0.1.8}/pyproject.toml +1 -1
- {molde-0.1.6 → molde-0.1.8}/README.md +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/actors/__init__.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/actors/common_symbols_actor.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/actors/ghost_actor.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/actors/lines_actor.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/actors/round_points_actor.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/actors/square_points_actor.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/colors/__init__.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/colors/color.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/colors/color_names.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/fonts/IBMPlexMono-Bold.ttf +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/fonts/IBMPlexMono-Regular.ttf +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/icons/arrow_down_dark_theme.svg +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/icons/arrow_down_disabled_dark_theme.svg +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/icons/arrow_down_disabled_light_theme.svg +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/icons/arrow_down_light_theme.svg +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/icons/arrow_left_dark_theme.svg +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/icons/arrow_left_light_theme.svg +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/icons/arrow_right_dark_theme.svg +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/icons/arrow_right_light_theme.svg +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/icons/arrow_up_dark_theme.svg +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/icons/arrow_up_disabled_dark_theme.svg +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/icons/arrow_up_disabled_light_theme.svg +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/icons/arrow_up_light_theme.svg +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/icons/check_box_image.svg +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/interactor_styles/__init__.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/interactor_styles/arcball_camera_style.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/interactor_styles/box_selection_style.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/main_window.ui +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/pickers/__init__.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/pickers/cell_area_picker.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/pickers/cell_property_area_picker.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/poly_data/__init__.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/poly_data/arrows.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/poly_data/lines_data.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/poly_data/simple_shapes.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/poly_data/vertices_data.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/render_widgets/__init__.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/render_widgets/animated_render_widget.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/render_widgets/common_render_widget.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/stylesheets/__init__.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/stylesheets/create_color_page.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/stylesheets/qcheckbox.qss +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/stylesheets/qinputs.qss +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/stylesheets/qlayouts.qss +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/stylesheets/qmenubar.qss +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/stylesheets/qprogressbar.qss +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/stylesheets/qpushbutton.qss +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/stylesheets/qradiobutton.qss +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/stylesheets/qscrollbar.qss +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/stylesheets/qslider.qss +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/stylesheets/qtablewidget.qss +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/stylesheets/qtabwidget.qss +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/stylesheets/qtoolbuttons.qss +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/stylesheets/qtreewidget.qss +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/ui_files/messages/new_loading_window.ui +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/utils/__init__.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/utils/format_sequences.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/utils/poly_data_utils.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/utils/tree_info.py +0 -0
- {molde-0.1.6 → molde-0.1.8}/molde/windows/loading_window.py +0 -0
@@ -1,12 +1,12 @@
|
|
1
1
|
from pathlib import Path
|
2
2
|
from qtpy.uic import loadUi
|
3
3
|
from .colors import Color
|
4
|
-
from PySide6.QtCore import QDir
|
5
4
|
|
6
5
|
MOLDE_DIR = Path(__file__).parent
|
7
6
|
UI_DIR = MOLDE_DIR / "ui_files/"
|
8
7
|
|
9
8
|
def load_ui(uifile: str | Path, baseinstance, working_directory: str| Path = None):
|
9
|
+
from PySide6.QtCore import QDir
|
10
10
|
if working_directory is not None:
|
11
11
|
working_directory = QDir(working_directory)
|
12
12
|
return loadUi(uifile, baseinstance, working_directory)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import os, sys
|
2
2
|
from PySide6.QtWidgets import QMainWindow, QApplication, QMessageBox, QLineEdit, QTableWidgetItem, QPushButton, QLabel, QSlider
|
3
|
-
from PySide6.QtGui import QColor
|
3
|
+
from PySide6.QtGui import QColor, QFont
|
4
4
|
from PySide6.QtCore import Qt
|
5
5
|
from time import time
|
6
6
|
|
@@ -35,13 +35,17 @@ class Example(QMainWindow):
|
|
35
35
|
|
36
36
|
self.botao1 = QPushButton()
|
37
37
|
self.label = QLabel("Olha o sapooo")
|
38
|
+
self.label.setProperty("type", "logo")
|
39
|
+
# font = QFont()
|
40
|
+
# font.setFamily("Bauhaus 93")
|
41
|
+
# self.label.setFont(font)
|
42
|
+
print(self.label.fontInfo().family())
|
43
|
+
|
38
44
|
self.slider = QSlider(Qt.Orientation.Horizontal)
|
39
45
|
self.slider.setValue(50)
|
40
46
|
self.botao1.setText("Olha a faca")
|
41
47
|
self.toolbar_2.addWidget(self.label)
|
42
|
-
self.toolbar_2.
|
43
|
-
self.toolbar_2.addWidget(self.slider)
|
44
|
-
self.toolbar_2.setDisabled(True)
|
48
|
+
self.toolbar_2.setDisabled(False)
|
45
49
|
|
46
50
|
item = QTableWidgetItem("fr")
|
47
51
|
item.setBackground(QColor("#FF0000"))
|
@@ -213,9 +213,6 @@ LOCO</string>
|
|
213
213
|
</item>
|
214
214
|
</layout>
|
215
215
|
</item>
|
216
|
-
<item>
|
217
|
-
<widget class="QDial" name="dial"/>
|
218
|
-
</item>
|
219
216
|
<item>
|
220
217
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
221
218
|
<item>
|
@@ -293,7 +290,7 @@ LOCO</string>
|
|
293
290
|
<item>
|
294
291
|
<widget class="QTabWidget" name="tabWidget">
|
295
292
|
<property name="currentIndex">
|
296
|
-
<number>
|
293
|
+
<number>2</number>
|
297
294
|
</property>
|
298
295
|
<widget class="QWidget" name="tab">
|
299
296
|
<attribute name="title">
|
@@ -471,7 +468,36 @@ LOCO</string>
|
|
471
468
|
</attribute>
|
472
469
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
473
470
|
<item>
|
474
|
-
<widget class="CommonRenderWidget" name="render_widget" native="true"
|
471
|
+
<widget class="CommonRenderWidget" name="render_widget" native="true">
|
472
|
+
<widget class="QLabel" name="label">
|
473
|
+
<property name="geometry">
|
474
|
+
<rect>
|
475
|
+
<x>140</x>
|
476
|
+
<y>20</y>
|
477
|
+
<width>500</width>
|
478
|
+
<height>141</height>
|
479
|
+
</rect>
|
480
|
+
</property>
|
481
|
+
<property name="maximumSize">
|
482
|
+
<size>
|
483
|
+
<width>500</width>
|
484
|
+
<height>500</height>
|
485
|
+
</size>
|
486
|
+
</property>
|
487
|
+
<property name="styleSheet">
|
488
|
+
<string notr="true">font-family: 'MS Sans Serif';</string>
|
489
|
+
</property>
|
490
|
+
<property name="text">
|
491
|
+
<string/>
|
492
|
+
</property>
|
493
|
+
<property name="pixmap">
|
494
|
+
<pixmap>../../../OpenPulse/pulse/interface/data/icons/logos/OpenPulse_logo_white.png</pixmap>
|
495
|
+
</property>
|
496
|
+
<property name="scaledContents">
|
497
|
+
<bool>true</bool>
|
498
|
+
</property>
|
499
|
+
</widget>
|
500
|
+
</widget>
|
475
501
|
</item>
|
476
502
|
</layout>
|
477
503
|
</widget>
|
@@ -498,7 +524,7 @@ LOCO</string>
|
|
498
524
|
<x>0</x>
|
499
525
|
<y>0</y>
|
500
526
|
<width>800</width>
|
501
|
-
<height>
|
527
|
+
<height>21</height>
|
502
528
|
</rect>
|
503
529
|
</property>
|
504
530
|
<widget class="QMenu" name="menuproject">
|
@@ -561,6 +587,9 @@ LOCO</string>
|
|
561
587
|
<property name="checkable">
|
562
588
|
<bool>true</bool>
|
563
589
|
</property>
|
590
|
+
<property name="enabled">
|
591
|
+
<bool>false</bool>
|
592
|
+
</property>
|
564
593
|
<property name="text">
|
565
594
|
<string>Mama</string>
|
566
595
|
</property>
|
@@ -31,6 +31,10 @@ QToolBar QComboBox {
|
|
31
31
|
height: 15px;
|
32
32
|
}
|
33
33
|
|
34
|
+
QToolBar QWidget:disabled {
|
35
|
+
background: transparent;
|
36
|
+
}
|
37
|
+
|
34
38
|
QToolBar QSlider:disabled {
|
35
39
|
background-color: @disabled-background;
|
36
40
|
}
|
@@ -49,4 +53,11 @@ QToolBar QFrame::disabled {
|
|
49
53
|
background: @disabled-background;
|
50
54
|
}
|
51
55
|
|
56
|
+
QToolBar QLabel:disabled,
|
57
|
+
QToolBar QSlider:disabled {
|
58
|
+
background: transparent;
|
59
|
+
}
|
60
|
+
|
61
|
+
|
62
|
+
|
52
63
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|