Hello, I discovered some problem with make ComboBox with checkable items.
I have used simple code from http://stackoverflow.com/questions/8...of-checkboxes:

Qt Code:
  1. #include <QtGui>
  2.  
  3. int main(int argc, char** argv)
  4. {
  5. QApplication app(argc, argv);
  6.  
  7. QStandardItemModel model(3, 1); // 3 rows, 1 col
  8. for (int r = 0; r < 3; ++r)
  9. {
  10. QStandardItem* item = new QStandardItem(QString("Item %0").arg(r));
  11.  
  12. item->setFlags(Qt::ItemIsUserCheckable | Qt::ItemIsEnabled);
  13. item->setData(Qt::Unchecked, Qt::CheckStateRole);
  14.  
  15. model.setItem(r, 0, item);
  16. }
  17.  
  18. QComboBox* combo = new QComboBox();
  19. combo->setModel(&model);
  20.  
  21. QListView* list = new QListView();
  22. list->setModel(&model);
  23.  
  24. QTableView* table = new QTableView();
  25. table->setModel(&model);
  26.  
  27. QWidget container;
  28. QVBoxLayout* containerLayout = new QVBoxLayout();
  29. container.setLayout(containerLayout);
  30. containerLayout->addWidget(combo);
  31. containerLayout->addWidget(list);
  32. containerLayout->addWidget(table);
  33.  
  34. container.show();
  35.  
  36. return app.exec();
  37. }
To copy to clipboard, switch view to plain text mode 

Its generate sample treeview, tableview and combobox view with checkable items.
It works well under windos.

But i compiled it under ubuntu (13.10) and there is a problem wich combo box - the
items are greyed, unable to clik and without the checkbox.

Is there a possibility to make it working uner Ubuntu?