Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'saveUI.ui'
#
# Created: Mon Dec 04 20:08:57 2017
# by: pyside-uic 0.2.15 running on PySide 1.2.4
#
# WARNING! All changes made in this file will be lost!
from PySide import QtCore, QtGui
class Ui_Form(object):
def setupUi(self, Form):
Form.setObjectName("Form")
Form.resize(318, 273)
Form.setMinimumSize(QtCore.QSize(300, 0))
self.verticalLayout = QtGui.QVBoxLayout(Form)
self.verticalLayout.setObjectName("verticalLayout")
self.copyImg = QtGui.QLabel(Form)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.copyImg.sizePolicy().hasHeightForWidth())
self.copyImg.setSizePolicy(sizePolicy)
self.copyImg.setMinimumSize(QtCore.QSize(300, 200))
self.copyImg.setTexht("")
self.copyImg.setScaledContents(True)
self.copyImg.setAlignment(QtCore.Qt.AlignCenter)
self.copyImg.setObjectName("copyImg")
self.verticalLayout.addWidget(self.copyImg)
self.Folder = QtGui.QComboBox(Form)
self.Folder.setObjectName("Folder")
self.verticalLayout.addWidget(self.Folder)
self.saveBtn = QtGui.QPushButton(Form)
self.saveBtn.setObjectName("saveBtn")
self.verticalLayout.addWidget(self.saveBtn)
self.retranslateUi(Form)
QtCore.QMetaObject.connectSlotsByName(Form)
def retranslateUi(self, Form):
Form.setWindowTitle(QtGui.QApplication.translate("Form", "Form", None, QtGui.QApplication.UnicodeUTF8))
self.saveBtn.setText(QtGui.QApplication.translate("Form", "保存", None, QtGui.QApplication.UnicodeUTF8))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment