Hi,
How can I add an element to any view at runtime?
for example, when some signal is fired, the application should add a rectangle to a specific row.
Thanks,
Hi,
How can I add an element to any view at runtime?
for example, when some signal is fired, the application should add a rectangle to a specific row.
Thanks,
How about using a Loader element ?
-CarlosDL
also, you can have your element present, only not visible, using the opacity property.
Previous suggestions are good but if you need to create the elements dynamically the Qt Samegame tutorial has a good example, look at the createBlock function of the first code snippet of this: http://doc.qt.nokia.com/4.7-snapshot...samegame2.html