Each object created from ui file is a member of the UI, so you can access it directly though the pointer.
You already have the ui, so it's name won't change. All objects in ui files are assigned to a member of the generated class which is named after the objectName property. It's a global convention, so I'm pretty sure it'll stick. And if not, you can always access the object through its name.[EDIT:] The layout pointer which is generated in the CPP file is named "vboxLayout" and is public. So my new question is, is this name "vboxLayout" some "nomenclature" which i can be 100% sure will have the same name in future version of QT?
BTW. It's Qt, not QT. The latter is Apple technology.
Bookmarks