Public Slots | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
ArenaView Class Reference

#include <arenaview.h>

Inheritance diagram for ArenaView:
Inheritance graph
[legend]

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 15 of file arenaview.cpp.

Member Function Documentation

ArenaScene * ArenaView::arenaScene ( )
private

Definition at line 199 of file arenaview.cpp.

void ArenaView::dragEnded ( )
private

Definition at line 236 of file arenaview.cpp.

void ArenaView::dragEnterEvent ( QDragEnterEvent *  event)
private

Definition at line 243 of file arenaview.cpp.

void ArenaView::dragLeaveEvent ( QDragLeaveEvent *  event)
private

Definition at line 253 of file arenaview.cpp.

void ArenaView::dragMoveEvent ( QDragMoveEvent *  event)
private

Definition at line 261 of file arenaview.cpp.

void ArenaView::dragStarted ( )
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.

void ArenaView::dropEvent ( QDropEvent *  event)
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.

void ArenaView::setArena ( Arena arena)
inline

Definition at line 29 of file arenaview.h.

void ArenaView::slotGridPaintingDisabled ( )
privateslot

Definition at line 31 of file arenaview.cpp.

void ArenaView::slotZoomIn ( )
slot

Definition at line 215 of file arenaview.cpp.

void ArenaView::slotZoomOut ( )
slot

Definition at line 222 of file arenaview.cpp.

void ArenaView::wheelEvent ( QWheelEvent *  event)

Definition at line 204 of file arenaview.cpp.

Member Data Documentation

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.


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


hector_nist_arena_designer
Author(s): Stefan Kohlbrecher , Johannes Simon
autogenerated on Fri Aug 21 2020 10:45:27