From: Gökmen GÖKSEL (gokmen@nowa.gen.tr)
Date: Tue 10 Apr 2007 - 14:50:12 EEST
10 Nis 2007 Sal tarihinde, Ahmet Emre Aladað þunlarý yazmýþtý:
> 2007/4/10, Ahmet Emre Aladað <aladagemre@gmail.com>:
> > from kdecore import KCmdLineArgs, KApplication
> > from kdeui import *
> > from kfile import *
> > from qt import *
> > from form1 import *
> > from about import about
> > import sys
> >
> > app = QApplication(sys.argv)
> > f = Form1()
> > app.setMainWidget(f)
> > f.show()
> > app.exec_loop()
Ýçindeki KDE Componentleri sayesinde bu artýk bir QApplication deðil bu
yüzden;
app = KApplication(sys.argv,"Name of the App")
ve app.exec_loop() deðil f.exec_loop() olmalý ;)
header a da "from kdecore import *" eklemek gerek ;)
-- Gökmen GÖKSEL _______________________________________________ Linux-programlama mailing list Linux-programlama@liste.linux.org.tr http://liste.linux.org.tr/mailman/listinfo/linux-programlama