Squares Class Reference

#include <visualize.h>

Inheritance diagram for Squares:
Spectrum VisualBase

List of all members.

Public Member Functions

 Squares ()
virtual ~Squares ()
void resize (const QSize &newsize)
bool draw (QPainter *p, const QColor &back=Qt::black)
void handleKeyPress (const QString &action)

Private Member Functions

void drawRect (QPainter *p, QRect *rect, int i, int c, int w, int h)

Private Attributes

QSize size
MainVisualpParent
int fake_height
int number_of_squares

Detailed Description

Definition at line 190 of file visualize.h.


Constructor & Destructor Documentation

Squares::Squares (  ) 

Definition at line 834 of file visualize.cpp.

Squares::~Squares (  )  [virtual]

Definition at line 840 of file visualize.cpp.


Member Function Documentation

void Squares::resize ( const QSize &  newsize  )  [virtual]

Reimplemented from Spectrum.

Definition at line 844 of file visualize.cpp.

bool Squares::draw ( QPainter *  p,
const QColor &  back = Qt::black 
) [virtual]

Reimplemented from Spectrum.

Definition at line 885 of file visualize.cpp.

void Squares::handleKeyPress ( const QString &  action  )  [inline, virtual]

Reimplemented from Spectrum.

Definition at line 198 of file visualize.h.

void Squares::drawRect ( QPainter *  p,
QRect *  rect,
int  i,
int  c,
int  w,
int  h 
) [private]

Definition at line 851 of file visualize.cpp.

Referenced by draw().


Member Data Documentation

QSize Squares::size [private]

Reimplemented from Spectrum.

Definition at line 202 of file visualize.h.

Referenced by draw(), drawRect(), and resize().

Definition at line 203 of file visualize.h.

int Squares::fake_height [private]

Definition at line 204 of file visualize.h.

Referenced by drawRect(), resize(), and Squares().

Definition at line 205 of file visualize.h.

Referenced by Squares().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Fri May 25 06:42:26 2012 for MythTV by  doxygen 1.6.3