Write some code generator![]()
Write some code generator![]()
I would design each tab individually and then add their instances to the tab widget in code.
The tab widget itself in its window can of course be a made in designer as well.
Cheers,
_
Hi anda_skoa,
According to you i have to create each 25-30 tabs individually in designer and then create its instance according to the option selection?
OR does a dynamic code generator as west said will work??
If i use Qt Designer then i have to drag each 400 input elements and its labels etc, will be time consuming.
i just don't want to spend more time in dragging and dropping. May be what you have said would be the right answer but if there is any other solution then it will be the pain killer of my current project.
![]()
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
You didn't give any indication on what these tabs will look like.
If they are just contain repetitions of the same element, then this can easily be done in code.
Otherwise they are normal widgets and can be created in designer, but you can always also code them.
Cheers,
_
karankumar1609 (13th August 2014)
Thanks anda_skoa for your reply.
Actually all the widgets are different ai i decide to create all widgets dynamically..![]()
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
Bookmarks