hi,
I want to get the Object name of the control which has the current focus.
How to do that?
Printable View
hi,
I want to get the Object name of the control which has the current focus.
How to do that?
I need to use the object name which has current focus in a switch case.
I tried in many ways to use it.But not getting it properly.
Plz tell me how to use it.
In C++ you cannot use strings in switch case statement. What are you trying to do in the first place?
Hi,
Is there anything other than Object name to identify a control in qt.
Could you answer my question? What are you trying to do?
I have a list of QLineEdit widgets.
If i click and enter some data into a particular QLineEdit then some manipulations have to be done based on whichever control i click
You have to help us to help you. "Some manipulation" doesn't tell too much. Anyway, have you noticed that QLineEdit supports QValidator?