Re: [PyQt] New Example for Advanced TreeViews

2011-03-05 Thread Entity Reborn
Ok, I've cleaned it up and changed a few things. Moved test.py into the main file for access as well. On Sat, Mar 5, 2011 at 3:49 PM, Entity Reborn wrote: > Hackish, it is a little in spots. > > As far as the radio items not working for you, I'm using python 3.2, > and the latest stable PyQt4 dow

Re: [PyQt] New Example for Advanced TreeViews

2011-03-05 Thread Entity Reborn
Hackish, it is a little in spots. As far as the radio items not working for you, I'm using python 3.2, and the latest stable PyQt4 downloaded from the site this morning (4.8.3-1), on windows xp. IIRC, you mentioned this not working earlier as well, yet several people I sent the code to didn't have

Re: [PyQt] New Example for Advanced TreeViews

2011-03-05 Thread Hans-Peter Jansen
On Saturday 05 March 2011, 23:50:18 Entity Reborn wrote: > Sorry, small untested bug introduced just before I sent that. > > On Sat, Mar 5, 2011 at 2:47 PM, Entity Reborn wrote: > > I'd like to submit these two files as an advanced example for > > manipulation of treeviews. > > This example demons

Re: [PyQt] New Example for Advanced TreeViews

2011-03-05 Thread Entity Reborn
Sorry, small untested bug introduced just before I sent that. On Sat, Mar 5, 2011 at 2:47 PM, Entity Reborn wrote: > I'd like to submit these two files as an advanced example for manipulation > of treeviews. > This example demonstrates how to override the default drawn decoration for > checkboxed

[PyQt] New Example for Advanced TreeViews

2011-03-05 Thread Entity Reborn
I'd like to submit these two files as an advanced example for manipulation of treeviews. This example demonstrates how to override the default drawn decoration for checkboxed items (replacing it with a radiobutton decal) as well as the accomanying logic, as well as a few other extras I've thrown in

Re: [PyQt] Having trouble emitting and connecting SIGNALS

2011-03-05 Thread Hans-Peter Jansen
On Saturday 05 March 2011, 21:20:49 Entity Reborn wrote: > For some reason, with this code, I cannot get newitemfunc called. > > > from PyQt4 import QtCore, QtGui > > > > import sys > > > >> def newitemfunc(parentitem, newitem): > > > > print("newitem") > > > >> class class1(QtCore.QObject): >

Re: [PyQt] Having trouble emitting and connecting SIGNALS

2011-03-05 Thread Entity Reborn
Gah, I figured it out. Noob error. On Sat, Mar 5, 2011 at 12:20 PM, Entity Reborn wrote: > For some reason, with this code, I cannot get newitemfunc called. > >> from PyQt4 import QtCore, QtGui >> >> import sys >> >> >>> def newitemfunc(parentitem, newitem): >> >> print("newitem") >> >> >>>

[PyQt] Having trouble emitting and connecting SIGNALS

2011-03-05 Thread Entity Reborn
For some reason, with this code, I cannot get newitemfunc called. > from PyQt4 import QtCore, QtGui > > import sys > > >> def newitemfunc(parentitem, newitem): > > print("newitem") > > >> class class1(QtCore.QObject): > > pass > > >> class class2(QtCore.QAbstractItemModel): > > def te

Re: [PyQt] libpythonplugin.so not built on PyQt-x11-gpl-4.7.3

2011-03-05 Thread Hans-Peter Jansen
On Saturday 05 March 2011, 12:10:39 Carl Wolff wrote: > Hello, > > when I build PyQt stuff everything works fine, I can make PyQt GUI's > with help of Qt and PyQt. > > But I cannot make custom plugins, I found that for some reason > libpythonplugin.so is not built. What do I wrong? Either search y

[PyQt] libpythonplugin.so not built on PyQt-x11-gpl-4.7.3

2011-03-05 Thread Carl Wolff
Hello,when I build PyQt stuff everything works fine, I can make PyQt GUI's with help of Qt and PyQt.But I cannot make custom plugins, I found that for some reason libpythonplugin.so is not built. What do I wrong?Thanks in advanceCarl.-Carl WolffConsultantTel, 033-454Mob: 06-53469668www.imtech.n

Re: [PyQt] Failure to compile PyQt4 Python3.2

2011-03-05 Thread Algis Kabaila
On Saturday 05 March 2011 13:48:18 Algis Kabaila wrote: > On Friday 04 March 2011 20:04:31 Phil Thompson wrote: > > On Fri, 4 Mar 2011 15:16:56 +1100, Algis Kabaila snip... > > Will report what transpires to the list. > > Once again, many thanks for Phil for his generosity and > consistent work