KDlgLoader
Roberto Alsina
ralsina at unl.edu.ar
Tue Jun 22 16:14:11 BST 1999
Hello, I am using Kdevelop 0.4 (neat program!) and have a weird problem.
Ok, it's probably because I don't know what I'm doing but:
I am atrying to load a dialog dynamically. I liked the KDlgLoader class
statically into my program, to make distribution easier (but that is not
the problem).
What happens is that when I do this:
QDialog *d=new QDialog(0,0,true);
QString path=(KApplication::kde_datadir()+"/newkrn/dialogs/serverprop.kdevdlg");
KDlgLoader *l=new KDlgLoader(d);
l->openDialog(path);
int res=d->exec();
I get first an empty dialog. After I close it, I get the real one.
Any ideas?
("\''/").__..-''"`-. . Roberto Alsina
`9_ 9 ) `-. ( ).`-._.`) ralsina at unl.edu.ar
(_Y_.)' ._ ) `._`. " -.-' Centro de Telematica
_..`-'_..-_/ /-'_.' Universidad Nacional del Litoral
(l)-'' ((i).' ((!.' Santa Fe - Argentina
KDE Developer (MFCH)
An opinion you can't give reasons for is not an opinion worth having (I)
More information about the KDevelop
mailing list