Dear Tutors,
   I would like to use this funtion in pyqt and came
across the following problems.
void QTable::removeRows ( const QMemArray<int> & rows
)

1. 
from qt import QMemArray
ImportError: cannot import name QMemArray
2.
mylist=[5]
self.mytable.removeRows(mylist)

QGArray::at: Absolute index 0 out of range
Segmentation fault

"""
#http://www.riverbankcomputing.co.uk/pyqt/docs/PyQt.html#AEN668
QMemArray<type> (Qt v3+)

Types based on the QMemArray template are
automatically converted to and from Python lists of
the type.
"""
    How do I pass the QMemArray Object to the
removeRows funtion?


  Thanks,
  Jacob Abraham  

__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to