contactengine/detailsgv.cpp
changeset 35 0cb8cc1ee8f5
parent 34 93c5a58496b6
equal deleted inserted replaced
34:93c5a58496b6 35:0cb8cc1ee8f5
    51     leftLayout->addItem(proxyForName["callMe"]);
    51     leftLayout->addItem(proxyForName["callMe"]);
    52     leftLayout->addItem(proxyForName["textMe"]);
    52     leftLayout->addItem(proxyForName["textMe"]);
    53     leftLayout->addItem(proxyForName["back"]);
    53     leftLayout->addItem(proxyForName["back"]);
    54     leftLayout->addItem(proxyForName["exitApp"]);
    54     leftLayout->addItem(proxyForName["exitApp"]);
    55 
    55 
    56      // looks like there is a bug with respect to displaying jpeg's in a scene on Symbian^1.
    56 
    57      // I've asked about it on the mailing list QtS60-feedback@trolltech.com.
    57      // you can use jpeg too.  However, it consumes more memory. If you want to use jpeg, edit
       
    58      // the pro file and bump up the max heap size.
    58      //QGraphicsPixmapItem *profile = new QGraphicsPixmapItem( QPixmap(":/images/MadProf_thumb.jpg"));
    59      //QGraphicsPixmapItem *profile = new QGraphicsPixmapItem( QPixmap(":/images/MadProf_thumb.jpg"));
    59      // strange returns width of screen not button ?
    60 
    60      // int w = this->callMe->width();
       
    61      // profile->setX(100);
       
    62 
    61 
    63      // svg from open clipart (http://www.openclipart.org/detail/959)
    62      // svg from open clipart (http://www.openclipart.org/detail/959)
    64      QGraphicsSvgItem *profile = new QGraphicsSvgItem(":/images/johnny_automatic_marching_band_1.svg");
    63      QGraphicsSvgItem *profile = new QGraphicsSvgItem(":/images/johnny_automatic_marching_band_1.svg");
    65      profile->scale(0.5,0.5);
    64      profile->scale(0.5,0.5);
    66      profile->setX(32);
    65      profile->setX(32);