Linked Questions

Popular Questions

How to get text from a QLineEdit dynamically?

Asked by At

How could get String(Text) from QlineEdit?
I tried Like this. myArea.getList() function is get string value and check database with string value and return List

self.a = QLineEdit()
self.b = QlineEdit()

self.b = self.myArea.getList(str(self.a.textChanged.connect(self.textchanged)))

def textchanged(self, text):
    self.my_edit = text

Input text in a, then a changes. read a, check data by a, b's data created, Input text in b, read b, check data by b

First, I don't know how to get QLineEdit()'s value. print QLineEdit Text works but return String.

Related Questions