Public Slots | Public Member Functions | Private Slots | Private Member Functions | Private Attributes
ArenaView Class Reference

#include <arenaview.h>

List of all members.

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

ArenaScenearenaScene ()
void dragEnded ()
void dragEnterEvent (QDragEnterEvent *event)
void dragLeaveEvent (QDragLeaveEvent *event)
void dragMoveEvent (QDragMoveEvent *event)
void dragStarted ()
void dropEvent (QDropEvent *event)

Private Attributes

Arenam_arena
ArenaControllerm_controller
QPoint m_lastMousePos
QPointF m_lastMousePosScene
bool m_rubberBandActive

Detailed Description

Definition at line 16 of file arenaview.h.


Constructor & Destructor Documentation

ArenaView::ArenaView ( ArenaController controller,
QWidget *  parent = 0 
)

Definition at line 14 of file arenaview.cpp.


Member Function Documentation

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.


Member Data Documentation

Definition at line 49 of file arenaview.h.

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.

Definition at line 51 of file arenaview.h.


The documentation for this class was generated from the following files:


hector_nist_arena_designer
Author(s): Stefan Kohlbrecher , Johannes Simon
autogenerated on Wed Oct 4 2017 03:29:29