Ignore:
Timestamp:
01/21/10 09:49:21 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
ce75316
Parents:
8fe9bd2
Message:

map is displayed in FullScreen? mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/mapwindow.cpp

    r8fe9bd2 rbe9c036  
    55{
    66    setupUi(this);
     7#ifdef MAEMO
     8    showFullScreen();
     9    //map->setScaledContents(true);
     10    //map->setPixmap(aImage.scaled(QSize(800,480),Qt::KeepAspectRatioByExpanding,Qt::SmoothTransformation));
     11    map->setPixmap(aImage.scaled(QSize(640,480),Qt::KeepAspectRatioByExpanding,Qt::SmoothTransformation));
     12#else
     13    map->setPixmap(aImage,Qt::KeepAspectRatioByExpanding,Qt::SmoothTransformation);
     14#endif
    715    setMouseTracking(true); // to receive mouse events
    816    setWindowTitle(aName);
    9     map->setPixmap(aImage);
    1017}
    1118
Note: See TracChangeset for help on using the changeset viewer.