[PyQt] Python Dict and QAbstractItemModel

2012-04-24 Thread Kermit
hi all, i've a lot of difficulty for browser a standard python dictionnary withing a TreeListView, with QAbstracItemModel as model dictionnary isn't indexable, not trivial to find parent, etc... someone have try it or have an simple implementation example ? Thx for your hel

[PyQt] staticMetaObject

2012-03-29 Thread Kermit
? Thx for your help Kermit """ from PyQt4 import QtCore class MetaKlass(QtCore.pyqtWrapperType): def __new__(meta_cls, name, bases, cls_dict): cls = QtCore.pyqtWrapperType.__new__(meta_cls, name, bases, cls_dict) try: meta = cls.staticMetaObject

[PyQt] pyqtSlot

2012-03-09 Thread Kermit
hi all, i can't find solution for discover decorate slot function ( vs classic function ) in pyQt it's possible ? Kermit ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] [dip] underlying C/C++ object

2012-01-04 Thread Kermit
the configure function of the object_adapter ? with magic function pyqtConfigure ? try: obj.pyqtConfigure(**properties) except AttributeError: pass or i'm not on the right path thx for your help, i can clarify my answer if need it Kermit __

[PyQt] [SIP] import Failed with Debug module

2011-04-27 Thread Kermit
problem ? another test to do ? thx Kermit ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] [SIP] operator * Error

2011-04-20 Thread Kermit
(float a, const Vec3 &v); the syntaxe is near .. Thx for your help Kermit ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] [DIP] Dip-builder Error

2011-02-22 Thread Kermit
Hi, i've this error when i try to launch "Create Application Script" " unhandled AttributeError 'TableColumn' object has not attribut '_bind_to' it's in table_column.py, line 60 : if self._bind_to == '':

[PyQt] [SIP] sip and template

2011-02-11 Thread Kermit
code, i've "sip: TYPE is undefined" error message i read qlist.sip, but i understand is a converion between a QList in C++ and python list in my case, i want a v2f, v2d python object thx for your help Kermit ___ PyQt mailing listPyQt@

[PyQt] [SIP] compilation error with namespace

2011-02-06 Thread Kermit
27;Vec2' .\sipVec2Vec2.cpp(152) : error C2065: 'sipCpp' : undeclared identifier .\sipVec2Vec2.cpp(152) : error C2227: left of '->y' must point to class/struct/union/generic type type is ''unknown-type'' .\sipVec2Vec2.cp

[PyQt] MySQL plugins PyQt v4.6.1

2009-10-24 Thread Stef . kermit
t;) model.select() return False and the "lastError().text() " give me : Using unsupported buffer type: 253 (parameter: 3) QMYSQL3: Unable to bind outvalues all my code is the same, only update PyQt and replace libmysql.dll thx for help Kermit __

Re: [PyQt] How can I promote some custom widgets in qt-designer?

2009-10-10 Thread Kermit Mei
On Sat, 2009-10-10 at 06:47 -0700, Giorgio Luciano wrote: > have a look here for a wonderful tutorial > http://lateral.netmanagers.com.ar/stories/BBS51.html > by the way you just put the name of the file of your custom widget, very > easy :) > Giorgio Oh,Yep. Thank you,very mu

[PyQt] How can I promote some custom widgets in qt-designer?

2009-10-10 Thread Kermit Mei
esigner? How to pointed the "Header file" item? Thanks Kermit Mei ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

pyqt@riverbankcomputing.com

2009-08-06 Thread Kermit
rop reaction in designer, in preview mode , with a QListWidget if i have a tip or tricks thx all Kermit ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] isColumnHidden problem

2009-07-23 Thread Kermit
parent = None): print "debut init SocieteTree" QTreeView.__init__(self, parent) self.setObjectName("SocieteListing") where is my mistake ? thx for your help Kermit ___ PyQt mailing listPyQt@riverbankcomput

[PyQt] Write BIG QString

2009-05-18 Thread Kermit
little texte file ( 4Mo ) nut with final file ( 60 Mo), the file is create but not write finction return -1 and the file is 0 Ko thx for your help Kermit ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQT] QDomNode and toString()

2008-06-18 Thread Kermit
hi all, new in pyQT, i've little problem i've an error with QDomNode.toString() function how i can print all document or a part of document to a buffer for file or network transfert thx for help Kermit ___ PyQt mailing li

Re: [PyQt] mem error in windows

2008-03-06 Thread Kermit
hi, try this for connection db= QSqlDatabase.addDatabase("QODBC") connectionString = "DRIVER={SQL Server};SERVER=localhost;UID=myuser;PWD= mypassw;DATABASE=dnsMySQL;" db.setDatabaseName(connectionString) if not db.open(): print db.lastError().text()

[pyQT] pyQt and Xml

2007-10-08 Thread Kermit
hi, i'm new in xml and PyQt, i know a little QT better use xml python package, or pyqt xml dom parser ??? i think is depend on my production which element can determine my choise ? thx for your help i need just global information, for precise my google research K

[PyQt] Disconnect SLOT

2007-09-10 Thread Kermit
eadyRead ) TypeError: disconnect() takes exactly 1 argument (4 given) i use PyQt Py2.5 and QT 4.2 thx for your help Kermit ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt