On Fri, Jan 13, 2012 at 09:34:42AM +0100, Andreas Pakulat wrote:
Well, determining coordinates and height/width for elements is a
completely different story than fetching a static attribute from a
static element in a static page.
The point is that I have found that properties that can be
On 13.01.12 14:23:02, Kovid Goyal wrote:
On Fri, Jan 13, 2012 at 09:34:42AM +0100, Andreas Pakulat wrote:
Well, determining coordinates and height/width for elements is a
completely different story than fetching a static attribute from a
static element in a static page.
The point is that
Hi,
I have a tree data structure which I'm trying to display on a QTreeView,
using a QSortFilterProxyModel with a QAbstractItemModel as its source. The
problem is when I try to add/insert data into my data structure my
application crashes without any exceptions or warning messages. It simply
dies
On Fri, Jan 13, 2012 at 10:32:02AM +0100, Andreas Pakulat wrote:
Maybe I didn't read your code close enough, but it merely looked like a
case where different page-contents influence a given attribute in
different ways. So the code tries to determine which attribute is best
used for height.
Without the lsfw2 module, it's hard to test on my end, but have you
tried keeping around a reference to the sourceModel? The Qt
documentation doesn't mention whether the proxy model assumes ownership.
If it doesn't, the source model will be garbage collected.
Oops!
Sorry, I forgot completely about that piece of code.
The TreeModel class code is found below:
class TreeModel(QAbstractItemModel):
def columnCount(self, parent):
if parent.isValid():
return parent.internalPointer().columnCount()
else:
return
Hello everybody,
I am developing a C++/Qt Application, where we integrated python as scripting
engine. I would like to offer the possibility to write PyQt-Scripts in order to
generate user-defined interfaces.
In the present case, the python interpreter runs in its own thread within the
I can I disable a QPushButton? I've tried Button.setEnabled(False) but
the button only becomes grey and I can click on it again.
Thanks,
Fabien
___
PyQt mailing listPyQt@riverbankcomputing.com
I'm sorry it works perfectly, it was not well connected
2012/1/13 Fabien Lafont lafont.fab...@gmail.com:
I can I disable a QPushButton? I've tried Button.setEnabled(False) but
the button only becomes grey and I can click on it again.
Thanks,
Fabien
both self.my_button.setEnabled(False) and self.my_button.setDisabled(True)
worked for me.
On Fri, Jan 13, 2012 at 3:11 PM, Fabien Lafont lafont.fab...@gmail.comwrote:
I can I disable a QPushButton? I've tried Button.setEnabled(False) but
the button only becomes grey and I can click on it
Le 13/01/12 15:11, Fabien Lafont a crit:
I can I disable a QPushButton? I've tried
Button.setEnabled(False) but the button only becomes grey and I
can click on it again.
Thanks,
Fabien
On 13.01.12 15:09:06, Marc Gronle wrote:
Hello everybody,
I am developing a C++/Qt Application, where we integrated python as scripting
engine. I would like to offer the possibility to write PyQt-Scripts in order
to generate user-defined interfaces.
In the present case, the python
It works finally well, it was just a problem of connection and I used
set.checkable I wondered it was the setEnabled(False) wich turn the
button to grey color...
Thanks!
2012/1/13 Vincent Vande Vyvre vincent.vandevy...@swing.be:
Le 13/01/12 15:11, Fabien Lafont a écrit :
I can I disable a
A great Thank You to Andreas and Kovid for both of your expert-level feedback
on this...
Since Andrea suggest the bug may be in Qt,...I will post to that forum as
well...
but think I might wait a day or so to hear what others may say and weigh-in
with
their expertise before propagating to
14 matches
Mail list logo