[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] QTabWidget: Unbound symbols -> AttributeError?
From:       Phil Thompson <phil () riverbankcomputing ! co ! uk>
Date:       2003-05-20 12:25:41
[Download RAW message or body]

On Monday 19 May 2003 11:22 pm, Anthony Bellissimo wrote:
> I searched the archives for this problem, but didn't find anything that
> was ever resolved (though a few people mentioned it). This code is
> sufficient to demonstrate the problem:
>
> ----
> from qt import *
> qa = QApplication([])
> tw = QTabWidget()
> qw = QWidget()
> tw.addTab(qw,"blah")
> # This line fails, sometimes.
> print "How many tabs? %d tab(s)"%tw.count()
> ----
>
> Under normal circumstances, this gives 1. However, with the most recent
> version of Qt and PyQt on both Windows and the Sharp Zaurus, it dies
> with an AttributeError, suggesting that some of the bindings aren't
> working quite right. I noticed it with some other functions as well,
> such as (int)indexOf(QWidget) and (QWidget)page(int). Is there some way
> around this, even if the solution is to roll back to an earlier version
> of one of the libraries involved? It's frustrating that this stuff
> works fine on the Gentoo install on my desktop but not on either of the
> other two platforms.

I can't reproduce this under either Windows or Linux.

Phil

_______________________________________________
PyKDE mailing list    PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic