...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
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:
>
> # --
>
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.
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
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
___
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
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
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:
> > >
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