Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ShowNextPiece Class Reference

#include </home/clem/local/src/opie/noncore/games/tetrix/qtetrix.h>

List of all members.

Public Slots

void drawNextSquare (int x, int y, QColor *color)

Signals

void update ()

Public Member Functions

 ShowNextPiece (QWidget *parent=0, const char *name=0)

Private Member Functions

void paintEvent (QPaintEvent *)
void resizeEvent (QResizeEvent *)

Private Attributes

int blockWidth
int blockHeight
int xOffset
int yOffset

Friends

class QTetrix


Constructor & Destructor Documentation

ShowNextPiece::ShowNextPiece QWidget *  parent = 0,
const char *  name = 0
 

Definition at line 58 of file qtetrix.cpp.

References xOffset.


Member Function Documentation

void ShowNextPiece::drawNextSquare int  x,
int  y,
QColor *  color
[slot]
 

Definition at line 84 of file qtetrix.cpp.

References blockHeight, blockWidth, drawTetrixButton(), xOffset, and yOffset.

Referenced by QTetrix::setNext().

void ShowNextPiece::paintEvent QPaintEvent *   )  [private]
 

Definition at line 75 of file qtetrix.cpp.

References p, and update().

void ShowNextPiece::resizeEvent QResizeEvent *   )  [private]
 

Definition at line 65 of file qtetrix.cpp.

References blockHeight, blockWidth, xOffset, and yOffset.

void ShowNextPiece::update  )  [signal]
 

Referenced by paintEvent().


Friends And Related Function Documentation

friend class QTetrix [friend]
 

Definition at line 34 of file qtetrix.h.


Member Data Documentation

int ShowNextPiece::blockHeight [private]
 

Definition at line 46 of file qtetrix.h.

Referenced by drawNextSquare(), and resizeEvent().

int ShowNextPiece::blockWidth [private]
 

Definition at line 46 of file qtetrix.h.

Referenced by drawNextSquare(), and resizeEvent().

int ShowNextPiece::xOffset [private]
 

Definition at line 47 of file qtetrix.h.

Referenced by drawNextSquare(), resizeEvent(), and ShowNextPiece().

int ShowNextPiece::yOffset [private]
 

Definition at line 47 of file qtetrix.h.

Referenced by drawNextSquare(), and resizeEvent().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:51:52 2005 for OPIE by  doxygen 1.4.2