Re: [PyQt] QTableWidgetItem editingFinished

2009-07-07 Thread simozack
2009/7/6 Mario Daniel Carugno carug...@gmail.com: It works exactly like the QLineEdit, because the widget it calls IS a QLineEdit (really not always: if it is a number it calls a QSpinBox or a QDoubleSpinBox, if it is a date a QDateEdit or a QDateTimeEdit etc...). The widget is returned by

[PyQt] Multiple QMainWindow

2009-07-07 Thread gizmoog
I'm new in python and pyQt. I try to launch a second MainWindow from a first MainWindow but it doesn't work. The widget just pops and disappears immediatly. The following code works but that's not what I want... /usr/bin/python #-*-coding: utf-8 -*- from PyQt4.QtGui import * from PyQt4.QtCore

[PyQt] Opening a new QWidget window via a SLOT

2009-07-07 Thread AdrianoG
In my code I have a menubar with an action titled 'Display settings'. This action has a 'triggered()' signal and I have a slot that I'd like to open a QWidget window where I can display information. Is this possible? I've googled for a couple of days now and found no examples of this (they are

Re: [PyQt] Re: question about resizing behavior

2009-07-07 Thread Darren Dale
On Tue, Jul 7, 2009 at 2:50 AM, Ole Streicher ole-usenet-s...@gmx.netwrote: Hi Darren, Darren Dale dsdal...@gmail.com writes: Nice demonstration of the problem Ole. I notice that if, after resizing, I pause briefly before releasing the mouse button, the scroll bar is more likely to

[PyQt] setting tab order custom widget

2009-07-07 Thread Hans-Peter Jansen
Hi *, I've made a custom widget (a QCheckBox and a QToolButton side by side) based on QWidget (similar to David Boddie's GeolocationWidget from QQ26), and would like to set the tab order. Unfortunately, designer simply ignores my widgets in the tab order editing mode (again similar behavior to

RE: [PyQt] Opening a new QWidget window via a SLOT

2009-07-07 Thread Adriano Gagliardi
Ok, I've found the Multiple-Display Interface and it looks perfect for my needs. Thanks to the official book on PyQt (Rapid GUI Programming.. Etc.), which is extremely useful and appears to be well worth the money. === Adriano Gagliardi MEng PhD Project Scientist

Re: [PyQt] setting tab order custom widget

2009-07-07 Thread Hans-Peter Jansen
Am Dienstag, 7. Juli 2009 schrieb Hans-Peter Jansen: Hi *, I've made a custom widget (a QCheckBox and a QToolButton side by side) based on QWidget (similar to David Boddie's GeolocationWidget from QQ26), and would like to set the tab order. Unfortunately, designer simply ignores my widgets

Re: [PyQt] Re: question about resizing behavior

2009-07-07 Thread Darren Dale
Hi Ole, On Tue, Jul 7, 2009 at 11:33 AM, Ole Streicher ole-usenet-s...@gmx.netwrote: Hi again, Darren Dale dsdal...@gmail.com writes: Nice demonstration of the problem Ole. I notice that if, after resizing, I pause briefly before releasing the mouse button, the scroll bar is more likely

Re: [PyQt] Re: question about resizing behavior

2009-07-07 Thread Brian Zambrano
Hi guys, I'm also working with PyQt and matplotlib, and reported some weird resize behavior on the matplotlib mailing list a few days ago. I dug around a bit and thought that something was going on with QtGui.qApp.processEvents(), but it's nice to see that someone actually took the time to

[PyQt] Problem regarding setting text of QTextEdit in a separate thread

2009-07-07 Thread Shine Jose
Hello friends,I am writing an application to read data from serial port and display it on the screen using a QTextEdit widget. Since I'll have to poll the serial port to check for arrival of data, I have created the widgets in the main thread of the program and created a separate thread for

Re: [PyQt] setting tab order custom widget

2009-07-07 Thread Hans-Peter Jansen
Am Dienstag, 7. Juli 2009 schrieb David Boddie: On Tue Jul 7 15:20:02 BST 2009, Hans-Peter Jansen wrote: Am Dienstag, 7. Juli 2009 schrieb Hans-Peter Jansen: Anybody with an idea, what designer needs to consider our widgets in tab order setting? I tried to duck type my widget as a

[PyQt] unsupported buffer type

2009-07-07 Thread Mario Daniel Carugno
Hi there, i have a little problem with my PyQt development. It uses MySQL. Under Linux, everything is fine. Under Windows... the first query it tries gives an error like this: # using unsupported buffer type: 253 I'm using the latest pyqt binary for windows with Python 2.6 and Mysql 5.0. Could