MCPcopy
hub / github.com/PyQt5/PyQt / Ui_NotifyForm

Class Ui_NotifyForm

Demo/Lib/UiNotify.py:15–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13
14
15class Ui_NotifyForm(object):
16 def setupUi(self, NotifyForm):
17 NotifyForm.setObjectName("NotifyForm")
18 NotifyForm.resize(300, 200)
19 NotifyForm.setStyleSheet("QWidget#widgetTitle {\n"
20 " background-color: rgb(76, 169, 106);\n"
21 "}\n"
22 "QWidget#widgetBottom {\n"
23 " border-top-style: solid;\n"
24 " border-top-width: 2px;\n"
25 " border-top-color: rgb(185, 218, 201);\n"
26 "}\n"
27 "QLabel#labelTitle {\n"
28 " color: rgb(255, 255, 255);\n"
29 "}\n"
30 "QLabel#labelContent {\n"
31 " padding: 5px;\n"
32 "}\n"
33 "QPushButton {\n"
34 " border: none;\n"
35 " background: transparent;\n"
36 "}\n"
37 "QPushButton#buttonClose {\n"
38 " font-family: \"webdings\";\n"
39 " color: rgb(255, 255, 255);\n"
40 "}\n"
41 "QPushButton#buttonClose:hover {\n"
42 " background-color: rgb(212, 64, 39);\n"
43 "}\n"
44 "QPushButton#buttonView {\n"
45 " color: rgb(255, 255, 255);\n"
46 " border-radius: 5px;\n"
47 " border: solid 1px rgb(76, 169, 106);\n"
48 " background-color: rgb(76, 169, 106);\n"
49 "}\n"
50 "QPushButton#buttonView:hover {\n"
51 " color: rgb(0, 0, 0);\n"
52 "}")
53 self.verticalLayout = QtWidgets.QVBoxLayout(NotifyForm)
54 self.verticalLayout.setContentsMargins(0, 0, 0, 0)
55 self.verticalLayout.setSpacing(6)
56 self.verticalLayout.setObjectName("verticalLayout")
57 self.widgetTitle = QtWidgets.QWidget(NotifyForm)
58 self.widgetTitle.setMinimumSize(QtCore.QSize(0, 26))
59 self.widgetTitle.setObjectName("widgetTitle")
60 self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.widgetTitle)
61 self.horizontalLayout_3.setContentsMargins(10, 0, 0, 0)
62 self.horizontalLayout_3.setSpacing(0)
63 self.horizontalLayout_3.setObjectName("horizontalLayout_3")
64 self.labelTitle = QtWidgets.QLabel(self.widgetTitle)
65 self.labelTitle.setText("")
66 self.labelTitle.setObjectName("labelTitle")
67 self.horizontalLayout_3.addWidget(self.labelTitle)
68 spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding,
69 QtWidgets.QSizePolicy.Minimum)
70 self.horizontalLayout_3.addItem(spacerItem)
71 self.buttonClose = QtWidgets.QPushButton(self.widgetTitle)
72 self.buttonClose.setMinimumSize(QtCore.QSize(26, 26))

Callers 1

UiNotify.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected