browser.view.hasPanned = false;
}
else{
reachabilityTile = getTile(event);
QMenu menu = new QMenu();
QAction action1 = new QAction("Draw Reachability (1 Hop)", this);
QAction action2 = new QAction("Draw Reachability (2 Hops)", this);
QAction action3 = new QAction("Draw Reachability (3 Hops)", this);
QAction action4 = new QAction("Draw Reachability (4 Hops)", this);
QAction action5 = new QAction("Draw Reachability (5 Hops)", this);
QAction actionClear = new QAction("Clear Highlighted Tiles", this);
action1.triggered.connect(this, "menuReachability1()");
action2.triggered.connect(this, "menuReachability2()");
action3.triggered.connect(this, "menuReachability3()");
action4.triggered.connect(this, "menuReachability4()");
action5.triggered.connect(this, "menuReachability5()");
actionClear.triggered.connect(this, "menuReachabilityClear()");
menu.addAction(action1);
menu.addAction(action2);
menu.addAction(action3);
menu.addAction(action4);
menu.addAction(action5);
menu.addAction(actionClear);
menu.exec(event.screenPos());
}
}
super.mouseReleaseEvent(event);