Python / UI and Layouts / Textbox
Text Box
-
Step 1:
QLineEdit() Create text box
self.textbox = QLineEdit(self) self.textbox.move(20, 20) self.textbox.resize(280,40) Read textbox value
textboxValue = self.textbox.text() Set value
self.textbox.setText("")