Re: [PyQt] File Filtering using QFileSystemModel & QTreeView

2012-03-09 Thread JPolk
...looking at my old code,...I also do a ".setRootIndex"like so: libmodel1 = QtGui.QFileSystemModel() libmodel1.setFilter(QDir.AllDirs | QDir.NoDotAndDotDot | QDir.AllEntries) libmodel1.setNameFilters(filter) libmodel1.setNameFilterDisables(False) *libmodel1.setRootPath(QDir.rootPath() ) libmo

Re: [PyQt] File Filtering using QFileSystemModel & QTreeView

2012-03-09 Thread hosscomp
JPolk wrote > > hey guys, > I've read all the documentation and for the life of me, I can't find > the > solution to initiate simple file filtering (by extension) in > QFileSystemModel, > and/or using QDirModel / QDir... > > Here's my code: > > # -- >    

[PyQt] Support for Python v3.3

2012-03-09 Thread Phil Thompson
For those interested tonight's SIP and PyQt snapshots will have support for Python v3.3 - specifically the revised Unicode API which should result in faster Python/QString conversions. Phil ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.

Re: [PyQt] PyObject to QVariant and back

2012-03-09 Thread Phil Thompson
On Thu, 08 Mar 2012 08:35:30 +0100, Benjamin Kloster wrote: > Hi everyone, > since my use case is a rather long-winded description of my predicament, > first my question: > > Are there API functions of sip that I can use to convert a PyObject* to > a QVariant with the appropriate type and the o

Re: [PyQt] pyqtSlot

2012-03-09 Thread Phil Thompson
On Fri, 9 Mar 2012 13:48:06 +0100, Kermit wrote: > hi all, > > i can't find solution for discover decorate slot function ( vs classic > function ) in pyQt > > it's possible ? It's probably easiest to use the Qt introspection stuff (QMetaObject) for the slot that the decorator creates. Phil ___

[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

Re: [PyQt] Designer source

2012-03-09 Thread Andreas Pakulat
On 09.03.12 09:38:06, Hans-Peter Jansen wrote: > Am Thursday 08 March 2012 23:08:09 schrieb Andreas Pakulat: > > On 08.03.12 19:42:39, Detlev Offenbach wrote: > > > Am Donnerstag, 8. März 2012, 09:49:41 schrieb Andreas Pakulat: > > > > On 08.03.12 09:35:51, Andreas Pakulat wrote: > > > > > On 07.03

Re: [PyQt] Designer source

2012-03-09 Thread Henning Schröder
On Fri, Mar 9, 2012 at 8:38 AM, Hans-Peter Jansen wrote: > > Am Thursday 08 March 2012 23:08:09 schrieb Andreas Pakulat: > > On 08.03.12 19:42:39, Detlev Offenbach wrote: > > > Am Donnerstag, 8. März 2012, 09:49:41 schrieb Andreas Pakulat: > > > > On 08.03.12 09:35:51, Andreas Pakulat wrote: > > >

Re: [PyQt] Designer source

2012-03-09 Thread Hans-Peter Jansen
Am Thursday 08 March 2012 23:08:09 schrieb Andreas Pakulat: > On 08.03.12 19:42:39, Detlev Offenbach wrote: > > Am Donnerstag, 8. März 2012, 09:49:41 schrieb Andreas Pakulat: > > > On 08.03.12 09:35:51, Andreas Pakulat wrote: > > > > On 07.03.12 16:14:18, JPolk wrote: > > > > > ...'cause it would m