Source code for ui_Thresholding_With_Background

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

################################################################################
## Form generated from reading UI file 'Thresholding_With_Background.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_3(object):
[docs] def setupUi(self, Dialog_3): if not Dialog_3.objectName(): Dialog_3.setObjectName(u"Dialog_3") Dialog_3.resize(1366, 801) self.lineEdit = QLineEdit(Dialog_3) self.lineEdit.setObjectName(u"lineEdit") self.lineEdit.setGeometry(QRect(550, 660, 301, 41)) 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.lineEdit.setAlignment(Qt.AlignCenter) self.label_5 = QLabel(Dialog_3) 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.Save_As = QPushButton(Dialog_3) self.Save_As.setObjectName(u"Save_As") self.Save_As.setGeometry(QRect(900, 660, 403, 81)) self.scrollArea_2 = QScrollArea(Dialog_3) 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.Open_Image_Button = QPushButton(Dialog_3) self.Open_Image_Button.setObjectName(u"Open_Image_Button") self.Open_Image_Button.setGeometry(QRect(90, 660, 401, 81)) self.scrollArea = QScrollArea(Dialog_3) 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_3) 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.lineEdit_2 = QLineEdit(Dialog_3) self.lineEdit_2.setObjectName(u"lineEdit_2") self.lineEdit_2.setGeometry(QRect(550, 710, 301, 41)) self.lineEdit_2.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.lineEdit_2.setAlignment(Qt.AlignCenter) self.retranslateUi(Dialog_3) QMetaObject.connectSlotsByName(Dialog_3)
# setupUi
[docs] def retranslateUi(self, Dialog_3): Dialog_3.setWindowTitle(QCoreApplication.translate("Dialog_3", u"Dialog", None)) self.lineEdit.setText("") self.lineEdit.setPlaceholderText(QCoreApplication.translate("Dialog_3", u"Enter Lower Limit...", None)) self.label_5.setText("") self.Save_As.setText(QCoreApplication.translate("Dialog_3", u"Save As", None)) self.label_2.setText("") self.Open_Image_Button.setText(QCoreApplication.translate("Dialog_3", u"Open Image", None)) self.label.setText("") self.label_3.setText(QCoreApplication.translate("Dialog_3", u"=>", None)) self.lineEdit_2.setText("") self.lineEdit_2.setPlaceholderText(QCoreApplication.translate("Dialog_3", u"Enter Upper Limit...", None))
# retranslateUi