Re: [PyQt] Creating a message box

2009-04-07 Thread Sergio Daniel Gomez
klia escribió: Hey guys; i am totally new to pyqt My query is can some one give me an example that creates a button which will display a message box once it's clicked thank you #!/usr/bin/python # messagebox.py import sys from PyQt4 import QtGui class MessageBox(QtGui.QWidget): def

[PyQt] Error for compile latest snapshot

2009-04-07 Thread Alexandr N Zamaraev
Os Windows Vista Home Ru + sp1 g++ (GCC) 3.4.5 (mingw-vista special r3) Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)] on win32 sip-4.8-snapshot-20090401 PyQt-win-gpl-4.5-snapshot-20090403 [console snipped] C:/Lang/qt/PyQt-4.5mingw32-make ... mingw32-make[1]:

[PyQt] Question about QFrame

2009-04-07 Thread projetmbc
Hello, I would like to make a frame that contains a QTextEdit and a picture, and then I would like to show it. Is-it possible ? Best regards. Christophe. ___ PyQt mailing listPyQt@riverbankcomputing.com

Re: [PyQt] Creating a message box

2009-04-07 Thread klia
klia wrote: Hey guys; i am totally new to pyqt My query is can some one give me an example that creates a button which will display a message box once it's clicked thank you Thank you for help -- View this message in context:

Re: [PyQt] New Style emit without subclassing

2009-04-07 Thread Demetrius Cassidy
from PyQt4.QtCore import SIGNAL class MyScene(QtGui.QGraphicsScene): def __init__(self,parent=None): QtGui.QGraphicsScene.__init__(self,parent) self.emit(SIGNAL((itemClicked(QGraphicsSceneMouseEvent* - Original Message - From: Matt Smith

Re: [PyQt] New Style emit without subclassing

2009-04-07 Thread Demetrius Cassidy
Small Typo.. Should be: self.emit(SIGNAL(itemClicked(QGraphicsSceneMouseEvent*))) Demetrius Cassidy wrote: from PyQt4.QtCore import SIGNAL class MyScene(QtGui.QGraphicsScene): def __init__(self,parent=None): QtGui.QGraphicsScene.__init__(self,parent)