How to change value of a Line edit dynamically
-
I'n new in python and QT4, so I want some help.
I create a form in QT4 and compile with pyuic4. it create an form.py
I want to modify the value of the line edit dynamiclly with code. I put this code in the form.py but never happen:
in @def retranslateUi(self, Dialog):@
I put:@self.pointStartId.setText(QtGui.QApplication.translate("Dialog", "example", None, QtGui.QApplication.UnicodeUTF8))@
how can I do that?
-
Hi and welcome to devnet,
Please put your code between code tags to make it easier to read.
You don't share enough of your code to actually allow us to help you. We don't know where you call that line or where to you initialize everything etc...
As a side not it' Qt, QT stands for Apple QuickTime :)