[PyKDE] about qttable.QTable

Phil Thompson phil at river-bank.demon.co.uk
Mon Nov 25 10:21:01 GMT 2002


On Saturday 23 November 2002 4:15 am, katagiri wrote:
> Hi,
>
> I want to use insertRows() method of the class QTable,
> but I got AttributeError as below.
>
>
> $ python
> Python 2.2.2 (#2, Oct 21 2002, 12:06:05)
> [GCC 2.95.3 20010315 (release)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>
> >>> from qt import *
> >>> import qttable
> >>> a=QApplication([])
> >>> qttable.QTable.insertRows
>
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> AttributeError: insertRows

Which version of Qt are you using? insertRows was added with Qt v3.

Phil




More information about the PyQt mailing list