Qt-interest Archive, March 2002
Clearing a QTable
Message 1 in thread
Is there a function to clear a QTable? Or do I have to clear each item cell
by cell?
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
Message 2 in thread
How about his?
setNumRows(0);
Or if you want to keep the same number of rows:
int n = numRows();
setNumRows(0);
setNumRows(n);
Cheesy but works.
----- Original Message -----
From: "Cylas Thao" <mommyshiney@hotmail.com>
To: <qt-interest@trolltech.com>
Sent: Wednesday, March 27, 2002 4:33 PM
Subject: Clearing a QTable
> Is there a function to clear a QTable? Or do I have to clear each item
cell
> by cell?
>
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp.
>
> --
> List archive and information: http://lists.trolltech.com/qt-interest/
>