src/eric7/UI/Ui_NotificationFrame.py

branch
eric7
changeset 10743
5d3a5a05114e
child 10745
2921faddeaec
equal deleted inserted replaced
10742:7aa41173b44b 10743:5d3a5a05114e
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/UI/NotificationFrame.ui'
2 #
3 # Created by: PyQt6 UI code generator 6.7.0
4 #
5 # WARNING: Any manual changes made to this file will be lost when pyuic6 is
6 # run again. Do not edit this file unless you know what you are doing.
7
8
9 from PyQt6 import QtCore, QtGui, QtWidgets
10
11
12 class Ui_NotificationFrame(object):
13 def setupUi(self, NotificationFrame):
14 NotificationFrame.setObjectName("NotificationFrame")
15 NotificationFrame.resize(400, 80)
16 NotificationFrame.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
17 NotificationFrame.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
18 NotificationFrame.setLineWidth(1)
19 self.horizontalLayout = QtWidgets.QHBoxLayout(NotificationFrame)
20 self.horizontalLayout.setContentsMargins(4, 4, 4, 4)
21 self.horizontalLayout.setObjectName("horizontalLayout")
22 self.icon = QtWidgets.QLabel(parent=NotificationFrame)
23 self.icon.setMaximumSize(QtCore.QSize(48, 48))
24 self.icon.setText("")
25 self.icon.setObjectName("icon")
26 self.horizontalLayout.addWidget(self.icon)
27 self.verticalLayout = QtWidgets.QVBoxLayout()
28 self.verticalLayout.setObjectName("verticalLayout")
29 self.heading = QtWidgets.QLabel(parent=NotificationFrame)
30 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
31 sizePolicy.setHorizontalStretch(0)
32 sizePolicy.setVerticalStretch(0)
33 sizePolicy.setHeightForWidth(self.heading.sizePolicy().hasHeightForWidth())
34 self.heading.setSizePolicy(sizePolicy)
35 self.heading.setMinimumSize(QtCore.QSize(335, 0))
36 font = QtGui.QFont()
37 font.setBold(True)
38 font.setWeight(75)
39 self.heading.setFont(font)
40 self.heading.setText("")
41 self.heading.setObjectName("heading")
42 self.verticalLayout.addWidget(self.heading)
43 self.text = QtWidgets.QLabel(parent=NotificationFrame)
44 self.text.setMinimumSize(QtCore.QSize(335, 0))
45 self.text.setText("")
46 self.text.setAlignment(QtCore.Qt.AlignmentFlag.AlignLeading|QtCore.Qt.AlignmentFlag.AlignLeft|QtCore.Qt.AlignmentFlag.AlignTop)
47 self.text.setWordWrap(True)
48 self.text.setObjectName("text")
49 self.verticalLayout.addWidget(self.text)
50 self.horizontalLayout.addLayout(self.verticalLayout)
51
52 self.retranslateUi(NotificationFrame)
53 QtCore.QMetaObject.connectSlotsByName(NotificationFrame)
54
55 def retranslateUi(self, NotificationFrame):
56 pass

eric ide

mercurial