Hi,
I'm using a rather old (4.4.3) version of PyQT, but I was wondering if the
following issue was solved:
I've created a custom component with one property being a QStringList. When I
compile this with pyuic4 it generates the following code in one of the python
modules:
Hi everyone,
I'm developing an app which loads data from a database table into a
QSqlTableModel. At some point I associate this model to a Combo Box
(using QComboBox.setModel). The strange thing is, when I try to read
the current model index from the combo box view, for getting the
selected
Hello,
I am trying to build SIP v4.7.9 with VS2008 Express Edition and Python 2.5.4
via the Visual Studio 2008 Command Prompt.
When I attempt to run sip.exe from the c:\python25 I get the dreaded R6034
Runtime Error!
R6034
An application has made an attempt to load the C runtime library
Hi everyone,
I'm developing an app which loads data from a database table into a
QSqlTableModel. At some point I associate this model to a Combo Box
(using QComboBox.setModel). The strange thing is, when I try to read
the current model index from the combo box view, for getting the
selected
It's very likely that PyQt 4.4.4 uses some deprecated syntax that was
removed in SIP 4.8. Are you not able to build using the latest PyQt4
release?
Darryl Wallace wrote:
Hello,
I am trying to build SIP v4.7.9 with VS2008 Express Edition and Python
2.5.4 via the Visual Studio 2008 Command
How about selecting index 0 once the combobox is initialized with the
database data? It sounds to me that it has no valid index when first
initialized, and if you try to programmatically select the first index,
it's returning an invalid one. You don't need to generate a signal, just
use
I am using an existing commercial license and I had locked down the version
of my development tools (hence, PyQt4.4.4). I previously used MinGW to
build the libraries (both Qt and PyQt) but I am hoping to get some smaller
binaries for distribution.
You were correct about the deprecated feature.
Itt works fine with VS2008 Professional edition - at least on the latest
builds. I'm sorry to say that I've never seen that error, but it sounds
more like maybe you need to re-install the latest C++ redist package
than a problem with PyQt4.
Darryl Wallace wrote:
I am using an existing
2010/1/26 Demetrius Cassidy dcassid...@mass.rr.com:
How about selecting index 0 once the combobox is initialized with the
database data? It sounds to me that it has no valid index when first
initialized, and if you try to programmatically select the first index, it's
returning an invalid one.
I don't think you need to use the view pointer at all - it's returning
QAbstractItemView *, which I would assume it would need to be casted to
the proper class in C++. If that's so, by design the Abstract class will
return an invalid index. Try to use self.comboBox.currentIndex() instead
- it
class Main(QGraphicsView):
def __init__(self, useGL=False, parent=None):
pass
@pyqtSlot()
def screenFinished(self):
print Main.screenFinished
class Screen(QObject):
finished = pyqtSignal()
def __init__(self, instanceName, main):
On 26.01.10 17:41:40, Demetrius Cassidy wrote:
I don't think you need to use the view pointer at all - it's
returning QAbstractItemView *, which I would assume it would need to
be casted to the proper class in C++. If that's so, by design the
Abstract class will return an invalid index.
I
On 26.01.10 22:05:41, Jason H wrote:
class Main(QGraphicsView):
def __init__(self, useGL=False, parent=None):
pass
@pyqtSlot()
def screenFinished(self):
print Main.screenFinished
class Screen(QObject):
finished = pyqtSignal()
def __init__(self,
- Original Message
From: Andreas Pakulat ap...@gmx.de
To: pyqt@riverbankcomputing.com
Sent: Wed, January 27, 2010 1:17:48 AM
Subject: Re: [PyQt] Simple connect error
On 26.01.10 22:05:41, Jason H wrote:
class Main(QGraphicsView):
def __init__(self, useGL=False, parent=None):
**facepalm** I had a locally defined class that we overriding it. It was
missing the slot.
- Original Message
From: Jason H scorp...@yahoo.com
To: Andreas Pakulat ap...@gmx.de; pyqt@riverbankcomputing.com
Sent: Wed, January 27, 2010 1:22:51 AM
Subject: Re: [PyQt] Simple connect error
15 matches
Mail list logo