Re: [PyQt] dip Snapshot Support for Python v2.6 and v2.7

2010-07-26 Thread Phil Thompson
On Sun, 25 Jul 2010 17:30:28 -0400, Darren Dale dsdal...@gmail.com wrote: On Sat, Jul 24, 2010 at 2:26 PM, Phil Thompson p...@riverbankcomputing.com wrote: The current dip snapshots now support Python v2.6 and v2.7 as well as Python v3. The API should be identical for all versions of Python.

[PyQt] using xembed with pyqt/pykde

2010-07-26 Thread Aljoša Mohorović
i'm trying to find a working example of a pyqt/pykde application that uses xembed to embed a gtk/gnome based app. don't know if it's important but i'm embedding gvim into a pykde app. any docs or examples are appreciated. Aljosa Mohorovic ___ PyQt

Re: [PyQt] dip Snapshot Support for Python v2.6 and v2.7

2010-07-26 Thread Darren Dale
On Mon, Jul 26, 2010 at 4:00 AM, Phil Thompson p...@riverbankcomputing.com wrote: On Sun, 25 Jul 2010 17:30:28 -0400, Darren Dale dsdal...@gmail.com wrote: On Sat, Jul 24, 2010 at 2:26 PM, Phil Thompson p...@riverbankcomputing.com wrote: The current dip snapshots now support Python v2.6 and

Re: [PyQt] Strange observation with latest stable releases

2010-07-26 Thread detlev
On Sonntag, 25. Juli 2010, Phil Thompson wrote: On Sun, 25 Jul 2010 19:11:00 +0200, Antonio Valentino antonio.valent...@tiscali.it wrote: Hi, Il giorno Sun, 25 Jul 2010 18:26:15 +0200 detlev det...@die-offenbachs.de ha scritto: Hi, in the past code like

[PyQt] pyqt treewidget and multiselection/drag selection event?

2010-07-26 Thread niko3d
Hi there, first post to this mailing list :) Im having real issues with getting my treewidget to behave how i need, im hoping someone can point me in the right direction. Ok so I have a GUI that is heavily based on the QtGui.QTreeWidget. I have set this how i need with the itemClicked method.

[PyQt] Preview of a QtGraphicsItem

2010-07-26 Thread Matteo Boscolo
Hi all, I'm developing a cad application with pyqt: PythonCad I get some truble(crash,Sometimes the line is not rendered,..) creating a preview system for rendering the QtGraphicsItem during the command execution. I follow this steps to create the preview. When the user execute a command es:

Re: [PyQt] Book: Advanced Qt Programming [C++/Qt]

2010-07-26 Thread John Layt
On Wednesday 21 July 2010 10:53:28 Mark Summerfield wrote: Hi, I am delighted to announce that a new book, Advanced Qt Programming (ISBN 0321635906), is now available in the U.S., and soon elsewhere. The book is aimed at C++/Qt programmers and covers ideas and techniques that are too

[PyQt] Trigger mouse click on arbitrary coordinate using Webkit?

2010-07-26 Thread Yao Ko
Hi, I'm using Qt Webkit to load a a webpage and interact with it. Is there a way to programmatically trigger a mouse click given the X, Y coordinates of a webpage? So far, I was able to use QWebFrame.hitTestContent(QPoint) to get the QWebElement under the given QPoint. However, the element is

[PyQt] Issue with pyqtSlot(QModelIndex, QModelIndex)

2010-07-26 Thread Sybren A . Stüvel
Dear list, I've just upgraded from PyQt 4.6 (PyQt-Py2.6-gpl-4.6-1.exe) to version 4.7.4 (PyQt-Py2.6-gpl-4.7.4-1.exe), and the upgrade introduced a crash in my program. I've narrowed it down to this example: from PyQt4 import QtCore, QtGui class Dialog(QtGui.QDialog): def

Re: [PyQt] Issue with pyqtSlot(QModelIndex, QModelIndex)

2010-07-26 Thread Sybren A . Stüvel
On Tue, Jul 27, 2010 at 12:36:02PM +0800, 机械唯物主义 : linjunhalida wrote: in my OS, works OK. pythonxy 4.6 What's pythonxy? And what is your OS? try: smodel.currentChanged[QtCore.QModelIndex, QtCore.QModelIndex].connect(self.on_change) Thanks for the suggestion. Unfortunately, it doesn't work:

Re: [PyQt] Issue with pyqtSlot(QModelIndex, QModelIndex)

2010-07-26 Thread 机械唯物主义 : linjunhalida
pythonxy is this: http://www.pythonxy.com/ my os is windows. I'm still using 4.6, sorry cannot help... 2010/7/27 Sybren A. Stüvel syb...@stuvel.eu On Tue, Jul 27, 2010 at 12:36:02PM +0800, 机械唯物主义 : linjunhalida wrote: in my OS, works OK. pythonxy 4.6 What's pythonxy? And what is your OS?

Re: [PyQt] Issue with pyqtSlot(QModelIndex, QModelIndex)

2010-07-26 Thread Sybren A . Stüvel
On Tue, Jul 27, 2010 at 06:12:23AM +0200, Sybren A. Stüvel wrote: smodel = self.resultsView.selectionModel() smodel.currentChanged.connect(self.on_change) PS: This does work in concert with the @QtCore.pyqtSignal(...) decorator: QtCore.QObject.connect(smodel,