PDA

View Full Version : empty dialog shown



marvin
17th November 2008, 05:59
hi,
i'm using qt creator, i made a new project with mainwindow (mainwindow.ui, mainwindow.h, mainwindow.cpp), then added a dialog called members.ui, source (members.cpp) and header (members.h) file, but when i want to show the dialog i get an empty dialog instead
here are sources i consider relevant:
2693
2694
2695
I'm new to Qt so it might be something trivial...

Thank you.

EDIT: attached files

Methedrine
17th November 2008, 07:12
You forgot telling your members dialog about the dialog's UI class. Check the auto-generated mainwindow.cpp/.h code (or even better: the documentation) for how its done.

wysota
17th November 2008, 07:43
Please attach files to your post using the attach feature of the forum instead of linking files from external sites.