ComboBox实现下拉复选框
代码如下
m_workshopListWidget = new QListWidget(this);
m_workshopListWidget->setObjectName(QString("listWidget_wkshop"));
for(int i=0; i< m_workshopList.length(); i++)
{
QListWidgetItem *item = new QListWidgetItem();
m_workshopListWidget->addItem(item);
QCheckBox *chkBox = new QCheckBox();
chkBox