Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.6.2
-
None
-
None
-
Nokia N95
-
d242d2f863936a4e3e2b07a4d84b7f0c4b4eb817
Description
I have a QTreeView using a standard model with items having the checkable option = true. On Windows Mobile and Win32 I get a checkbox on the left of each row in the QTreeView by doing this allowing to pick multiple elements from the QTreeView.
Problem: On Symbian there is space allocated to the left of each row but there is no checkbox. Tested on N95 device.
Expected: I expect a checkbox and when I press the select button while navigating in the QTreeView the item would be checked.
I basicall do like this:
myTreeView = new QTreeView(this);
myTreeView->setObjectName(QString("contactList")); //To use stylesheets
myTreeView->header()->hide();
myTreeView->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
myTreeView->setItemsExpandable(false);
myTreeView->setIndentation(0);
standardModel = new QStandardItemModel(this);
myTreeView->setModel(standardModel);
QStandardItem* item = new QStandardItem( QIcon(":/gui/images/bmyimg.png"), myString);
item->setCheckable(true);
item->setEditable(false);
QList<QStandardItem*> itemList;
itemList.append(item);
standardModel->appendRow(itemList);