# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'ui_window.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_Form(object): def setupUi(self, Form): Form.setObjectName("Form") Form.resize(1480, 1280) self.label = QtWidgets.QLabel(Form) self.label.setGeometry(QtCore.QRect(500, 10, 500, 40)) font = QtGui.QFont() font.setPointSize(18) font.setBold(True) font.setUnderline(False) font.setWeight(75) self.label.setFont(font) self.label.setAlignment(QtCore.Qt.AlignCenter) self.label.setObjectName("label") self.layoutWidget1 = QtWidgets.QWidget(Form) self.layoutWidget1.setGeometry(QtCore.QRect(60, 60, 150, 30)) self.layoutWidget1.setObjectName("layoutWidget1") self.horizontalLayout_1 = QtWidgets.QHBoxLayout(self.layoutWidget1) self.horizontalLayout_1.setContentsMargins(0, 0, 0, 0) self.horizontalLayout_1.setObjectName("horizontalLayout_2") self.label_2 = QtWidgets.QLabel(self.layoutWidget1) self.label_2.setAlignment(QtCore.Qt.AlignCenter) self.label_2.setObjectName("label_2") self.horizontalLayout_1.addWidget(self.label_2) self.spinBox = QtWidgets.QSpinBox(self.layoutWidget1) self.spinBox.setMinimum(3) self.spinBox.setMaximum(40) self.spinBox.setSingleStep(2) self.spinBox.setProperty("value", 3) self.spinBox.setObjectName("spinBox") self.horizontalLayout_1.addWidget(self.spinBox) self.layoutWidget2 = QtWidgets.QWidget(Form) self.layoutWidget2.setGeometry(QtCore.QRect(580, 60, 200, 30)) self.layoutWidget2.setObjectName("layoutWidget2") self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.layoutWidget2) self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0) self.horizontalLayout_2.setObjectName("horizontalLayout") self.label_3 = QtWidgets.QLabel(self.layoutWidget2) self.label_3.setObjectName("label_3") self.horizontalLayout_2.addWidget(self.label_3) self.comboBox = QtWidgets.QComboBox(self.layoutWidget2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.comboBox.sizePolicy().hasHeightForWidth()) self.comboBox.setSizePolicy(sizePolicy) self.comboBox.setObjectName("comboBox") self.comboBox.addItem("") self.comboBox.addItem("") self.comboBox.addItem("") self.comboBox.addItem("") self.comboBox.addItem("") self.horizontalLayout_2.addWidget(self.comboBox) self.pushButton = QtWidgets.QPushButton(Form) self.pushButton.setGeometry(QtCore.QRect(70, 160, 110, 20)) self.pushButton.setObjectName("pushButton_5") self.groupBox = QtWidgets.QGroupBox(Form) self.groupBox.setGeometry(QtCore.QRect(70, 170, 120, 110)) self.groupBox.setTitle("") self.groupBox.setObjectName("groupBox") self.radioButton = QtWidgets.QRadioButton(self.groupBox) self.radioButton.setGeometry(QtCore.QRect(10, 20, 96, 20)) self.radioButton.setObjectName("radioButton") self.radioButton_2 = QtWidgets.QRadioButton(self.groupBox) self.radioButton_2.setGeometry(QtCore.QRect(10, 50, 96, 20)) self.radioButton_2.setObjectName("radioButton_2") self.radioButton_3 = QtWidgets.QRadioButton(self.groupBox) self.radioButton_3.setGeometry(QtCore.QRect(10, 80, 96, 20)) self.radioButton_3.setObjectName("radioButton_3") self.layoutWidget = QtWidgets.QWidget(Form) self.layoutWidget.setGeometry(QtCore.QRect(70, 320, 111, 291)) self.layoutWidget.setObjectName("layoutWidget") self.verticalLayout = QtWidgets.QVBoxLayout(self.layoutWidget) self.verticalLayout.setContentsMargins(0, 0, 0, 0) self.verticalLayout.setObjectName("verticalLayout") self.pushButton_2 = QtWidgets.QPushButton(self.layoutWidget) self.pushButton_2.setObjectName("pushButton_2") self.verticalLayout.addWidget(self.pushButton_2) self.pushButton_3 = QtWidgets.QPushButton(self.layoutWidget) self.pushButton_3.setObjectName("pushButton_3") self.verticalLayout.addWidget(self.pushButton_3) self.pushButton_4 = QtWidgets.QPushButton(self.layoutWidget) self.pushButton_4.setObjectName("pushButton_4") self.verticalLayout.addWidget(self.pushButton_4) self.pushButton_5 = QtWidgets.QPushButton(self.layoutWidget) self.pushButton_5.setObjectName("pushButton_5") self.verticalLayout.addWidget(self.pushButton_5) self.pushButton_6 = QtWidgets.QPushButton(self.layoutWidget) self.pushButton_6.setObjectName("pushButton_6") self.verticalLayout.addWidget(self.pushButton_6) self.pushButton_7 = QtWidgets.QPushButton(self.layoutWidget) self.pushButton_7.setObjectName("pushButton_7") self.verticalLayout.addWidget(self.pushButton_7) self.layoutWidget3 = QtWidgets.QWidget(Form) self.layoutWidget3.setGeometry(QtCore.QRect(820, 60, 100, 30)) self.layoutWidget3.setObjectName("layoutWidget3") self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.layoutWidget3) self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0) self.horizontalLayout_3.setObjectName("horizontalLayout2") self.comboBox_2 = QtWidgets.QComboBox(self.layoutWidget3) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.comboBox_2.sizePolicy().hasHeightForWidth()) self.comboBox_2.setSizePolicy(sizePolicy) self.comboBox_2.setObjectName("comboBox") self.comboBox_2.addItem("") self.comboBox_2.addItem("") self.comboBox_2.addItem("") self.horizontalLayout_3.addWidget(self.comboBox_2) self.stackedWidget = QtWidgets.QStackedWidget(Form) self.stackedWidget.setGeometry(QtCore.QRect(250, 100, 1024, 1024)) self.stackedWidget.setObjectName("stackedWidget") self.page_3 = QtWidgets.QWidget() self.page_3.setObjectName("page_3") self.stackedWidget.addWidget(self.page_3) self.page_4 = QtWidgets.QWidget() self.page_4.setObjectName("page_4") self.stackedWidget.addWidget(self.page_4) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form) def retranslateUi(self, Form): _translate = QtCore.QCoreApplication.translate Form.setWindowTitle(_translate("Form", " ")) self.label.setText(_translate("Form", "Image Completion")) self.label_2.setText(_translate("Form", "Bush Width:")) self.label_3.setText(_translate("Form", "Options:")) self.comboBox.setItemText(0, _translate("Form", "None")) self.comboBox.setItemText(1, _translate("Form", "CelebA-HQ")) self.comboBox.setItemText(2, _translate("Form", "Paris")) self.comboBox.setItemText(3, _translate("Form", "ImageNet")) self.comboBox.setItemText(4, _translate("Form", "Places2")) self.pushButton.setText(_translate("Form", "draw/clear")) self.radioButton.setText(_translate("Form", "free-form")) self.radioButton_2.setText(_translate("Form", "rectangle")) self.radioButton_3.setText(_translate("Form", "center-mask")) self.pushButton_2.setText(_translate("Form", "load image")) self.pushButton_3.setText(_translate("Form", "random image")) self.pushButton_4.setText(_translate("Form", "load mask")) self.pushButton_5.setText(_translate("Form", "random mask")) self.pushButton_6.setText(_translate("Form", "fill")) self.pushButton_7.setText(_translate("Form", "save")) self.comboBox_2.setItemText(0, _translate("Form", "Input")) self.comboBox_2.setItemText(1, _translate("Form", "Masked")) self.comboBox_2.setItemText(2, _translate("Form", "Output"))