equal
deleted
inserted
replaced
261 { |
261 { |
262 // Register the custorm css path. |
262 // Register the custorm css path. |
263 HbStyleLoader::registerFilePath(":/clv"); |
263 HbStyleLoader::registerFilePath(":/clv"); |
264 |
264 |
265 mMsgList = new HbListView(this); |
265 mMsgList = new HbListView(this); |
266 mMsgList->setScrollingStyle(HbScrollArea::PanOrFlick); |
|
267 mMsgList->setClampingStyle(HbScrollArea::BounceBackClamping); |
266 mMsgList->setClampingStyle(HbScrollArea::BounceBackClamping); |
268 |
267 |
269 mMsgList->setLayoutName("custom"); |
268 mMsgList->setLayoutName("custom"); |
270 mMsgList->setItemRecycling(true); |
269 mMsgList->setItemRecycling(true); |
|
270 mMsgList->setItemPixmapCacheEnabled(true); |
271 mMsgList->setUniformItemSizes(true); |
271 mMsgList->setUniformItemSizes(true); |
272 |
272 |
273 MsgListViewItem *prototype = new MsgListViewItem(this); |
273 MsgListViewItem *prototype = new MsgListViewItem(this); |
274 mMsgList->setItemPrototype(prototype); |
274 mMsgList->setItemPrototype(prototype); |
275 mMsgList->setModel(ConversationsEngine::instance()->getConversationsSummaryModel()); |
275 mMsgList->setModel(ConversationsEngine::instance()->getConversationsSummaryModel()); |