53 lines
2.3 KiB
Python
53 lines
2.3 KiB
Python
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
# Form implementation generated from reading ui file 'resources/_ui/expandablewidget.ui'
|
||
|
#
|
||
|
# Created by: PyQt5 UI code generator 5.12.3
|
||
|
#
|
||
|
# WARNING! All changes made in this file will be lost!
|
||
|
|
||
|
|
||
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
||
|
|
||
|
|
||
|
class Ui_ExpandableForm(object):
|
||
|
def setupUi(self, ExpandableForm):
|
||
|
ExpandableForm.setObjectName("ExpandableForm")
|
||
|
ExpandableForm.resize(400, 300)
|
||
|
self.verticalLayout = QtWidgets.QVBoxLayout(ExpandableForm)
|
||
|
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
|
||
|
self.verticalLayout.setSpacing(0)
|
||
|
self.verticalLayout.setObjectName("verticalLayout")
|
||
|
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
||
|
self.horizontalLayout.setSpacing(0)
|
||
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
||
|
self.toolButton = QtWidgets.QToolButton(ExpandableForm)
|
||
|
self.toolButton.setStyleSheet("border: 0")
|
||
|
self.toolButton.setText("")
|
||
|
self.toolButton.setToolButtonStyle(QtCore.Qt.ToolButtonTextBesideIcon)
|
||
|
self.toolButton.setArrowType(QtCore.Qt.RightArrow)
|
||
|
self.toolButton.setObjectName("toolButton")
|
||
|
self.horizontalLayout.addWidget(self.toolButton)
|
||
|
self.label = QtWidgets.QLabel(ExpandableForm)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Preferred)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
|
||
|
self.label.setSizePolicy(sizePolicy)
|
||
|
self.label.setText("")
|
||
|
self.label.setObjectName("label")
|
||
|
self.horizontalLayout.addWidget(self.label)
|
||
|
self.line = QtWidgets.QFrame(ExpandableForm)
|
||
|
self.line.setFrameShape(QtWidgets.QFrame.HLine)
|
||
|
self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
|
||
|
self.line.setObjectName("line")
|
||
|
self.horizontalLayout.addWidget(self.line)
|
||
|
self.verticalLayout.addLayout(self.horizontalLayout)
|
||
|
|
||
|
self.retranslateUi(ExpandableForm)
|
||
|
QtCore.QMetaObject.connectSlotsByName(ExpandableForm)
|
||
|
|
||
|
def retranslateUi(self, ExpandableForm):
|
||
|
_translate = QtCore.QCoreApplication.translate
|
||
|
ExpandableForm.setWindowTitle(_translate("ExpandableForm", "Form"))
|