QTable

GPL Closed

A table widget that holds different table items.

[ Official docs | Back to Index ]

Styles and Code

Code
windows
sgi
plastik
aqua
QTable *w = new QTable( 10, 5, 0, 0 ); w->setItem( 0, 0, new QTableItem( w, QTableItem::WhenCurrent, QString("Test 1") ) ); w->setItem( 0, 1, new QTableItem( w, QTableItem::WhenCurrent, QString("Test 2") ) ); w->setItem( 1, 0, new QCheckTableItem( w, QString("Test 1") ) ); w->setItem( 1, 1, new QCheckTableItem( w, QString("Test 2") ) ); w->setItem( 2, 0, new QComboTableItem( w, QStringList::split( '|', "Test 2|Test 1|Test 3" ) ) ); w->setItem( 2, 1, new QComboTableItem( w, QStringList::split( '|', "Test 3|Test 2|Test 1" ) ) ); w->resize( 200, 150 );

[ Back to Index ]

Licenses are noted in grayed out, smaller text. Closed indicates that the widget is available under a closed-source compatible license. Dual licensing is possible.

Provided by the DigitalFanatics, the host of the Independent Qt Tutorial.