-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathform_Enlargement.py
43 lines (35 loc) · 1.54 KB
/
form_Enlargement.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'form_Enlargement.ui'
#
# Created by: PyQt5 UI code generator 5.11.2
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_frmEnlargement(object):
def setupUi(self, frmEnlargement):
frmEnlargement.setObjectName("frmEnlargement")
frmEnlargement.resize(671, 505)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(frmEnlargement.sizePolicy().hasHeightForWidth())
frmEnlargement.setSizePolicy(sizePolicy)
frmEnlargement.setMinimumSize(QtCore.QSize(200, 300))
frmEnlargement.setSizeIncrement(QtCore.QSize(0, 0))
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(":/icon_camera.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
frmEnlargement.setWindowIcon(icon)
self.retranslateUi(frmEnlargement)
QtCore.QMetaObject.connectSlotsByName(frmEnlargement)
def retranslateUi(self, frmEnlargement):
_translate = QtCore.QCoreApplication.translate
frmEnlargement.setWindowTitle(_translate("frmEnlargement", "Enlargement"))
import icons_rc
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
frmEnlargement = QtWidgets.QWidget()
ui = Ui_frmEnlargement()
ui.setupUi(frmEnlargement)
frmEnlargement.show()
sys.exit(app.exec_())