started work on displaying map
[toast/confclerk.git] / src / gui / mapwindow.cpp
1 #include "mapwindow.h"
2
3 MapWindow::MapWindow(const QPixmap &aImage, QWidget *aParent)
4     : QDialog(aParent)
5 {
6     setupUi(this);
7     setMouseTracking(true); // to receive mouse events
8     map->setPixmap(aImage);
9 }
10
11 void MapWindow::mouseDoubleClickEvent(QMouseEvent *event)
12 {
13     close();
14 }
15