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):
de
On Thu, 26 Feb 2009 02:16:41 -0800 (PST), Mads Kofod Hansen
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 example:
>
>
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
> 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 menubar. How
Thank you both, it works now.
- Original Message
From: Arnold Krille
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 wrote:
> On Thu, 26 Fe
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 lis
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
Folks,
can anyone help on these 2 problems, either in PyQt or Qt C --
1) custom visible cursor in a QTextEdit, hilite a line or several lines;
mouse click / 2click / 3click ->
both the usual mac cursor hiliting, blue char / word / line
AND whatever signal cursorPosChanged triggers
2) ther
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
___
PyQt
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 the
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 Py
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
11 matches
Mail list logo