C++ (Qt)QTableView* tv; QMenu* menu;QWidgetAction* wa;wa->setDefaultWidget( tv );menu->addAction( wa ); QToolButton* tb;tb->setPopupMode( QToolButton::MenuButtonPopup );tb->setMenu( menu );
C++ (Qt)QComboBox::setView()QComboBox::setModel()QComboBox::setItemDelegate()