Re: [PyQt] multiple dialog boxes simultaneously

2007-11-29 Thread Pradnyesh Sawant
Hello, I have 2 new doubts, related to the same problem. As suggested by Oleg, I'm now going on creating new dialogs as I require. I'll first give an overview of the code: *** from time import ctime, time, sleep import sys fro

Re: [PyQt] Segmentation Fault

2007-11-29 Thread Fred
I found the problem. Thank you for the reply. On Thursday 29 November 2007 19:56:57 Giovanni Bajo wrote: > On 11/29/2007 12:03 PM, Fred wrote: > > I've got a difficult to track problem. I'm creating a game to learn PyQt > > and I'm sure I am missing something really, really obvious, but still: > >

Re: [PyQt] Using QScintilla .api files

2007-11-29 Thread David Hirschfield
But still within a GUI application? Yes, still within a GUI, just not within an actual QScintilla widget. I have two specific UIs that let users enter python expressions which I would love to be able to supply auto-completion for. Already having api files available for QScintilla, I'd hat

Re: [PyQt] Using QScintilla .api files

2007-11-29 Thread Phil Thompson
On Thursday 29 November 2007, David Hirschfield wrote: > Is there any documentation on how to load and use the QScintilla .api > files to do autocompletion outside of the actual QScintilla editor? > > I'd like to be able to use the autocompletion capabilities in a couple > of different places which

Re: [PyQt] Segmentation Fault

2007-11-29 Thread Giovanni Bajo
On 11/29/2007 12:03 PM, Fred wrote: I've got a difficult to track problem. I'm creating a game to learn PyQt and I'm sure I am missing something really, really obvious, but still: can't find it. I made a grid of tiles. Every tile is a graphicsItem on a scene. I've made a dictionary of tiles

[PyQt] Centering inside groupbox... newbie question

2007-11-29 Thread Mark Rages
Hi, I'm new to PyQt and Qt in general. I want to make a QGroupBox containing a centered QLabel. The QLabel needs to remain centered as the groupbox is resized. It is easy to make a QLabel that stays centered: #!/usr/bin/python2.4 import sys import qt a = qt.QApplication(sys.argv) textlabel=q

[PyQt] Using QScintilla .api files

2007-11-29 Thread David Hirschfield
Is there any documentation on how to load and use the QScintilla .api files to do autocompletion outside of the actual QScintilla editor? I'd like to be able to use the autocompletion capabilities in a couple of different places which aren't regular text-editing UIs, and therefore can't direct

Re: [PyQt] doubt with QTextBrowser and QImage

2007-11-29 Thread Claudio A. Quezada R.
David, Thank you very much for your help, that is the thing i was looking for. Very very pleased. Best regards, Claudio (if you´re curious this is the project i´m working on: http://iibsoft.googlecode.com) Thanks again. 2007/11/27, David Boddie <[EMAIL PROTECTED]>: > On Tue Nov 27 18:17:42 G

Re: [PyQt] Unable to compile PyQt on 10.5.1 (fails while linking)

2007-11-29 Thread Phil Thompson
On Wednesday 28 November 2007, Brian Landsberger wrote: > Hello all, > > I'm new to the list and found it when I encountered problems trying > compile PyQT on my Powerbook G4. I'm running a fresh copy of 10.5 then > upgraded to 10.5.1. As this thread indicates: > > http://www.mail-archive.com

[PyQt] Re: Styling listWidget selection background

2007-11-29 Thread Gustavo A. Díaz
Anyone? at least say "no, don't know how..." :P Cheers. 2007/11/14, "Gustavo A. Dí­az" <[EMAIL PROTECTED]>: > > Hi guys! > > I am trying to figure out if is possible to style the selection > background of a listWidget. > It is possible? > > My example screenshot of my app: > > http://opencoffee.ln

Re: [PyQt] multiple dialog boxes simultaneously

2007-11-29 Thread Pradnyesh Sawant
On 13:38, 29 Nov, Oleg Klimov wrote: > > sleep(1) Thanks, I did not know that. I'll take care of that in the code Thanks a lot again... > This looks like a bad idea. Your dialogs cannot even repaint when you're > sleeping. Use QTimer. > > > >

[PyQt] Segmentation Fault

2007-11-29 Thread Fred
Hi all, I've got a difficult to track problem. I'm creating a game to learn PyQt and I'm sure I am missing something really, really obvious, but still: can't find it. I made a grid of tiles. Every tile is a graphicsItem on a scene. I've made a dictionary of tiles where the key is the coordinat

Re: [PyQt] multiple dialog boxes simultaneously

2007-11-29 Thread Oleg Klimov
> sleep(1) This looks like a bad idea. Your dialogs cannot even repaint when you're sleeping. Use QTimer. ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] multiple dialog boxes simultaneously

2007-11-29 Thread Pradnyesh Sawant
Thanks for replying, but I got what I wanted to do. Here's the code: ** from time import sleep import sys from PyQt4 import QtGui, QtCore class Journal(QtGui.QDialog): wndLst = [] firstFlag = False def __init__(self, p

Re: [PyQt] multiple dialog boxes simultaneously

2007-11-29 Thread Oleg Klimov
> Basically, I want a dialog box to come up every 15 minutes. It should > take > a text input from me, and close when I press the ok/cancel button. It > should, on the other hand, stay there itself till I press one of the > buttons. > It's a rather simple task, but I don't understand as to how do I

Re: [PyQt] multiple dialog boxes simultaneously

2007-11-29 Thread Pradnyesh Sawant
On 12:44, 29 Nov, Oleg Klimov wrote: > > On Thu, 2007-11-29 at 11:51 +0530, Pradnyesh Sawant wrote: > > Hello, > > I want to have multiple dialog boxes simultaneously. So I have a function, > > which is the target for threading.Thread, and which creates a new dialog. > > But I'm getting the follow

Re: [PyQt] multiple dialog boxes simultaneously

2007-11-29 Thread Oleg Klimov
On Thu, 2007-11-29 at 11:51 +0530, Pradnyesh Sawant wrote: > Hello, > I want to have multiple dialog boxes simultaneously. So I have a function, > which is the target for threading.Thread, and which creates a new dialog. > But I'm getting the following error: > ASSERT failure in QWidget: "Widgets