
Originally Posted by
SoulBlade
That works (well i guess it already 'was supposed to').
i tried to test it ;using the uic against a simple .ui file consisting of a Qmainwindow with a number of Qmenubars and items. When complied via uic, i get a header file with very long lines of code. ->possibly because it's converting from xml. -> i think i like hand-coding better.
Yes, Qt Designer produces unreadable huge code and hides many things from you.

Originally Posted by
SoulBlade
ui_Header File:
class Previewer : public QWidget, public Ui::Form
{
I believe it should be
Code:
class Previewer : public QWidget, private Ui::Form
To me multiple inheritance is preferable, but let's wait for an experts on this topic.