Details
-
Bug
-
Resolution: Incomplete
-
P3: Somewhat important
-
5.0.2
-
Qt 5.0.2
OSX 10.8.3
Description
This ComboBox delegate won't open the list of options when clicking on it instead it just changes cell focus. Issue can be seen at least on OS X.
class ItemDelegate: public QStyledItemDelegate
{
public:
ItemDelegate(QTreeWidget* parent)
: QStyledItemDelegate(parent)
{}
QWidget* createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const
{
if (index.column() == 1)
return NULL;
}
}