Source code export from Qt Creator
Hello.
I want to create dialog in which several layouts could be loaded. Set layout of layouts are chosen by addLayout method. So the UI is not static.
My idea is to create general dialog and different layout to which parent is passed as a parameter.
But I want to create a UI using Creator. Can I receive a source could for UI created in Qt Creator? Or should I create it manually?
Re: Source code export from Qt Creator
One important thing while using the designer forms is that the forms can only be loaded on to QWidget (not QLayouts), so you will need to have a containter QWidget in each of the layouts, and load the ui into the container QWidgets using the setupUi(QWidget *).
Re: Source code export from Qt Creator
Thanks for your comment.
I've used word 'layout' not like type name) And how about source import from UI file or Qt Creator?
Added after 53 minutes:
Oh. I understood how to do it. Thanks again.