kblackbox
#include <kbbgraphicsitemcursor.h>
Signals | |
void | cursorAtNewPosition (const int borderPosition) |
Public Member Functions | |
KBBGraphicsItemCursor (KBBScalableGraphicWidget *parent, KBBThemeManager *themeManager) | |
int | borderPosition () |
int | boxPosition () |
void | moveDown () |
void | moveLeft () |
void | moveRight () |
void | moveUp () |
void | setBoardSize (const int columns, const int rows) |
void | setBorderPosition (const int borderPosition) |
void | setBoxPosition (const int boxPosition) |
Public Member Functions inherited from KBBGraphicsItem | |
KBBGraphicsItem (KBBScalableGraphicWidget::itemType itemType, QGraphicsScene *scene, KBBThemeManager *themeManager) | |
Static Public Attributes | |
static const int | NO_POSITION = -1 |
Detailed Description
"Cursor" on the scalable graphic widget
The "cursor" is used to play with the keyboard.
Definition at line 44 of file kbbgraphicsitemcursor.h.
Constructor & Destructor Documentation
KBBGraphicsItemCursor::KBBGraphicsItemCursor | ( | KBBScalableGraphicWidget * | parent, |
KBBThemeManager * | themeManager | ||
) |
Definition at line 35 of file kbbgraphicsitemcursor.cpp.
Member Function Documentation
int KBBGraphicsItemCursor::borderPosition | ( | ) |
Definition at line 46 of file kbbgraphicsitemcursor.cpp.
int KBBGraphicsItemCursor::boxPosition | ( | ) |
Definition at line 52 of file kbbgraphicsitemcursor.cpp.
|
signal |
void KBBGraphicsItemCursor::moveDown | ( | ) |
Definition at line 58 of file kbbgraphicsitemcursor.cpp.
void KBBGraphicsItemCursor::moveLeft | ( | ) |
Definition at line 81 of file kbbgraphicsitemcursor.cpp.
void KBBGraphicsItemCursor::moveRight | ( | ) |
Definition at line 104 of file kbbgraphicsitemcursor.cpp.
void KBBGraphicsItemCursor::moveUp | ( | ) |
Definition at line 128 of file kbbgraphicsitemcursor.cpp.
void KBBGraphicsItemCursor::setBoardSize | ( | const int | columns, |
const int | rows | ||
) |
Definition at line 151 of file kbbgraphicsitemcursor.cpp.
void KBBGraphicsItemCursor::setBorderPosition | ( | const int | borderPosition | ) |
Definition at line 164 of file kbbgraphicsitemcursor.cpp.
void KBBGraphicsItemCursor::setBoxPosition | ( | const int | boxPosition | ) |
Definition at line 193 of file kbbgraphicsitemcursor.cpp.
Member Data Documentation
|
static |
Invalid border and box position.
Definition at line 53 of file kbbgraphicsitemcursor.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:44:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.