kblackbox
kbbscalablegraphicwidget.h
Go to the documentation of this file.
124 explicit KBBScalableGraphicWidget(KBBGameDoc* gameDoc, KBBThemeManager* themeManager, QAction* done);
void mouseBorderClick(const int borderPosition)
Definition: kbbscalablegraphicwidget.cpp:202
void addMarkerNothing(const int boxPosition)
Definition: kbbscalablegraphicwidget.cpp:180
void drawBackground(QPainter *painter, const QRectF &)
Definition: kbbscalablegraphicwidget.cpp:493
QCursor cursor() const
int moveBall(const int boxPositionFrom, const int boxPositionTo)
Definition: kbbscalablegraphicwidget.cpp:221
void keyboardMoveUp()
Definition: kbbscalablegraphicwidget.cpp:470
void keyboardMoveDown()
Definition: kbbscalablegraphicwidget.cpp:446
Scalable graphic central widget for KBlackBox.
Definition: kbbscalablegraphicwidget.h:62
void resizeEvent(QResizeEvent *)
Definition: kbbscalablegraphicwidget.cpp:324
void cursorAtNewPosition(int borderPosition)
Definition: kbbscalablegraphicwidget.cpp:417
The black box in the scalable graphic widget.
Definition: kbbgraphicsitemblackbox.h:52
void addBallUnsure(const int boxPosition)
Definition: kbbscalablegraphicwidget.cpp:173
void setScore(int score)
Definition: kbbscalablegraphicwidget.cpp:385
int moveMarkerNothing(const int boxPositionFrom, const int boxPositionTo)
Definition: kbbscalablegraphicwidget.cpp:241
void drawRay(const int borderPosition)
Definition: kbbscalablegraphicwidget.cpp:191
Ray on the scalable graphic widget of KBlackBox.
Definition: kbbgraphicsitemray.h:52
KBBScalableGraphicWidget(KBBGameDoc *gameDoc, KBBThemeManager *themeManager, QAction *done)
Constructor.
Definition: kbbscalablegraphicwidget.cpp:67
static int const BORDER_SIZE
Distance between the black box and the widget border.
Definition: kbbscalablegraphicwidget.h:74
void keyboardMoveLeft()
Definition: kbbscalablegraphicwidget.cpp:454
void setPause(bool state)
Definition: kbbscalablegraphicwidget.cpp:312
void popupText(const QString &text, int time=5000)
Message to display.
Definition: kbbscalablegraphicwidget.cpp:292
int positionAfterMovingBall(const int boxPositionFrom, const int boxPositionTo) const
Definition: kbbscalablegraphicwidget.cpp:303
void mouseBoxClick(const Qt::MouseButton button, int boxPosition)
Definition: kbbscalablegraphicwidget.cpp:210
void removeAllBalls()
Definition: kbbscalablegraphicwidget.cpp:351
void keyboardEnter()
Definition: kbbscalablegraphicwidget.cpp:434
static int const RATIO
Width and height of a single square on the black box.
Definition: kbbscalablegraphicwidget.h:81
void keyboardSpace()
Definition: kbbscalablegraphicwidget.cpp:478
~KBBScalableGraphicWidget()
Definition: kbbscalablegraphicwidget.cpp:130
void keyboardMoveRight()
Definition: kbbscalablegraphicwidget.cpp:462
void addBall(int boxPosition)
Definition: kbbscalablegraphicwidget.cpp:150
The balls the player has to place.
Definition: kbbgraphicsitemballrepository.h:45
void solve(const bool continueGame)
display the solution
Definition: kbbscalablegraphicwidget.cpp:391
void newGame(int columns, int rows, int ballNumber)
Definition: kbbscalablegraphicwidget.cpp:251
Set of balls (or various objects) with positions on the board.
Definition: kbbballsonboard.h:62
void removeBall(const int boxPosition)
Definition: kbbscalablegraphicwidget.cpp:359
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.