: QDialog(aParent)
{
setupUi(this);
+#ifdef MAEMO
+ showFullScreen();
+ //map->setScaledContents(true);
+ //map->setPixmap(aImage.scaled(QSize(800,480),Qt::KeepAspectRatioByExpanding,Qt::SmoothTransformation));
+ map->setPixmap(aImage.scaled(QSize(640,480),Qt::KeepAspectRatioByExpanding,Qt::SmoothTransformation));
+#else
+ map->setPixmap(aImage,Qt::KeepAspectRatioByExpanding,Qt::SmoothTransformation);
+#endif
setMouseTracking(true); // to receive mouse events
setWindowTitle(aName);
- map->setPixmap(aImage);
}
// it is enough to handle mouseReleaseEvent, instead of