|
| 1 | +# Form implementation generated from reading ui file 'c:\Users\MD. SHAMIM\Documents\GitHub\Python-GUI-PyQt6\Section-04\InsertingDataDatabaes.ui' |
| 2 | +# |
| 3 | +# Created by: PyQt6 UI code generator 6.4.2 |
| 4 | +# |
| 5 | +# WARNING: Any manual changes made to this file will be lost when pyuic6 is |
| 6 | +# run again. Do not edit this file unless you know what you are doing. |
| 7 | + |
| 8 | + |
| 9 | +from PyQt6 import QtCore, QtGui, QtWidgets |
| 10 | + |
| 11 | + |
| 12 | +class Ui_Form(object): |
| 13 | + def setupUi(self, Form): |
| 14 | + Form.setObjectName("Form") |
| 15 | + Form.resize(500, 250) |
| 16 | + self.verticalLayout = QtWidgets.QVBoxLayout(Form) |
| 17 | + self.verticalLayout.setObjectName("verticalLayout") |
| 18 | + self.label_3 = QtWidgets.QLabel(parent=Form) |
| 19 | + font = QtGui.QFont() |
| 20 | + font.setPointSize(12) |
| 21 | + font.setBold(True) |
| 22 | + self.label_3.setFont(font) |
| 23 | + self.label_3.setObjectName("label_3") |
| 24 | + self.verticalLayout.addWidget(self.label_3) |
| 25 | + spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding) |
| 26 | + self.verticalLayout.addItem(spacerItem) |
| 27 | + self.horizontalLayout = QtWidgets.QHBoxLayout() |
| 28 | + self.horizontalLayout.setObjectName("horizontalLayout") |
| 29 | + self.label = QtWidgets.QLabel(parent=Form) |
| 30 | + font = QtGui.QFont() |
| 31 | + font.setBold(True) |
| 32 | + self.label.setFont(font) |
| 33 | + self.label.setObjectName("label") |
| 34 | + self.horizontalLayout.addWidget(self.label) |
| 35 | + self.lineEdit_username = QtWidgets.QLineEdit(parent=Form) |
| 36 | + self.lineEdit_username.setObjectName("lineEdit_username") |
| 37 | + self.horizontalLayout.addWidget(self.lineEdit_username) |
| 38 | + self.verticalLayout.addLayout(self.horizontalLayout) |
| 39 | + spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding) |
| 40 | + self.verticalLayout.addItem(spacerItem1) |
| 41 | + self.horizontalLayout_2 = QtWidgets.QHBoxLayout() |
| 42 | + self.horizontalLayout_2.setObjectName("horizontalLayout_2") |
| 43 | + self.label_2 = QtWidgets.QLabel(parent=Form) |
| 44 | + font = QtGui.QFont() |
| 45 | + font.setBold(True) |
| 46 | + self.label_2.setFont(font) |
| 47 | + self.label_2.setObjectName("label_2") |
| 48 | + self.horizontalLayout_2.addWidget(self.label_2) |
| 49 | + self.lineEdit_password = QtWidgets.QLineEdit(parent=Form) |
| 50 | + self.lineEdit_password.setEchoMode(QtWidgets.QLineEdit.EchoMode.Password) |
| 51 | + self.lineEdit_password.setObjectName("lineEdit_password") |
| 52 | + self.horizontalLayout_2.addWidget(self.lineEdit_password) |
| 53 | + self.verticalLayout.addLayout(self.horizontalLayout_2) |
| 54 | + spacerItem2 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding) |
| 55 | + self.verticalLayout.addItem(spacerItem2) |
| 56 | + self.pushButton_insert = QtWidgets.QPushButton(parent=Form) |
| 57 | + font = QtGui.QFont() |
| 58 | + font.setPointSize(10) |
| 59 | + font.setBold(True) |
| 60 | + self.pushButton_insert.setFont(font) |
| 61 | + self.pushButton_insert.setObjectName("pushButton_insert") |
| 62 | + self.verticalLayout.addWidget(self.pushButton_insert) |
| 63 | + self.label_result = QtWidgets.QLabel(parent=Form) |
| 64 | + font = QtGui.QFont() |
| 65 | + font.setBold(True) |
| 66 | + self.label_result.setFont(font) |
| 67 | + self.label_result.setText("") |
| 68 | + self.label_result.setObjectName("label_result") |
| 69 | + self.verticalLayout.addWidget(self.label_result) |
| 70 | + |
| 71 | + self.retranslateUi(Form) |
| 72 | + QtCore.QMetaObject.connectSlotsByName(Form) |
| 73 | + |
| 74 | + def retranslateUi(self, Form): |
| 75 | + _translate = QtCore.QCoreApplication.translate |
| 76 | + Form.setWindowTitle(_translate("Form", "Form")) |
| 77 | + self.label_3.setText(_translate("Form", "Inserting Data to MySQL Database")) |
| 78 | + self.label.setText(_translate("Form", "Username:")) |
| 79 | + self.label_2.setText(_translate("Form", "Password: ")) |
| 80 | + self.pushButton_insert.setText(_translate("Form", "Insert Data")) |
0 commit comments