Le Mercredi 22 Octobre 2003 10:19, Gerard Vermeulen a écrit :
if ( object == (QObject *)axis(yLeft) ) // HOW TO THIS IN PYTHON?
Not sure at all, but maybe this will do:
if object is axis(yLeft):
Hope this helps,
Aurélien
___
PyKDE
On Wed, 22 Oct 2003 10:38:21 +0200
Aurélien Gâteau [EMAIL PROTECTED] wrote:
Le Mercredi 22 Octobre 2003 10:19, Gerard Vermeulen a écrit :
if ( object == (QObject *)axis(yLeft) ) // HOW TO THIS IN PYTHON?
Not sure at all, but maybe this will do:
if object is axis(yLeft):
Hope
On Wednesday 22 October 2003 9:19 am, Gerard Vermeulen wrote:
Hi,
I have difficulty to translate this C++ idiom in Python:
bool Plot::eventFilter(QObject *object, QEvent *e)
{
if ( e-type() == QEvent::Resize )
{
const QSize size = ((QResizeEvent *)e)-size();
if (
On Wednesday 22 October 2003 11:36 am, Gerard Vermeulen wrote:
On Wed, 22 Oct 2003 10:56:33 +0100
Phil Thompson [EMAIL PROTECTED] wrote:
On Wednesday 22 October 2003 9:19 am, Gerard Vermeulen wrote:
Hi,
I have difficulty to translate this C++ idiom in Python:
bool