ui/detailscustomwidget/detailscustomwidgets/glxdetailsicon.cpp
changeset 62 36d93b4dc635
parent 52 a3a4c0de738e
equal deleted inserted replaced
58:383b67fbdb11 62:36d93b4dc635
    48   //add the layout to the icon or else the icon is not showed.
    48   //add the layout to the icon or else the icon is not showed.
    49   HbStackedLayout *stackedLayout = new HbStackedLayout;
    49   HbStackedLayout *stackedLayout = new HbStackedLayout;
    50   stackedLayout->addItem( mFavIcon );
    50   stackedLayout->addItem( mFavIcon );
    51   setLayout( stackedLayout );
    51   setLayout( stackedLayout );
    52   
    52   
    53   mFavIcon->setOpacity(0.7);
    53   mFavIcon->setOpacity(0.9);
    54   HbFrameItem* frame = new HbFrameItem(this);
    54   HbFrameItem* frame = new HbFrameItem(this);
    55   frame->frameDrawer().setFrameType(HbFrameDrawer::NinePieces);
    55   frame->frameDrawer().setFrameType(HbFrameDrawer::NinePieces);
    56   frame->frameDrawer().setFrameGraphicsName("qtg_fr_multimedia_trans");
    56   frame->frameDrawer().setFrameGraphicsName("qtg_fr_multimedia_trans");
    57   frame->graphicsItem()->setOpacity(0.1); 
    57   frame->graphicsItem()->setOpacity(0.1); 
    58   setBackgroundItem(frame->graphicsItem(),-1);   
    58   setBackgroundItem(frame->graphicsItem(),-1);