Using Qt Designer file inside KDevelop project.

Harald Fernengel harry at
Tue Oct 8 12:50:06 UTC 2002


On Tuesday 08 October 2002 12:33, Helen Muller wrote:
> I am working on a GUI application under KDE3/Qt environment for a few
> weeks. However, I'm still a beginer.  In my applicaiton, a simple function
> doesn't work. :(  I want to click a button, then popup a dialog window.
> I've built the dialog window file using Qt designer, and integrated it into
> KDE Project. In the slot by connecting the "click button" signal, I wrote
> code:
> creatddlg mydlg;
> createdlg is the baseclass name of the dialog. But it didn't be actived
> when I launch the application. Anyone can kindly give me a clue or advice?
> Thanks heaps! will just show the dialog but return immediately to the app. If 
you want a modal dialog, call mydlg.exec(). Also, you should give it a parent 
so that the dialog appears in front of your main window.

creatddlg mydlg( this, "my dialog", true );

Best regards,

More information about the KDevelop-devel mailing list