[PyQt] SqlAlchemy as a Model

2008-10-05 Thread Mateyuzo
Hello all, I am new to PyQt and Qt for that matter. After starting into the Rad PyQt book and skipping around a bit I don't have a clear picture. Is it possible to directly use SqlAlchemy as a model or must I implement a custom QAbstractTableModel? I am moving a Cocoa-Python application to Py

[PyQt] ANN: new eric4 4.3.0 snapshot available

2008-10-05 Thread Detlev Offenbach
Hi, a new snapshot of the eric 4.3 development is available via http://www.die-offenbachs.de/eric/snapshots4. Here is the changelog. - bug fixes - added a dialog to replace in files (Ctrl+Shift+R) - reenabled the support for KDE dialogs - added editor context menu entry to toggle the typing aids

Re: [PyQt] Re: Internationalization and PyQt

2008-10-05 Thread Giovanni Bajo
On dom, 2008-10-05 at 18:19 +0200, Thorsten Kampe wrote: > * Giovanni Bajo (Sun, 05 Oct 2008 12:46:15 +0200) > > On sab, 2008-10-04 at 20:31 +0200, Thorsten Kampe wrote: > > > So why does my code (that does not query the locale and choose the > > > right tranlation file according to the locale) wor

Re: [PyQt] Registering meta objects

2008-10-05 Thread Phil Thompson
On Sun, 5 Oct 2008 18:03:02 +0200, Stefan Stammberger <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to register QVec3f for use with QVariants. According to an > older > discussion it is not possible. But since then over a year has passed. > > http://thread.gmane.org/gmane.comp.python.pyqt-py

[PyQt] Re: Internationalization and PyQt

2008-10-05 Thread Thorsten Kampe
* Giovanni Bajo (Sun, 05 Oct 2008 12:46:15 +0200) > On sab, 2008-10-04 at 20:31 +0200, Thorsten Kampe wrote: > > So why does my code (that does not query the locale and choose the > > right tranlation file according to the locale) work? > > Why it should not? QTranslator.load() takes care of embed

[PyQt] Re: Internationalization and PyQt

2008-10-05 Thread Thorsten Kampe
* Giovanni Bajo (Sun, 05 Oct 2008 12:46:15 +0200) > On sab, 2008-10-04 at 20:31 +0200, Thorsten Kampe wrote: > > So why does my code (that does not query the locale and choose the > > right tranlation file according to the locale) work? > > Why it should not? QTranslator.load() takes care of embed

[PyQt] Registering meta objects

2008-10-05 Thread Stefan Stammberger
Hi, I would like to register QVec3f for use with QVariants. According to an older discussion it is not possible. But since then over a year has passed. http://thread.gmane.org/gmane.comp.python.pyqt-pykde/8474/focus=8481 Has support for this been added since then? Regards, Stefan _

Re: [PyQt] QDesktopServices::setUrlHandler does not have the right types

2008-10-05 Thread Phil Thompson
On Wed, 1 Oct 2008 17:58:38 -0700, "Erick Tryzelaar" <[EMAIL PROTECTED]> wrote: > We ran into some trouble trying to get QDesktopServices::setUrlHandler > and we tracked it down to a problem in pyqt4. setUrlHandler's source > ultimately calls invokeMethod, which we managed to get to work in > pytho

Re: [PyQt] PyQt4 and Python 3.0

2008-10-05 Thread Phil Thompson
On Sun, 05 Oct 2008 14:11:45 +0200, Simon Edwards <[EMAIL PROTECTED]> wrote: > Hello, > > Phil Thompson wrote: >> Major transitions (Qt3 => Qt4, Python2 => Python3) should be considered >> as >> opportunities for rewrites. They should not be treated as "how can I get >> from one to the other with

Re: [PyQt] PyQt4 and Python 3.0

2008-10-05 Thread Simon Edwards
Hello, Phil Thompson wrote: Major transitions (Qt3 => Qt4, Python2 => Python3) should be considered as opportunities for rewrites. They should not be treated as "how can I get from one to the other with as few changes as possible". I thought the way the Python guys handled Python 3 was very go

[PyQt] ANN: eric4 4.2.2 available

2008-10-05 Thread Detlev Offenbach
Hi, a bug fix release of the stable eric4 line is available on http://www.die-offenbachs.de/eric4. Regards, Detlev -- Detlev Offenbach [EMAIL PROTECTED] ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/lis

Re: [PyQt] Internationalization and PyQt

2008-10-05 Thread Giovanni Bajo
On sab, 2008-10-04 at 20:31 +0200, Thorsten Kampe wrote: > So why does my code (that does not query the locale and choose the > right tranlation file according to the locale) work? Why it should not? QTranslator.load() takes care of embedding the locale name into the filename by itself (see the d