C++ (Qt)#include <QApplication>#include <QLabel>#include <QTreeWidget>#include <QTreeWidgetItem> int main(int argc, char *argv[]){ QApplication a(argc, argv); QTreeWidget tw; tw.setIndentation( 0 ); tw.setColumnCount( 4 ); tw.setRootIsDecorated( false ); for( int i = 0; i < 10; i++ ) { QTreeWidgetItem* item = new QTreeWidgetItem( QStringList() << QString( "Item <%1>" ).arg( i + 1, 2, 10, QChar( '0' ) ) << "X" << "Y" << "Z" ); tw.addTopLevelItem( item ); item = new QTreeWidgetItem( item ); item->setFirstColumnSpanned( true ); QLabel* lb = new QLabel; lb->setText( "<table cellpadding='10' width='100%'><tr>" "<td align=center valign=middle><img src='X'></td>" "<td><table>" "<tr><td>A1:</td><td>-</td></tr>" "<tr><td>A2:</td><td>-</td></tr>" "</table></td>" "<td><table>" "<tr><td>B1</td><td>-</td></tr>" "<tr><td>B2</td><td>-</td></tr>" "</table></td>" "</tr></table>" ); lb->setFrameStyle( QFrame::StyledPanel | QFrame::Raised ); tw.setItemWidget( item, 0, lb ); } tw.show(); return a.exec();}