On Thursday 07 April 2011, 22:36:43 Vicent Mas wrote:
> 2011/4/7 Vicent Mas :
> > On 2011-04-07 "Hans-Peter Jansen" said:
> >> On Thursday 07 April 2011, 12:12:48 Vicent Mas wrote:
> >> > Hi,
> >> >
> >> > I'm trying PyQt-x11-gpl-snapshot-4.8.4-8641ecc135b3 on a debian
> >> > testing box with Pyth
hmmm, I'm not finding a match() function for either QTreeView nor
QAbstractItemView...
For many good code examples, try www.nullege.com
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
...and just to cleanup and clarify,
in "ms.py", I had to go back and edit it to be:
global MyTreeView
instead of just simply "MyTreeView" which I wrote before...
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com
2011/4/7 Vicent Mas :
> On 2011-04-07 "Hans-Peter Jansen" said:
>
>> On Thursday 07 April 2011, 12:12:48 Vicent Mas wrote:
>> > Hi,
>> >
>> > I'm trying PyQt-x11-gpl-snapshot-4.8.4-8641ecc135b3 on a debian
>> > testing box with Python2.7 and virtualenv-1.5.1. Running the attached
>> > script raise
Hi All,
Can someone point me to a working example of the QTreeView.match()function?
Thanks.
Frans.
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On Thursday 07 April 2011, 17:27:15 Rui DaCosta wrote:
> Firstly thanks again for your reply,
>
> In the original code, from where this simplification is based, I have
> cleanup code on both closeEvent and destroyed, but...
>
> that's just the problem, the closeEvent isn't getting fired (unless I
>
just to be clear, I wasn't trying to use destroy(), I was merely using it to
demonstrate that even if I did, neither the closeEvent nor the destroyed signal
were working.
From: Demetrius Cassidy
To: Rui DaCosta
Cc: pyqt@riverbankcomputing.com
Sent: Thu, 7 Ap
Firstly thanks again for your reply,
In the original code, from where this simplification is based, I have cleanup
code on both closeEvent and destroyed, but...
that's just the problem, the closeEvent isn't getting fired (unless I manually
call close) - except when the window is closed from th
Sorry found destroyed() - that's what happens when you reply to emails
before you have morning coffee. Anyway I'm not sure why destroyed() is never
fired. I tried your code and even modified it a bit to use the new style
slots and signals but it's not being fired.
Either way, I think the other poi
I truly believe you are approaching this from the wrong angle. If you need
to know when your QDialog is going away, you override closeEvent and do your
cleanup from there.
However, looking through the docs, it does not appear that destroy is
actually a signal. It's called from the QWidget dtor, so
On 2011-04-07 "Hans-Peter Jansen" said:
> On Thursday 07 April 2011, 12:12:48 Vicent Mas wrote:
> > Hi,
> >
> > I'm trying PyQt-x11-gpl-snapshot-4.8.4-8641ecc135b3 on a debian
> > testing box with Python2.7 and virtualenv-1.5.1. Running the attached
> > script raises the following error:
> >
>
On Thursday 07 April 2011, 12:12:48 Vicent Mas wrote:
> Hi,
>
> I'm trying PyQt-x11-gpl-snapshot-4.8.4-8641ecc135b3 on a debian
> testing box with Python2.7 and virtualenv-1.5.1. Running the attached
> script raises the following error:
>
> (venv2.7)vmas@rachael:/tmp$ Traceback (most recent call la
On Thursday 07 April 2011, 15:36:47 Mads Ipsen wrote:
> Hi,
>
> I tried that, but is does not seem to work. The 'XXX' is still hidden
> by the widget in the layout.
>
> What I eventually would like to achieve is to add a QPushButton in,
> say, the upper left corner of the parent widget.
>
> I have
On Thursday 07 April 2011, 12:49:43 Zoltan Szalai wrote:
> Hi,
>
> I'm quite sure I'm missing something fundamental here but I can't get
> QObject.connect to work as expected when using Qt.UniqueConnection as
> a connection type.
> I attached some code that demonstrates my problem. I would expect
>
Hi,
I tried that, but is does not seem to work. The 'XXX' is still hidden by
the widget in the layout.
What I eventually would like to achieve is to add a QPushButton in, say,
the upper left corner of the parent widget.
I have attached a similar example, this time with a QPushButton. This
On Thursday 07 April 2011, 14:58:30 Mads Ipsen wrote:
> Hi,
>
> I have attached a simple example where a widget sets up two labels.
> One which is added to the layout of the widget, and one which is not.
>
> In the paintEvent() of the parent widget I instead position the
> non-layout label using se
Hi,
I have attached a simple example where a widget sets up two labels. One
which is added to the layout of the widget, and one which is not.
In the paintEvent() of the parent widget I instead position the
non-layout label using setGeometry to make it appear in the center of
the parent widge
Hi,
I'm quite sure I'm missing something fundamental here but I can't get
QObject.connect to work as expected when using Qt.UniqueConnection as a
connection type.
I attached some code that demonstrates my problem. I would expect that
the slot is called only once.
versions:
PyQt4: 4.8.3
Qt: 4
Hi,
I'm trying PyQt-x11-gpl-snapshot-4.8.4-8641ecc135b3 on a debian testing box
with Python2.7 and virtualenv-1.5.1. Running the attached script raises the
following error:
(venv2.7)vmas@rachael:/tmp$ Traceback (most recent call last):
File "test_qaction.py", line 9, in
shortcut=QtGui.QK
19 matches
Mail list logo