Hello
In my GUI I have 12 QLineEdit ,where the name I have given are below
le_ecu2uss1_time
le_ecu2uss2_time
----
----
le_ecu2uss12_time
I want to use the 12 lineEdit in Loop.
How to convert this name for the use in Loop.
Hello
In my GUI I have 12 QLineEdit ,where the name I have given are below
le_ecu2uss1_time
le_ecu2uss2_time
----
----
le_ecu2uss12_time
I want to use the 12 lineEdit in Loop.
How to convert this name for the use in Loop.
Simply : create QList<QLineEdit*> with pointers and :
1. If UI is created by program remeber addresses.
2. If UI is created by designer create list with QObject::findChildren.
Bookmarks