void Table::resizeData( int ) {}
QTableItem* Table::item( int r, int c ) const {
//printf("accessing item at : %d %d \n", r, c);
return contents.find( indexOf( r, c ) );
}
void Table::setItem( int r, int c, QTableItem *i ) {
contents.replace( indexOf( r, c ), i );
}
void Table::clearCell( int r, int c ) {
contents.remove( indexOf( r, c ) );
}
void Table
::insertWidget( int r,
int c,
QWidget *w
) { widgets.replace( indexOf( r, c ), w );
}
QWidget* Table
::cellWidget( int r,
int c
) const { return widgets.find( indexOf( r, c ) );
}
void Table::clearCellWidget( int r, int c ) {
widgets.remove( indexOf( r, c ) );
}
void Table::resizeData( int ) {}
QTableItem* Table::item( int r, int c ) const {
//printf("accessing item at : %d %d \n", r, c);
return contents.find( indexOf( r, c ) );
}
void Table::setItem( int r, int c, QTableItem *i ) {
contents.replace( indexOf( r, c ), i );
}
void Table::clearCell( int r, int c ) {
contents.remove( indexOf( r, c ) );
}
void Table::insertWidget( int r, int c, QWidget *w ) {
widgets.replace( indexOf( r, c ), w );
}
QWidget* Table::cellWidget( int r, int c ) const {
return widgets.find( indexOf( r, c ) );
}
void Table::clearCellWidget( int r, int c ) {
widgets.remove( indexOf( r, c ) );
}
To copy to clipboard, switch view to plain text mode
Bookmarks