Re: [PyQt] Proposal for New-style Signals

2008-01-30 Thread nytmyn
The stage 2 simplified qt signals looks just great :) What about signals declared in Python? I'd really like to have the possibility to declare and use them as the qt ones. All QObjects derrived classes are passed as pointers and the values based classes are (really) often passed as const

Re: [PyQt] Proposal for New-style Signals

2008-01-30 Thread Phil Thompson
On Wednesday 30 January 2008, nytmyn wrote: The stage 2 simplified qt signals looks just great :) What about signals declared in Python? I'd really like to have the possibility to declare and use them as the qt ones. You can do that now using __pyqtSignals__. All QObjects derrived classes

[PyQt] Drag and drop files

2008-01-30 Thread Tina I
Hi list, I'm stuck! Simply put I want to drop files into a QListView. I have been reading TFM about QEvent but I don't understand what I'm reading (I'm fairly new to programming) so I was hoping someone with too much time on their hands would kickstart me a little. I just need some sample

Rép : [PyQt] Deploying PyQt4 application

2008-01-30 Thread Rémy HUBSCHER
Hello, I finally success in my Py2app Bundle. That is my feedback : Everything was working just with Py2App with this setup.py file : Script for building the example. Usage: python setup.py py2app from distutils.core import setup import py2app import os os.system(/bin/rm -rf dist)

Re: [PyQt] Drag and drop files

2008-01-30 Thread non7top
В сообщении от Wednesday 30 January 2008 13:09:00 Tina I написал(а): I'm stuck! Simply put I want to drop files into a QListView. I have been reading TFM about QEvent but I don't understand what I'm reading (I'm fairly new to programming) so I was hoping someone with too much time on their

[PyQt] Fwd: Use QTextEdit() clear slot

2008-01-30 Thread Simon Stockes
Hi, After sinuous ways I found a solution that work. It's not still clear in my mind but it works. I had to add 'self.cleanButton.setAutoDefault(False)' because adding a 'self.cleanButton.setDefault(False)' does not work. As the Qt assistant said, it depends of the GUI style A beat

Re: [PyQt] ANN: new eric4 Rope refactoring plugin snapshot available

2008-01-30 Thread Detlev Offenbach
On Mittwoch, 30. Januar 2008, Simon Edwards wrote: Hi, Detlev Offenbach wrote: how did you install eric4? Did you get an error during the installation? Usually, the installation script should create a directory called eric4plugins in Python's site-packages directory. Can you please check,

[PyQt] Calling Custom Widget from Designer Code

2008-01-30 Thread Clowers, Brian H
So I'm stumped. I've created a GUI in designer and have successfully added a matplotlib canvas to a mainwindow by promoting a custom widget class. I've named the canvas mpl_widget. Now my problem is the following: I would like to be able to be able to update and clear the matplotlib canvas but

Re: [PyQt] Calling Custom Widget from Designer Code

2008-01-30 Thread Phil Thompson
On Wednesday 30 January 2008, Clowers, Brian H wrote: So I'm stumped. I've created a GUI in designer and have successfully added a matplotlib canvas to a mainwindow by promoting a custom widget class. I've named the canvas mpl_widget. Now my problem is the following: I would like to be

[PyQt] customEvents causing seg fault?

2008-01-30 Thread gct
OK so I've got a thread that monitors some hardware, and periodically sends a custom event back to the GUI to basically mirror an internal table to a QTable I have on the GUI. I'm told this is the proper way to update GUI elements from a thread other than the main one. My problem is, despite

[PyQt] Calling Custom Widget from Designer Code

2008-01-30 Thread Clowers, Brian H
Phil, You made my day... Cheers, Brian ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Proposal for New-style Signals

2008-01-30 Thread nytmyn
On Wednesday 30 January 2008, nytmyn wrote: The stage 2 simplified qt signals looks just great :) What about signals declared in Python? I'd really like to have the possibility to declare and use them as the qt ones. You can do that now using __pyqtSignals__. I know I can use

Re: [PyQt] What is PyQt4.Qt ?

2008-01-30 Thread Giovanni Bajo
On Mon, 2008-01-28 at 13:46 -0800, Peter Shinners wrote: I'm looking for a brief description of what the PyQt4.Qt module is? It seems to be a combination of QtCore and QtGui into a single namespace? Is that what this is? A combined module of all the Qt subcomponents that were built? Yes,

[PyQt] how to show a picture in a python-buffer

2008-01-30 Thread Marco
Hi, I read a picture from database that store in python-buffer, now, how to use pyqt4 to show it? Thank you!!! -- LinuX Power ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Re: how to show a picture in a python-buffer

2008-01-30 Thread Marco
I think I found it, loadFromData. Thank you! On 1/31/08, Marco [EMAIL PROTECTED] wrote: Hi, I read a picture from database that store in python-buffer, now, how to use pyqt4 to show it? Thank you!!! -- LinuX Power -- LinuX Power ___ PyQt