#include <arena.h>


Definition at line 33 of file arena.h.
Public Slots | |
| void | animate () |
| void | setShrinkPathEnabled (bool) |
| void | setDrawSurfaceEnabled (bool) |
| void | zoom (qreal) |
Signals | |
| void | preferredPosChanged (QPoint) |
| void | coreInfoChanged () |
Public Member Functions | |
| Arena (CoreSync *, QWidget *parent=0) | |
| ~Arena () | |
| QSize | envSize () const |
| int | botSize () const |
| const CoreInfo & | coreInfo () const |
Protected Member Functions | |
| virtual void | paintEvent (QPaintEvent *) |
Private Slots | |
| void | botPosChanged () |
Private Attributes | |
| Private * | d |
Classes | |
| struct | Private |
Definition at line 69 of file arena.cc.
References BotPath::addPos(), animate(), Arena::Private::arena, Arena::Private::botLastPosition, Arena::Private::botPath, Arena::Private::botPosF(), Arena::Private::botPosition, Arena::Private::botSize, Arena::Private::coreInfo, Arena::Private::cs, d, Arena::Private::drawSurface, dtRepaint, Arena::Private::envSize, readCoreInfo(), Arena::Private::ticks, Arena::Private::timer, Point::x, Point::y, and zoom().

| ~Arena | ( | ) |
| QSize envSize | ( | ) | const |
Definition at line 108 of file arena.cc.
References d, and Arena::Private::envSize.
Referenced by VisWnd::showMainWindow().

| int botSize | ( | ) | const |
Definition at line 115 of file arena.cc.
References Arena::Private::botSize, d, and Arena::Private::zoomRatio.
Referenced by VisWnd::scrollToView().
| const CoreInfo & coreInfo | ( | ) | const [virtual] |
Implements ICoreInfoSource.
Definition at line 118 of file arena.cc.
References Arena::Private::coreInfo, and d.
| void preferredPosChanged | ( | QPoint | ) | [signal] |
Referenced by botPosChanged(), and zoom().
| void coreInfoChanged | ( | ) | [signal] |
Referenced by botPosChanged().
| void animate | ( | ) | [slot] |
Definition at line 121 of file arena.cc.
References d, and Arena::Private::ticks.
Referenced by Arena().
| void setShrinkPathEnabled | ( | bool | enabled | ) | [slot] |
Definition at line 145 of file arena.cc.
References Arena::Private::botPath, d, and BotPath::setShrinkEnabled().
| void setDrawSurfaceEnabled | ( | bool | enabled | ) | [slot] |
| void zoom | ( | qreal | ratio | ) | [slot] |
Definition at line 125 of file arena.cc.
References Arena::Private::botPosPx(), d, envPenWidth, Arena::Private::envSize, preferredPosChanged(), and Arena::Private::zoomRatio.
Referenced by Arena(), and VisWnd::VisWnd().
| void paintEvent | ( | QPaintEvent * | ) | [protected, virtual] |
Definition at line 153 of file arena.cc.
References Arena::Private::botLastPosition, botPosChanged(), Arena::Private::botPosF(), Arena::Private::botPosition, Arena::Private::coreInfo, Arena::Private::cs, d, readCoreInfo(), Arena::Private::render(), and Arena::Private::zoomRatio.

| void botPosChanged | ( | ) | [private, slot] |
Definition at line 186 of file arena.cc.
References BotPath::addPos(), Arena::Private::botLastPosition, Arena::Private::botPath, Arena::Private::botPosPx(), coreInfoChanged(), d, and preferredPosChanged().
Referenced by paintEvent().
Definition at line 54 of file arena.h.
Referenced by animate(), Arena(), botPosChanged(), botSize(), coreInfo(), envSize(), paintEvent(), setDrawSurfaceEnabled(), setShrinkPathEnabled(), zoom(), and ~Arena().
1.5.4