equal
deleted
inserted
replaced
17 |
17 |
18 #include <hbmenu.h> |
18 #include <hbmenu.h> |
19 #include <hbtoolbar.h> |
19 #include <hbtoolbar.h> |
20 #include <hbaction.h> |
20 #include <hbaction.h> |
21 #include <hblistview.h> |
21 #include <hblistview.h> |
22 #include <hbabstractviewitem.h> |
22 #include <hblistviewitem.h> |
23 #include <hbscrollbar.h> |
23 #include <hbscrollbar.h> |
24 #include <HbGroupBox> |
24 #include <HbGroupBox> |
25 #include <HbMarqueeItem> |
25 #include <HbMarqueeItem> |
26 #include <HbLabel> |
26 #include <HbLabel> |
27 #include <hbframedrawer.h> |
27 #include <hbframedrawer.h> |
119 iStationName->setFont(font); |
119 iStationName->setFont(font); |
120 iArtistSongName = qobject_cast<HbMarqueeItem *>(iLoader.findWidget(ABSTRACT_LIST_VIEW_BASE_OBJECT_ARTISTSONGNAME)); |
120 iArtistSongName = qobject_cast<HbMarqueeItem *>(iLoader.findWidget(ABSTRACT_LIST_VIEW_BASE_OBJECT_ARTISTSONGNAME)); |
121 iArtistSongName->setLoopCount(KAnimationLoopTimes); |
121 iArtistSongName->setLoopCount(KAnimationLoopTimes); |
122 |
122 |
123 iListView = qobject_cast<HbListView *>(iLoader.findObject(ABSTRACT_LIST_VIEW_BASE_OBJECT_LISTVIEW)); |
123 iListView = qobject_cast<HbListView *>(iLoader.findObject(ABSTRACT_LIST_VIEW_BASE_OBJECT_LISTVIEW)); |
124 |
124 iListView->listItemPrototype()->setGraphicsSize(HbListViewItem::LargeIcon); |
|
125 |
125 // draw background for now playing banner |
126 // draw background for now playing banner |
126 HbFrameDrawer* drawer = new HbFrameDrawer(NOW_PLAYING_BANNER_FRAME, HbFrameDrawer::NinePieces); |
127 HbFrameDrawer* drawer = new HbFrameDrawer(NOW_PLAYING_BANNER_FRAME, HbFrameDrawer::NinePieces); |
127 HbFrameItem* backgroundItem = new HbFrameItem(drawer, iPlayingBanner); |
128 HbFrameItem* backgroundItem = new HbFrameItem(drawer, iPlayingBanner); |
128 if (backgroundItem) |
129 if (backgroundItem) |
129 { |
130 { |