开发者

Is it possible to have a QMaemo5ListPickSelector which displays images as items?

I wanted to know if its possible to have a QMaemo5ListPickSelector but one which displays rectangular images as list items instead of text ? Is this possible ? If not, is there any other list-like object in Qt which can show images as items instead of text ?开发者_StackOverflow中文版


You can access list view using QMaemo5ListPickSelector::view() and set item delegate for this view using QAbstractItemView::setItemDelegate(). In delegate item's visual presentation is pretty much unlimited. See Star Delegate example to get into the details of delegate's implementation http://doc.qt.nokia.com/qt-maemo/itemviews-stardelegate.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜