50 lines
2.1 KiB
Python
50 lines
2.1 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file 'ui/dlg_SearchDatabase.ui'
|
|
#
|
|
# Created by: PyQt5 UI code generator 5.15.2
|
|
#
|
|
# 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_Dialog(object):
|
|
def setupUi(self, Dialog):
|
|
Dialog.setObjectName("Dialog")
|
|
Dialog.resize(383, 272)
|
|
self.gridLayout_2 = QtWidgets.QGridLayout(Dialog)
|
|
self.gridLayout_2.setObjectName("gridLayout_2")
|
|
self.verticalLayout = QtWidgets.QVBoxLayout()
|
|
self.verticalLayout.setObjectName("verticalLayout")
|
|
self.gridLayout = QtWidgets.QGridLayout()
|
|
self.gridLayout.setObjectName("gridLayout")
|
|
self.label = QtWidgets.QLabel(Dialog)
|
|
self.label.setObjectName("label")
|
|
self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
|
|
self.lineEdit = QtWidgets.QLineEdit(Dialog)
|
|
self.lineEdit.setObjectName("lineEdit")
|
|
self.gridLayout.addWidget(self.lineEdit, 0, 1, 1, 1)
|
|
self.verticalLayout.addLayout(self.gridLayout)
|
|
self.listWidget = QtWidgets.QListWidget(Dialog)
|
|
self.listWidget.setObjectName("listWidget")
|
|
self.verticalLayout.addWidget(self.listWidget)
|
|
self.buttonBox = QtWidgets.QDialogButtonBox(Dialog)
|
|
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
|
|
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
|
|
self.buttonBox.setObjectName("buttonBox")
|
|
self.verticalLayout.addWidget(self.buttonBox)
|
|
self.gridLayout_2.addLayout(self.verticalLayout, 0, 0, 1, 1)
|
|
|
|
self.retranslateUi(Dialog)
|
|
self.buttonBox.accepted.connect(Dialog.accept)
|
|
self.buttonBox.rejected.connect(Dialog.reject)
|
|
QtCore.QMetaObject.connectSlotsByName(Dialog)
|
|
|
|
def retranslateUi(self, Dialog):
|
|
_translate = QtCore.QCoreApplication.translate
|
|
Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
|
|
self.label.setText(_translate("Dialog", "Title:"))
|