Quote Originally Posted by been_1990 View Post
I guess I just need to know how to to that in a for() loop.
Eem... what is the problem? You know how to use loops, right?

And what exactly is QObject, is it a general-purpose object for OOP?
No, there is no such thing in C++. QObject is a very specific class.

Does addChild() create a new object and can I acess it and change-add its value?
I don't see any "addChild()" method in QObject. But even if it was there, it would only establish a parent-child relationship between existing objects.

Can I give the child a name that can be acessed anywhere?
QObject::objectName()
I actually want to make several boxes across the screen and give each one several values, such as heigth, width, name, image and be able to receive events from them, ex: click , doubleclick , hover, etc.
You mean widgets? Then you need to read about layouts (QLayout and family) as well.