Answer the question
In order to leave comments, you need to log in
Qt. How to pass an argument to a slot other than a signal?
There is an object of the QLineEdit class and an object of the QTextBrowser class. Initially, I wanted to make the input line in the QLineEdit object displayed in caps in the TextBrowser. I more or less figured out the principles of signals and slots, but how to pass the signal argument to the slot, but redone? I tried to write my own slot, where the string is processed by the toUpper () method and displayed on the TextBrowser by the setText () method, but something does not work. Please explain what needs to be done?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question