Hello!
No matter how I implement my own item models, they segfault when ever they
are used with a view and an item is activated.
Example minimalistic model I test with:
import sys
from PyQt4 import QtGui, QtCore
class TestModel(QtCore.QAbstractTableModel):
def headerData(self, section,
Yes, the connect signal had the wrong signature, but that doesn't matter.
I do not get a warning when trying to connect invalid signals, but
even if I have no activated-signal connected, the darn thing still segfaults
when I double click any cell.
On 2010-08-09 (Mon) 09:09, pe...@lohmanders.se
Take a look at QStackedWidget or QStackedLayout.
On Mon, Aug 9, 2010 at 12:59 AM, starglider develop
starglider@gmail.com wrote:
Hi,
I have a layout and need to remove all the widgets in the layout
to populate with other widget,
but didn't find a way of doing that.
Any ideas.
Thanks
Hi Peter,
while not of big help, here are a few more details and the backtrace.
Qt 4.6.3, sip 4.10.5, PyQt4 4.7.4.
On Monday 09 August 2010, 09:42:05 pe...@lohmanders.se wrote:
Yes, the connect signal had the wrong signature, but that doesn't matter.
I do not get a warning when trying to
On 09.08.10 12:06:57, Hans-Peter Jansen wrote:
Hi Peter,
while not of big help, here are a few more details and the backtrace.
Qt 4.6.3, sip 4.10.5, PyQt4 4.7.4.
On Monday 09 August 2010, 09:42:05 pe...@lohmanders.se wrote:
Yes, the connect signal had the wrong signature, but that
Hi
I've just installed PyQt4 with SIP on my PC and I'm getting the error
ImportError: no module name PyQt4 when I try to run the qtdemo.pyw
file in the examples folder (see below).
My first thought was that my PYTHONPATH needed something adding to it,
but I'm fairly new to python and
Hi Andreas!
Yes, the model isn't properly implemented, still not sure why I'm getting a
segfault rather than infinite loop. Might be some internal stack overflow?
Anyway, thanks for your reply! I didn't even consider it would would try
using children indices since a table model
On 09.08.10 12:51:48, pe...@lohmanders.se wrote:
Hi Andreas!
Yes, the model isn't properly implemented, still not sure why I'm getting a
segfault rather than infinite loop. Might be some internal stack overflow?
Anyway, thanks for your reply! I didn't even consider it would would try
On Monday 09 August 2010, 12:20:36 Andreas Pakulat wrote:
On 09.08.10 12:06:57, Hans-Peter Jansen wrote:
Hi Peter,
while not of big help, here are a few more details and the backtrace.
Qt 4.6.3, sip 4.10.5, PyQt4 4.7.4.
On Monday 09 August 2010, 09:42:05 pe...@lohmanders.se wrote:
On Monday 09 August 2010, 12:41:31 John McCabe wrote:
Hi
I've just installed PyQt4 with SIP on my PC and I'm getting the error
ImportError: no module name PyQt4 when I try to run the qtdemo.pyw
file in the examples folder (see below).
Please define installed.
My first thought was that
On Mon, Aug 9, 2010 at 6:41 AM, John McCabe j...@assen.demon.co.uk wrote:
Hi
I've just installed PyQt4 with SIP on my PC and I'm getting the error
ImportError: no module name PyQt4 when I try to run the qtdemo.pyw file in
the examples folder (see below).
My first thought was that my
On 09.08.10 13:31:15, Hans-Peter Jansen wrote:
On Monday 09 August 2010, 12:20:36 Andreas Pakulat wrote:
If you use this model on a treeview you'll probably end up in an infinite
tree size. The reason is that you're returning a child-count of 2 for
each and every index (and the treeview is
I have a question about using dip model attributes as properties. The
documentation at
http://www.riverbankcomputing.com/static/Docs/dip/model_tutorial.html#attributes-are-properties
gives an example:
class ExampleModel(Model):
name = Str
def _get_name(self):
return self._name
Hi John,
I've no idea, why you're dragging this thread into a private discussion.
Helping others is always a community effort, and keeping it public allows
others to keep in context... If you ask me, I prefer to receive anything
via the list, and not a personal copy, but who's asking me?
On
Hi,
A number of my old pyqt scripts have stopped working.
Basically I am following the example from ..
http://www.sidefx.com/docs/houdini11.0/hom/cookbook/pyqt/part1/
My scripts used to work but now when I run the line
app = QtGui.QApplication(['houdini'])
Houdini crashes with the error ...
On 09/08/2010 16:40, Hans-Peter Jansen wrote:
Hi John,
I've no idea, why you're dragging this thread into a private discussion.
Ooops - sorry about that. That was never my intention; it's a long time
since I've joined a mailing list that has the default reply address for
messages distributed
solved I had ..
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
in my environment for some reason once I commented it out everything
worked!
cheers
s
stephen76 wrote:
Hi,
A number of my old pyqt scripts have stopped working.
Basically I am following the example from ..
Martino Massalini wants you to use Dropbox to sync and share files online and
across computers.
Get started here:
http://www.dropbox.com/link/45.4DwuYaN_fr.4DwuYaN_fr/NjI4NTU5NjY2Nw
- The Dropbox Team
To stop receiving invites from
18 matches
Mail list logo