QListView

GPL Closed

A list view. It can be used for showing trees too.

[ Official docs | Back to Index ]

Styles and Code

Code
windows
sgi
plastik
aqua
QListView *w = new QListView( 0, 0 ); w->setRootIsDecorated( true ); w->addColumn( QString("Test") ); w->addColumn( QString("Letter") ); w->addColumn( QString("Roman") ); QListViewItem *i = new QListViewItem( w, QString("Test 1"), QString("a"), QString("i") ); i->setOpen( true ); new QListViewItem( w->firstChild(), QString("Test 2"), QString("b"), QString("ii") ); new QListViewItem( w, QString("Test 3"), QString("c"), QString("iii") );
QListView *w = new QListView( 0, 0 ); w->addColumn( QString("Test") ); w->addColumn( QString("Letter") ); w->addColumn( QString("Roman") ); new QListViewItem( w, QString("Test 1"), QString("a"), QString("i") ); new QListViewItem( w, QString("Test 2"), QString("b"), QString("ii") ); new QListViewItem( w, QString("Test 3"), QString("c"), QString("iii") );

[ 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.