molde 0.1.7__py3-none-any.whl → 0.1.8__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/__main__.py +8 -4
- molde/stylesheets/common.qss +1 -1
- molde/stylesheets/mainwindow.ui +35 -6
- molde/stylesheets/qtoolbar.qss +11 -0
- {molde-0.1.7.dist-info → molde-0.1.8.dist-info}/METADATA +1 -1
- {molde-0.1.7.dist-info → molde-0.1.8.dist-info}/RECORD +7 -7
- {molde-0.1.7.dist-info → molde-0.1.8.dist-info}/WHEEL +0 -0
molde/__main__.py
CHANGED
@@ -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"))
|
molde/stylesheets/common.qss
CHANGED
molde/stylesheets/mainwindow.ui
CHANGED
@@ -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>
|
molde/stylesheets/qtoolbar.qss
CHANGED
@@ -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
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
molde/__init__.py,sha256=0iu27Lpdn0XBDRjRuRqhZHT7zoHNNMqf3E1zDJjuXX8,417
|
2
|
-
molde/__main__.py,sha256=
|
2
|
+
molde/__main__.py,sha256=A3nZwfdOB-DjKOI_NVPl7EUYBsLq5_Yg8pP4GDI2mTQ,2811
|
3
3
|
molde/actors/__init__.py,sha256=hIWbRlKTYleqyVWtcGE7X8Nu9oiZoc2ceRdQ5gZfe3c,266
|
4
4
|
molde/actors/common_symbols_actor.py,sha256=gv6swuV8pje7JyQjGDaRVi8r7Clc7mz6qNN-DRbMY9o,5067
|
5
5
|
molde/actors/ghost_actor.py,sha256=m7fu_bhIZM1kWhObZ_c8t_w9ZsAdDo9SlAT-pYUu_Lg,493
|
@@ -40,9 +40,9 @@ molde/render_widgets/__init__.py,sha256=SOU9bax48D2bP_zhtF_o_Yh7HAK4clIPcjxfjYOn
|
|
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
42
|
molde/stylesheets/__init__.py,sha256=wf2vFpun9-qcqXKgVhh7JCq9aXlCM9JelgldnOA_rJM,5564
|
43
|
-
molde/stylesheets/common.qss,sha256=
|
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=992e8M6OFk_GylHEI7GbYf1MZrXS2o3EyzH34d2qxyQ,18051
|
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
|
@@ -54,7 +54,7 @@ molde/stylesheets/qscrollbar.qss,sha256=8eB-kzQBI_M0IHqPUdig9S0BnH2voyUo0TrfHi-N
|
|
54
54
|
molde/stylesheets/qslider.qss,sha256=YEo3DMsqew8zqwpGlDqGjsfAPPzMbZMnDxBdLxQWQDg,952
|
55
55
|
molde/stylesheets/qtablewidget.qss,sha256=8uuX07mOKrHM4GCn-66skVZY-KIJ0hPm1yt4FD76Z_Y,481
|
56
56
|
molde/stylesheets/qtabwidget.qss,sha256=Iel50ZzKiP4Uz3UA7X2WAy_a7rxgBZNOV2IcCu2u16g,532
|
57
|
-
molde/stylesheets/qtoolbar.qss,sha256=
|
57
|
+
molde/stylesheets/qtoolbar.qss,sha256=cu6b-YIUxnbjJYrrRFFLSlduhh7CUaysdst5FfvsaVM,1016
|
58
58
|
molde/stylesheets/qtoolbuttons.qss,sha256=WD-csaKuG9TbwrCJXPcpAwxdoJqMSK-Ya_8ZYDPls78,272
|
59
59
|
molde/stylesheets/qtreewidget.qss,sha256=r7bFn20jphbfmfnV6v9Qc70r8urKpMEV7VjODL_27pQ,557
|
60
60
|
molde/ui_files/messages/new_loading_window.ui,sha256=6tHF2G5UxPOxgmB1UOByBeWpF6hnxty8tJ2wUX3UKoU,1726
|
@@ -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.8.dist-info/METADATA,sha256=gCxMMwctvdapRe0O3bl75phF6fum-FySsQbYhZLDbJo,2101
|
67
|
+
molde-0.1.8.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
68
|
+
molde-0.1.8.dist-info/RECORD,,
|
File without changes
|