double click on zones opens zone view

This commit is contained in:
brukie 2009-06-17 18:05:17 +02:00
parent 04a3d311be
commit a246a8d561
3 changed files with 14 additions and 5 deletions

View file

@ -27,6 +27,12 @@ void CardZone::clearContents()
cards->clear();
}
void CardZone::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event)
{
if (doubleClickAction)
doubleClickAction->trigger();
}
void CardZone::mousePressEvent(QGraphicsSceneMouseEvent *event)
{
if (event->button() == Qt::RightButton) {