You are not logged in.
Hello.
Which signal do you use to print value in QT (In QT Designer)?
I'm writing GUI for my calculator right now and I don't know how to print result of action in GUI
Thanks for help
Last edited by SpeedVin (2009-10-25 12:12:56)
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
Not sure what you are asking, but try looking at: http://doc.trolltech.com/4.5/designer-c … rform.html
Offline
Not sure what you are asking, but try looking at: http://doc.trolltech.com/4.5/designer-c … rform.html
Yes that was what I mean , but the diffrence between my program and this from tourtial is that I can change in my program the sign of action and I want to write this in Python
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
Ah ok, well depending on what type of input box you have they have different signals, QLineEdit has void textChanged ( const QString & text ) which is probably what you are looking for if you want to have a more complex calculator. (or void QTextEdit::textChanged () if you are getting REALLY complex)
Offline
Ah ok, well depending on what type of input box you have they have different signals, QLineEdit has void textChanged ( const QString & text ) which is probably what you are looking for if you want to have a more complex calculator. (or void QTextEdit::textChanged () if you are getting REALLY complex)
Ok thanks that's working fine
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline