Add a QT Desgner form and how to use it ?
When I do this, QT creates only the ui file.
To use it , must I write the h a cpp files by hand ? Any tool can do it by me ?
I dont understand the QT comment
Creates a Qt designer form.... This is useful if you already have an existing class for the UI business logic
Is there any way to use it in a fast and direct way ?
Thanks
Re: Add a QT Desgner form and how to use it ?
What about reading the designer manual. It will tell you everything. or just use "create designer formula class" or something like that in the new menu.
Re: Add a QT Desgner form and how to use it ?
I have read this manual
Mi ask is about the work to do ...
In case of use a QT Desgner form (not the complete 'designer form class') you have the ui, QT makes the h for the form and later if you want to use it ....
Should not be a tool that would create the class ? I dont think that is does not exist .
Everyone will want to use it, it does not take sense to do 'by hand' , isn't it ?
Re: Add a QT Desgner form and how to use it ?
Well adding 4 lines isn't so much work. And then you have different approaches on how to implement your form. And to answer the question direct: there is no such a tool.
I also can hardly think of a scenario where you just build a ui and decide later on to use it with a class. Normally that decision is made before.
Re: Add a QT Desgner form and how to use it ?
Yes, your right. But anybody (QT-Nokia) can automatize it. It does not write 4 lines, it is open 2 other files (h and cpp) and write all correct (In my opinion is a unneccesary origin of possible errors). But .. Ok, nothing to say.
For little dialogs may be interesting to use QUiLoader ?
And, My qt says me QUiLoader not found ????
Thanks
Re: Add a QT Desgner form and how to use it ?
you need to add to your pro file.
Re: Add a QT Desgner form and how to use it ?
thank you very much (And for your patience..)