Hello!
I made a program using PyQt5. The main problem however is trying to get the program to read a user input in the Qlineedit widget
my goal is to transfer the user input of the Qlinedit to a variable or a database (something.db file) via confirmation button like in a registration form or such.
I don't exactly know how to get to make a program that can read the user input from QlineEdit and transfer that said input to a variable or a database. Please help! A snippet of my code below:
I made a program using PyQt5. The main problem however is trying to get the program to read a user input in the Qlineedit widget
my goal is to transfer the user input of the Qlinedit to a variable or a database (something.db file) via confirmation button like in a registration form or such.
I don't exactly know how to get to make a program that can read the user input from QlineEdit and transfer that said input to a variable or a database. Please help! A snippet of my code below:
self.lineEdit = QtWidgets.QLineEdit(self.centralwidget) self.lineEdit.setGeometry(QtCore.QRect(260, 310, 241, 31)) self.lineEdit.setObjectName("lineEdit") self.lineEdit_2 = QtWidgets.QLineEdit(self.centralwidget) self.lineEdit_2.setGeometry(QtCore.QRect(260, 340, 241, 31)) self.lineEdit_2.setObjectName("lineEdit_2") self.lineEdit_2.setEchoMode(QtWidgets.QLineEdit.Password)thanks in advance!!