ksquares
#include <gameboardview.h>
Public Slots | |
void | setBoardSize () |
Public Member Functions | |
GameBoardView (QWidget *parent=0) | |
QSize | minimumSizeHint () const |
Protected Member Functions | |
void | resizeEvent (QResizeEvent *event) |
Detailed Description
Actual game board widget.
A simple subclass of QGraphicsView simply to be able to resize the board according to user preferences.
Definition at line 25 of file gameboardview.h.
Constructor & Destructor Documentation
|
explicit |
Constructor.
- Parameters
-
parent the parent of the widget
Definition at line 12 of file gameboardview.cpp.
Member Function Documentation
|
inline |
Asks the scene through ( qobject_cast<GameBoardScene*>(scene()) ) for the smallest size it should be.
Definition at line 39 of file gameboardview.h.
|
inlineprotected |
Overloaded to resize board.
Definition at line 45 of file gameboardview.h.
|
slot |
Automatically resizes the board according to the users preferences. Deprecated for a bit.
Definition at line 16 of file gameboardview.cpp.
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:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.