Source code for ui_Down_Sampling_Image_Screen

# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'Down_Sampling_Image_Screen.ui'
##
## Created by: Qt User Interface Compiler version 5.15.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide2.QtCore import *
from PySide2.QtGui import *
from PySide2.QtWidgets import *


[docs] class Ui_Dialog(object):
[docs] def setupUi(self, Dialog): if not Dialog.objectName(): Dialog.setObjectName(u"Dialog") Dialog.resize(1366, 800) self.Save_As = QPushButton(Dialog) self.Save_As.setObjectName(u"Save_As") self.Save_As.setGeometry(QRect(900, 660, 403, 81)) self.Open_Image_Button = QPushButton(Dialog) self.Open_Image_Button.setObjectName(u"Open_Image_Button") self.Open_Image_Button.setGeometry(QRect(90, 660, 401, 81)) self.label_5 = QLabel(Dialog) self.label_5.setObjectName(u"label_5") self.label_5.setGeometry(QRect(400, 740, 581, 41)) self.label_5.setStyleSheet(u"color: rgb(255, 0, 0);") self.label_5.setAlignment(Qt.AlignCenter) self.lineEdit = QLineEdit(Dialog) self.lineEdit.setObjectName(u"lineEdit") self.lineEdit.setGeometry(QRect(550, 660, 301, 81)) self.lineEdit.setStyleSheet(u"border: 12px solid rgb(0, 0, 0);\n" "border-width: 2px;\n" "font: 11.5pt \"MS Shell Dlg 2\";\n" "border-radius: 15px;\n" "padding-left:20px;\n" "padding-right:20px;") self.scrollArea_2 = QScrollArea(Dialog) self.scrollArea_2.setObjectName(u"scrollArea_2") self.scrollArea_2.setGeometry(QRect(730, 40, 571, 561)) self.scrollArea_2.setWidgetResizable(True) self.scrollAreaWidgetContents_2 = QWidget() self.scrollAreaWidgetContents_2.setObjectName(u"scrollAreaWidgetContents_2") self.scrollAreaWidgetContents_2.setGeometry(QRect(0, 0, 569, 559)) self.label_2 = QLabel(self.scrollAreaWidgetContents_2) self.label_2.setObjectName(u"label_2") self.label_2.setGeometry(QRect(10, 20, 571, 561)) self.scrollArea_2.setWidget(self.scrollAreaWidgetContents_2) self.scrollArea = QScrollArea(Dialog) self.scrollArea.setObjectName(u"scrollArea") self.scrollArea.setGeometry(QRect(80, 40, 571, 561)) self.scrollArea.setWidgetResizable(True) self.scrollAreaWidgetContents = QWidget() self.scrollAreaWidgetContents.setObjectName(u"scrollAreaWidgetContents") self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 569, 559)) self.label = QLabel(self.scrollAreaWidgetContents) self.label.setObjectName(u"label") self.label.setGeometry(QRect(10, 20, 571, 561)) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.label_3 = QLabel(Dialog) self.label_3.setObjectName(u"label_3") self.label_3.setGeometry(QRect(660, 300, 61, 31)) self.label_3.setStyleSheet(u"font: 22pt \"MS Shell Dlg 2\";") self.label_3.setAlignment(Qt.AlignCenter) self.retranslateUi(Dialog) QMetaObject.connectSlotsByName(Dialog)
# setupUi
[docs] def retranslateUi(self, Dialog): Dialog.setWindowTitle(QCoreApplication.translate("Dialog", u"Dialog", None)) self.Save_As.setText(QCoreApplication.translate("Dialog", u"Save As", None)) self.Open_Image_Button.setText(QCoreApplication.translate("Dialog", u"Open Image", None)) self.label_5.setText("") self.lineEdit.setText("") self.lineEdit.setPlaceholderText(QCoreApplication.translate("Dialog", u"Enter Downsampling Value...", None)) self.label_2.setText("") self.label.setText("") self.label_3.setText(QCoreApplication.translate("Dialog", u"=>", None))
# retranslateUi