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
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]:
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
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:
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
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)