Hi all
My question is if it is possible to create a QGraphicsView in a MainWindow?
I have a QMainWindow with a menu bar and I want to create a QGraphicsView below
the menu bar.
I have made a simple example:
import sys
from PyQt4 import QtGui, QtCore
class MainWindow(QtGui.QMainWindow):
On Thu, 26 Feb 2009 02:16:41 -0800 (PST), Mads Kofod Hansen
kofo...@yahoo.com wrote:
Hi all
My question is if it is possible to create a QGraphicsView in a
MainWindow?
I have a QMainWindow with a menu bar and I want to create a QGraphicsView
below the menu bar.
I have made a simple
Hi,
On Thursday 26 February 2009 11:25:25 Phil Thompson wrote:
On Thu, 26 Feb 2009 02:16:41 -0800 (PST), Mads Kofod Hansen
kofo...@yahoo.com wrote:
I have a QMainWindow with a menu bar and I want to create a QGraphicsView
below the menu bar.
But this only displays the MainWindow with a
Thank you both, it works now.
- Original Message
From: Arnold Krille arn...@arnoldarts.de
To: pyqt@riverbankcomputing.com
Sent: Thursday, February 26, 2009 11:40:53 AM
Subject: Re: [PyQt] creating a QgraphicsView in MainWindow
Hi,
On Thursday 26 February 2009 11:25:25 Phil Thompson
How can I access to children's attibutes of a QDialog?
dlgBuscar = QtGui.QDialog()
dlgGui = Ui_Dialog() # Made with QtDesigner and pyuic4
dlgGui.setupUi(dlgBuscar)
if dlgBuscar.exec_() == QtGui.QDialog.Accepted:
for child in dlgBuscar.children():
print child
# Return the a object
Sergio Daniel Gomez escribió:
How can I access to children's attibutes of a QDialog?
dlgBuscar = QtGui.QDialog()
dlgGui = Ui_Dialog() # Made with QtDesigner and pyuic4
dlgGui.setupUi(dlgBuscar)
if dlgBuscar.exec_() == QtGui.QDialog.Accepted:
for child in dlgBuscar.children():
print
Hi
I've created pdf output in a StringIO file which I'd like to print in my PyQt4
app. Should I save it and send it to the system default reader? or could I
automate this task? Is it possible to pirnt the file directly from PyQt?
Thanks
Nahuel
___
Hi,
I just found out the hard way what the subject says
Now I am curious: The PyQt roadmap says that non-pythonic classes
like QString will be removed. So the result of some Qt/KDE methods
will no longer return a mutable result but an immutable result.
Could this not break code that relies on
On Thursday 26 February 2009 13:41:41 pm Nahuel Defossé wrote:
Hi
I've created pdf output in a StringIO file which I'd like to print in
my PyQt4 app. Should I save it and send it to the system default
reader? or could I automate this task? Is it possible to pirnt the
file directly from PyQt?
I noticed that the fromMacCGImageRef method (mac only) for QPixmap is
not available in PyQt. It looks like fromWinHBITMAP is looking through
the .sip files. Is this method easy to add? I'm combining some pyobc
calls to qucktime and was trying to use fromMacCGImageRef to pass pyqt
an movie
10 matches
Mail list logo