DIE Engine
Toggle main menu visibility
Loading...
Searching...
No Matches
wdgmapview.h
Go to the documentation of this file.
1
11
12
#ifndef WDG_MAPVIEW_H
13
#define WDG_MAPVIEW_H
14
15
#include <QWidget>
16
17
class
WdgMapView
:
public
QWidget
18
{
19
Q_OBJECT
20
21
public
:
22
explicit
WdgMapView
(QWidget *parent =
nullptr
);
23
24
protected
:
25
void
paintEvent
(QPaintEvent * event)
override
;
26
27
void
mousePressEvent
(QMouseEvent *event)
override
;
28
void
mouseMoveEvent
(QMouseEvent *event)
override
;
29
void
wheelEvent
(QWheelEvent *event)
override
;
30
31
private
:
32
int
dragX;
33
bool
clickRegistered;
34
35
void
drawViewLabel(QPainter & painter);
36
};
37
38
#endif
// WDG_MAPVIEW_H
WdgMapView::wheelEvent
void wheelEvent(QWheelEvent *event) override
Definition
wdgmapview.cpp:115
WdgMapView::mouseMoveEvent
void mouseMoveEvent(QMouseEvent *event) override
Definition
wdgmapview.cpp:88
WdgMapView::WdgMapView
WdgMapView(QWidget *parent=nullptr)
Definition
wdgmapview.cpp:26
WdgMapView::mousePressEvent
void mousePressEvent(QMouseEvent *event) override
Definition
wdgmapview.cpp:71
WdgMapView::paintEvent
void paintEvent(QPaintEvent *event) override
Definition
wdgmapview.cpp:46
editor
wdgmapview.h
Generated by
1.17.0