Did you come across QObject::objectName ???
You can directly call this function from any widget..
Did you come across QObject::objectName ???
You can directly call this function from any widget..
also take look at the other QObject and QMetaObject (you can get meta object by QObject::metaObject() methods. Some might be useful to get through the complex widget which structure you don't know:
- inherits()
- findChild()
- findChildren()
- etc
QMetaObject:
- className()
- classInfo()
- etc
I would like to be a "Guru"
Useful hints (try them before asking):
- Use Qt Assistant
- Search the forum
If you haven't found solution yet then create new topic with smart question.
Bookmarks