#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 14 of file arenaview.cpp.
ArenaScene * ArenaView::arenaScene | ( | ) | [private] |
Definition at line 198 of file arenaview.cpp.
void ArenaView::dragEnded | ( | ) | [private] |
Definition at line 235 of file arenaview.cpp.
void ArenaView::dragEnterEvent | ( | QDragEnterEvent * | event | ) | [private] |
Definition at line 242 of file arenaview.cpp.
void ArenaView::dragLeaveEvent | ( | QDragLeaveEvent * | event | ) | [private] |
Definition at line 252 of file arenaview.cpp.
void ArenaView::dragMoveEvent | ( | QDragMoveEvent * | event | ) | [private] |
Definition at line 260 of file arenaview.cpp.
void ArenaView::dragStarted | ( | ) | [private] |
Definition at line 228 of file arenaview.cpp.
void ArenaView::drawBackground | ( | QPainter * | painter, |
const QRectF & | rect | ||
) |
Definition at line 36 of file arenaview.cpp.
void ArenaView::drawForeground | ( | QPainter * | painter, |
const QRectF & | rect | ||
) |
Definition at line 96 of file arenaview.cpp.
void ArenaView::dropEvent | ( | QDropEvent * | event | ) | [private] |
Definition at line 266 of file arenaview.cpp.
void ArenaView::mouseMoveEvent | ( | QMouseEvent * | event | ) |
Definition at line 133 of file arenaview.cpp.
void ArenaView::mousePressEvent | ( | QMouseEvent * | event | ) |
Definition at line 101 of file arenaview.cpp.
void ArenaView::mouseReleaseEvent | ( | QMouseEvent * | event | ) |
Definition at line 184 of file arenaview.cpp.
void ArenaView::setArena | ( | Arena * | arena | ) | [inline] |
Definition at line 29 of file arenaview.h.
void ArenaView::slotGridPaintingDisabled | ( | ) | [private, slot] |
Definition at line 30 of file arenaview.cpp.
void ArenaView::slotZoomIn | ( | ) | [slot] |
Definition at line 214 of file arenaview.cpp.
void ArenaView::slotZoomOut | ( | ) | [slot] |
Definition at line 221 of file arenaview.cpp.
void ArenaView::wheelEvent | ( | QWheelEvent * | event | ) |
Definition at line 203 of file arenaview.cpp.
Arena* ArenaView::m_arena [private] |
Definition at line 49 of file arenaview.h.
ArenaController* ArenaView::m_controller [private] |
Definition at line 54 of file arenaview.h.
QPoint ArenaView::m_lastMousePos [private] |
Definition at line 52 of file arenaview.h.
QPointF ArenaView::m_lastMousePosScene [private] |
Definition at line 53 of file arenaview.h.
bool ArenaView::m_rubberBandActive [private] |
Definition at line 51 of file arenaview.h.