You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
2.3 KiB
Python

# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'dialogs/link_input_dialog/link_input_dialog.ui'
#
# Created by: PyQt5 UI code generator 5.15.6
#
# 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(396, 100)
self.verticalLayout = QtWidgets.QVBoxLayout(Dialog)
self.verticalLayout.setObjectName("verticalLayout")
self.input_frame = QtWidgets.QFrame(Dialog)
self.input_frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.input_frame.setFrameShadow(QtWidgets.QFrame.Raised)
self.input_frame.setObjectName("input_frame")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.input_frame)
self.horizontalLayout.setObjectName("horizontalLayout")
self.link_label = QtWidgets.QLabel(self.input_frame)
self.link_label.setObjectName("link_label")
self.horizontalLayout.addWidget(self.link_label)
self.link_line = QtWidgets.QLineEdit(self.input_frame)
self.link_line.setObjectName("link_line")
self.horizontalLayout.addWidget(self.link_line)
self.verticalLayout.addWidget(self.input_frame)
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.retranslateUi(Dialog)
self.buttonBox.accepted.connect(Dialog.accept) # type: ignore
self.buttonBox.rejected.connect(Dialog.reject) # type: ignore
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog):
_translate = QtCore.QCoreApplication.translate
Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
self.link_label.setText(_translate("Dialog", "Link:"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
Dialog = QtWidgets.QDialog()
ui = Ui_Dialog()
ui.setupUi(Dialog)
Dialog.show()
sys.exit(app.exec_())