#include <arenaview.h>
Public Slots | |
void | slotZoomIn () |
void | slotZoomOut () |
Public Member Functions | |
ArenaView (ArenaController *controller, QWidget *parent=0) | |
void | drawBackground (QPainter *painter, const QRectF &rect) |
void | drawForeground (QPainter *painter, const QRectF &rect) |
void | mouseMoveEvent (QMouseEvent *event) |
void | mousePressEvent (QMouseEvent *event) |
void | mouseReleaseEvent (QMouseEvent *event) |
void | setArena (Arena *arena) |
void | wheelEvent (QWheelEvent *event) |
Private Slots | |
void | slotGridPaintingDisabled () |
Private Member Functions | |
ArenaScene * | arenaScene () |
void | dragEnded () |
void | dragEnterEvent (QDragEnterEvent *event) |
void | dragLeaveEvent (QDragLeaveEvent *event) |
void | dragMoveEvent (QDragMoveEvent *event) |
void | dragStarted () |
void | dropEvent (QDropEvent *event) |
Private Attributes | |
Arena * | m_arena |
ArenaController * | m_controller |
QPoint | m_lastMousePos |
QPointF | m_lastMousePosScene |
bool | m_rubberBandActive |
Definition at line 16 of file arenaview.h.
ArenaView::ArenaView | ( | ArenaController * | controller, |
QWidget * | parent = 0 |
||
) |
Definition at line 15 of file arenaview.cpp.
|
private |
Definition at line 199 of file arenaview.cpp.
|
private |
Definition at line 236 of file arenaview.cpp.
|
private |
Definition at line 243 of file arenaview.cpp.
|
private |
Definition at line 253 of file arenaview.cpp.
|
private |
Definition at line 261 of file arenaview.cpp.
|
private |
Definition at line 229 of file arenaview.cpp.
void ArenaView::drawBackground | ( | QPainter * | painter, |
const QRectF & | rect | ||
) |
Definition at line 37 of file arenaview.cpp.
void ArenaView::drawForeground | ( | QPainter * | painter, |
const QRectF & | rect | ||
) |
Definition at line 97 of file arenaview.cpp.
|
private |
Definition at line 267 of file arenaview.cpp.
void ArenaView::mouseMoveEvent | ( | QMouseEvent * | event | ) |
Definition at line 134 of file arenaview.cpp.
void ArenaView::mousePressEvent | ( | QMouseEvent * | event | ) |
Definition at line 102 of file arenaview.cpp.
void ArenaView::mouseReleaseEvent | ( | QMouseEvent * | event | ) |
Definition at line 185 of file arenaview.cpp.
|
inline |
Definition at line 29 of file arenaview.h.
|
privateslot |
Definition at line 31 of file arenaview.cpp.
|
slot |
Definition at line 215 of file arenaview.cpp.
|
slot |
Definition at line 222 of file arenaview.cpp.
void ArenaView::wheelEvent | ( | QWheelEvent * | event | ) |
Definition at line 204 of file arenaview.cpp.
|
private |
Definition at line 49 of file arenaview.h.
|
private |
Definition at line 54 of file arenaview.h.
|
private |
Definition at line 52 of file arenaview.h.
|
private |
Definition at line 53 of file arenaview.h.
|
private |
Definition at line 51 of file arenaview.h.