41 lines
1.9 KiB
Python
41 lines
1.9 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file 'src/resources/_ui/lineedit_dialog.ui'
|
|
#
|
|
# Created by: PyQt5 UI code generator 5.15.7
|
|
#
|
|
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
|
|
# run again. Do not edit this file unless you know what you are doing.
|
|
|
|
|
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
|
|
|
|
|
class Ui_LineEdit_Dialog(object):
|
|
def setupUi(self, LineEdit_Dialog):
|
|
LineEdit_Dialog.setObjectName("LineEdit_Dialog")
|
|
LineEdit_Dialog.resize(400, 84)
|
|
self.formLayout = QtWidgets.QFormLayout(LineEdit_Dialog)
|
|
self.formLayout.setFieldGrowthPolicy(QtWidgets.QFormLayout.ExpandingFieldsGrow)
|
|
self.formLayout.setObjectName("formLayout")
|
|
self.label = QtWidgets.QLabel(LineEdit_Dialog)
|
|
self.label.setObjectName("label")
|
|
self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label)
|
|
self.new_string = QtWidgets.QLineEdit(LineEdit_Dialog)
|
|
self.new_string.setObjectName("new_string")
|
|
self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.new_string)
|
|
self.buttonBox = QtWidgets.QDialogButtonBox(LineEdit_Dialog)
|
|
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
|
|
self.buttonBox.setObjectName("buttonBox")
|
|
self.formLayout.setWidget(1, QtWidgets.QFormLayout.SpanningRole, self.buttonBox)
|
|
|
|
self.retranslateUi(LineEdit_Dialog)
|
|
self.buttonBox.accepted.connect(LineEdit_Dialog.accept) # type: ignore
|
|
self.buttonBox.rejected.connect(LineEdit_Dialog.reject) # type: ignore
|
|
QtCore.QMetaObject.connectSlotsByName(LineEdit_Dialog)
|
|
|
|
def retranslateUi(self, LineEdit_Dialog):
|
|
_translate = QtCore.QCoreApplication.translate
|
|
LineEdit_Dialog.setWindowTitle(_translate("LineEdit_Dialog", "Dialog"))
|
|
self.label.setText(_translate("LineEdit_Dialog", "Label"))
|