Re: [PyQt] Problem using promoted widgets with PyQt 4.4.2

2008-07-30 Thread Jan Ekholm
On Wednesday 30 July 2008 14:25:37 Jan Ekholm wrote: > On Wednesday 30 July 2008 13:47:55 Jan Ekholm wrote: > > > > I cut the window down to a minimal example that for me does not work. The > files are all attached and the code is also inline below. I assume I do > something silly, but for the lov

Re: [PyQt] PyKDE application crashes on exit

2008-07-30 Thread Benno Dielmann
On Thursday 31 July 2008 00:05:25 Jim Bublitz wrote: | On Wednesday 30 July 2008 12:56, Benno Dielmann wrote: | > Hi, | > | > This PyKDE4 application always crashes on exit: | > - | > import sys | > from PyQt4.QtCore import * | > from PyQt4.Qt

Re: [PyQt] PyKDE application crashes on exit

2008-07-30 Thread Jim Bublitz
On Wednesday 30 July 2008 12:56, Benno Dielmann wrote: > Hi, > > This PyKDE4 application always crashes on exit: > - > import sys > from PyQt4.QtCore import * > from PyQt4.QtGui import * > from PyKDE4.kdecore import ki18n, KAboutData, KCmdLine

Re: [PyQt] PyKDE4: installing pykdedocs fails

2008-07-30 Thread Simon Edwards
Hi, Benno Dielmann wrote: Hi, since the Kubuntu PyKDE4 packages don't contain the pykdedocs viewer, I tried to install it from the sources (PyKDE4-4.0.2-1.tar.bz2). Unfortunately, it fails: Install the python-qt4-dev package. It contains pyqtconfig. I don't know why they think it is a good

Re: [PyQt] PyKDE4 documentation?

2008-07-30 Thread Simon Edwards
Benno Dielmann wrote: Hi, http://techbase.kde.org/Development/Languages/Python/Using_PyKDE_4 says there are several tutorials on programming in PyKDE4. Where can they be found? There are some in the PyKDE docs themselves. I intend to put them up on techbase too. cheers, -- Simon Edwards

[PyQt] QTableWidget Data Paste Time

2008-07-30 Thread B Clowers
Greetings, I'm interested in incorporating a QTableWidget into one of my applications and would like to give it the functionality to cut, copy, and paste a user selection.  So far I've implemented the copy and paste actions to a functional level.  However, I often deal with very large arrays (e

[PyQt] PyKDE application crashes on exit

2008-07-30 Thread Benno Dielmann
Hi, This PyKDE4 application always crashes on exit: - import sys from PyQt4.QtCore import * from PyQt4.QtGui import * from PyKDE4.kdecore import ki18n, KAboutData, KCmdLineArgs from PyKDE4.kdeui import KApplication class Benup(QWidget):

Re: [PyQt] PyKDE4 documentation?

2008-07-30 Thread Jim Bublitz
On Wednesday 30 July 2008 02:41, Benno Dielmann wrote: > Hi, > > http://techbase.kde.org/Development/Languages/Python/Using_PyKDE_4 > > says there are several tutorials on programming in PyKDE4. Where can they > be found? They were in the PyKDE4 tarball in the tutorials/ directory. I think the onl

Re: [PyQt] Problem using promoted widgets with PyQt 4.4.2

2008-07-30 Thread Jan Ekholm
On Wednesday 30 July 2008 13:47:55 Jan Ekholm wrote: I cut the window down to a minimal example that for me does not work. The files are all attached and the code is also inline below. I assume I do something silly, but for the love of Darwin I can't figure it out. tags.py: import sys from P

Re: [PyQt] Problem using promoted widgets with PyQt 4.4.2

2008-07-30 Thread Phil Thompson
On Wed, 30 Jul 2008 13:47:55 +0300, Jan Ekholm <[EMAIL PROTECTED]> wrote: > > Hi, > > Yesterday I upgraded to PyQt 4.4.2 as such a package was available as a > part > of the Kubuntu packages for KDE 4.1. Didn't think too much about it, but > now > that I try to run my photo management app I get

[PyQt] Problem using promoted widgets with PyQt 4.4.2

2008-07-30 Thread Jan Ekholm
Hi, Yesterday I upgraded to PyQt 4.4.2 as such a package was available as a part of the Kubuntu packages for KDE 4.1. Didn't think too much about it, but now that I try to run my photo management app I get some problems that I can't seem to solve. The application heavily relies on promoted wid

[PyQt] PyKDE4: installing pykdedocs fails

2008-07-30 Thread Benno Dielmann
Hi, since the Kubuntu PyKDE4 packages don't contain the pykdedocs viewer, I tried to install it from the sources (PyKDE4-4.0.2-1.tar.bz2). Unfortunately, it fails: $ python installdocs.py Traceback (most recent call last): File "installdocs.py", line 37, in import PyQt4.pyqtconfig Impor

[PyQt] PyKDE4 documentation?

2008-07-30 Thread Benno Dielmann
Hi, http://techbase.kde.org/Development/Languages/Python/Using_PyKDE_4 says there are several tutorials on programming in PyKDE4. Where can they be found? ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/

[PyQt] [Python plugin] menu items: actions binding with cycle

2008-07-30 Thread Anne Ghisla
Hello all, I'm developing a plugin for QGIS using: - PyQt 4.3.3-2ubuntu4.1 - Python 2.5.2 - Qt4 I'm populating a submenu with 4 items: [code] # create action for MCP submenu self.actionmcp = QAction(QIcon(""), "MCP", self.iface.getMainWindow()) self.actionmcp.setWhatsThis("None") QObject.connec

Re: [PyQt] sip doesn't recognize structs with parent structs/classes

2008-07-30 Thread Erick Tryzelaar
On Wed, Jul 30, 2008 at 12:07 AM, Phil Thompson <[EMAIL PROTECTED]> wrote: > It's the virtual constructors that are invalid, not virtual methods. Oh, duh. I didn't even notice that I did that. Next time I'll copy real code instead of rewriting it for email.

Re: [PyQt] sip doesn't recognize structs with parent structs/classes

2008-07-30 Thread Andreas Pakulat
On 29.07.08 16:05:16, Erick Tryzelaar wrote: > On Tue, Jul 22, 2008 at 3:39 PM, Phil Thompson > <[EMAIL PROTECTED]> wrote: > > The "virtual"s aren't valid, but the super-classes should be. Fixed in > > tonight's snapshot. > > Thanks again for the change, Phil. I think you might be mistaken on > th

Re: [PyQt] sip doesn't recognize structs with parent structs/classes

2008-07-30 Thread Phil Thompson
On Tue, 29 Jul 2008 16:05:16 -0700, "Erick Tryzelaar" <[EMAIL PROTECTED]> wrote: > On Tue, Jul 22, 2008 at 3:39 PM, Phil Thompson > <[EMAIL PROTECTED]> wrote: >> The "virtual"s aren't valid, but the super-classes should be. Fixed in >> tonight's snapshot. > > Thanks again for the change, Phil. I t