Yes, take a look at the resizeEvent(event) method:
http://doc.trolltech.com/4.6/qwidget.html#resizeEvent
http://doc.trolltech.com/4.6/qwidget.html#resizeEvent:-)
Nick
On Thu, Mar 11, 2010 at 8:19 AM, sindhuja venkat
sindhujaven...@gmail.comwrote:
Hello all,
We can modify the close event and
I want to update a pixmap on single click, so I tried this:
import sys
from PyQt4 import QtGui,QtCore
class myLabel(QtGui.QLabel):
def __init__(self,*args,**kwargs):
QtGui.QLabel.__init__(self,*args,**kwargs)
self.painter = QtGui.QPainter()
def mousePressEvent(self,
Phil Thompson wrote:
On Wed, 10 Mar 2010 16:49:13 -0500, Josh jk...@irobot.com wrote:
Hi,
In my dev environment we build packages of Qt, PyQt, SIP, etc on a
central build machine. Developers use these packages as dependencies
for their projects on their own machines. The packages are
On Thu, 11 Mar 2010 09:13:27 -0500, Josh jk...@irobot.com wrote:
Phil Thompson wrote:
On Wed, 10 Mar 2010 16:49:13 -0500, Josh jk...@irobot.com wrote:
Hi,
In my dev environment we build packages of Qt, PyQt, SIP, etc on a
central build machine. Developers use these packages as
Anyone have an idea?
--
View this message in context:
http://old.nabble.com/Getting-a-segfault-when-I-close-my-program-tp27799395p27864940.html
Sent from the PyQt mailing list archive at Nabble.com.
___
PyQt mailing list
Phil Thompson wrote:
On Thu, 11 Mar 2010 09:13:27 -0500, Josh jk...@irobot.com wrote:
Phil Thompson wrote:
On Wed, 10 Mar 2010 16:49:13 -0500, Josh jk...@irobot.com wrote:
Hi,
In my dev environment we build packages of Qt, PyQt, SIP, etc on a
central build machine.
dizou wrote:
Anyone have an idea?
More info needed.
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On Thu, Mar 11, 2010 at 7:24 AM, dizou di_...@yahoo.com wrote:
Anyone have an idea?
--
View this message in context:
http://old.nabble.com/Getting-a-segfault-when-I-close-my-program-tp27799395p27864940.html
Sent from the PyQt mailing list archive at Nabble.com.
Hi,
I tried to reproduce
Yao Ko-2 wrote:
Hi,
I tried to reproduce the problem, but the code is missing definition
for self.tree and self.view?
Yao
This is what I have at the beginning of the MainWidget.__init__() function:
self.tree = TreeArea(self)
self.display = DisplayScene(self)
self.view =
This code will recreate the problem:
Main.py:
#!/usr/bin/env python
import sys
from PyQt4 import QtGui
from MainWindow import *
app = QtGui.QApplication(sys.argv)
widget = MainWindow()
widget.resize(250, 150)
widget.show()
sys.exit(app.exec_())
MainWindow.py:
#!/usr/bin/env python
from
If I take out the line:
treeControlLayout.addItem(self.rightSpacer, 0, 8)
or
viewControlLayout.addItem(self.rightSpacer, 0, 8)
I don't get the segfault anymore.
So I can't have both of those lines of code in.
--
View this message in context:
Hello,
-Original Message-
From: pyqt-boun...@riverbankcomputing.com
[mailto:pyqt-boun...@riverbankcomputing.com] On Behalf Of dizou
Sent: March-11-10 2:54 PM
To: pyqt@riverbankcomputing.com
Subject: Re: [PyQt] Getting a segfault when I close my program
If I take out the line:
Darryl Wallace wrote:
I believe it's because you can't have the self.rightSpacer object in two
different places. My guess is you're getting the segfault because when
the first layout is destroyed it cleans up the self.rightSpacer. Then
when the second layout is destroyed it's trying to
A Dijous, 4 de febrer de 2010, Albert Cervera i Areny va escriure:
If I create the installer for my application using py2exe and PyQt 4.7, the
application starts but fails with the following exception with QtWebKit:
ImportError: DLL load failed: Can not find find the specified module.
The
14 matches
Mail list logo