mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-20 07:36:31 -05:00
Display 'prefab selected' tooltip when selecting a prefab for painting
This commit is contained in:
@@ -12,12 +12,8 @@ public:
|
||||
ClickableGraphicsView(QWidget *parent) : QGraphicsView(parent) {}
|
||||
|
||||
public:
|
||||
void mousePressEvent(QMouseEvent *event) {
|
||||
QGraphicsView::mousePressEvent(event);
|
||||
emit this->clicked(event);
|
||||
}
|
||||
void mouseDoubleClickEvent(QMouseEvent *event) {
|
||||
QGraphicsView::mouseDoubleClickEvent(event);
|
||||
void mouseReleaseEvent(QMouseEvent *event) override {
|
||||
QGraphicsView::mouseReleaseEvent(event);
|
||||
emit this->clicked(event);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user