-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui_PDFWidget.py
55 lines (48 loc) · 2.62 KB
/
ui_PDFWidget.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'PDFWidget.ui'
#
# Created by: PyQt5 UI code generator 5.15.0
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_PDFWidget(object):
def setupUi(self, PDFWidget):
PDFWidget.setObjectName("PDFWidget")
PDFWidget.resize(839, 986)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(PDFWidget.sizePolicy().hasHeightForWidth())
PDFWidget.setSizePolicy(sizePolicy)
self.verticalLayout_2 = QtWidgets.QVBoxLayout(PDFWidget)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem)
self.verticalLayout = QtWidgets.QVBoxLayout()
self.verticalLayout.setObjectName("verticalLayout")
self.reading_area = QtWidgets.QLabel(PDFWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(10)
sizePolicy.setHeightForWidth(self.reading_area.sizePolicy().hasHeightForWidth())
self.reading_area.setSizePolicy(sizePolicy)
self.reading_area.setMinimumSize(QtCore.QSize(720, 960))
self.reading_area.setText("")
self.reading_area.setAlignment(QtCore.Qt.AlignCenter)
self.reading_area.setObjectName("reading_area")
self.verticalLayout.addWidget(self.reading_area)
self.horizontalLayout.addLayout(self.verticalLayout)
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem1)
self.horizontalLayout.setStretch(0, 2)
self.horizontalLayout.setStretch(1, 1)
self.horizontalLayout.setStretch(2, 2)
self.verticalLayout_2.addLayout(self.horizontalLayout)
self.retranslateUi(PDFWidget)
QtCore.QMetaObject.connectSlotsByName(PDFWidget)
def retranslateUi(self, PDFWidget):
_translate = QtCore.QCoreApplication.translate
PDFWidget.setWindowTitle(_translate("PDFWidget", "Form"))