aboutsummaryrefslogtreecommitdiff
path: root/Source/MapEditor/mygraphicsscene.cpp
blob: 391931e94e13bf8c165a62e8894d106170fc7274 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "mygraphicsscene.h"
#include <QDebug>

MyGraphicsScene::MyGraphicsScene()
{

}

void MyGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent *mouseEvent)
{
    QGraphicsItem *it = this->itemAt(mouseEvent->scenePos(), QTransform());
    if (it != NULL)
    {

    }
    else
    {
        // No items selected
    }
}