Hi,
Can i have array of QLabel?
if it possible means pls give me the syntax to that one
Bye
Printable View
Hi,
Can i have array of QLabel?
if it possible means pls give me the syntax to that one
Bye
You can have an array of pointers to QLabel.
Code:
QList<QLabel*> array;
Hi,
In case i have a array of QLabel ,then how do add the text within it ?
Bye..
If you know how many Label you need and are not too I think is a better idea use a vector instead of a List.
In that case see this http://www.qtcentre.org/forum/p-qlab...ostcount3.html
Get used to QList and the other Qt classes - they are very convenient and you never will have size problems like with arrays in the post above