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

Graph::FretBoard Class Reference

#include </home/clem/local/src/opie/noncore/multimedia/tonleiter/fretboard.h>

List of all members.

Signals

void pressed ()

Public Member Functions

 FretBoard (TonleiterData *data, QWidget *parent, const char *name="FretBoard", WFlags f=0)
virtual ~FretBoard ()

Private Slots

void dataChange ()

Private Member Functions

void paintEvent (QPaintEvent *pe)
void resizeEvent (QResizeEvent *re)
void mouseReleaseEvent (QMouseEvent *me)
void paintBoard (QPainter *p)
void paintFrets (QPainter *p)
void paintStrings (QPainter *p)
void paintScale (QPainter *p)

Private Attributes

TonleiterData * data
QPen fretpen
QBrush markerbrush
QPen stringpen
Instrument inst
int xmargin
int xmin
int xmax
int xwidth
int ymargin
int ymin
int ymax
int yheight
double fretdist
double stringdist


Constructor & Destructor Documentation

Graph::FretBoard::FretBoard TonleiterData *  data,
QWidget *  parent,
const char *  name = "FretBoard",
WFlags  f = 0
 

virtual Graph::FretBoard::~FretBoard  )  [virtual]
 


Member Function Documentation

void Graph::FretBoard::dataChange  )  [private, slot]
 

void Graph::FretBoard::mouseReleaseEvent QMouseEvent *  me  )  [private]
 

void Graph::FretBoard::paintBoard QPainter *  p  )  [private]
 

Referenced by Graph::FretBoard::paintEvent().

void Graph::FretBoard::paintEvent QPaintEvent *  pe  )  [private]
 

void Graph::FretBoard::paintFrets QPainter *  p  )  [private]
 

Referenced by Graph::FretBoard::paintEvent().

void Graph::FretBoard::paintScale QPainter *  p  )  [private]
 

Referenced by Graph::FretBoard::paintEvent().

void Graph::FretBoard::paintStrings QPainter *  p  )  [private]
 

Referenced by Graph::FretBoard::paintEvent().

void Graph::FretBoard::pressed  )  [signal]
 

Referenced by Graph::FretBoard::mouseReleaseEvent().

void Graph::FretBoard::resizeEvent QResizeEvent *  re  )  [private]
 


Member Data Documentation

TonleiterData* Graph::FretBoard::data [private]
 

Definition at line 18 of file fretboard.h.

Referenced by Graph::FretBoard::paintEvent(), and Graph::FretBoard::paintScale().

double Graph::FretBoard::fretdist [private]
 

Definition at line 38 of file fretboard.h.

Referenced by Graph::FretBoard::paintFrets(), and Graph::FretBoard::paintScale().

QPen Graph::FretBoard::fretpen [private]
 

Definition at line 22 of file fretboard.h.

Referenced by Graph::FretBoard::paintFrets().

Instrument Graph::FretBoard::inst [private]
 

Definition at line 26 of file fretboard.h.

Referenced by Graph::FretBoard::paintEvent(), Graph::FretBoard::paintFrets(), Graph::FretBoard::paintScale(), and Graph::FretBoard::paintStrings().

QBrush Graph::FretBoard::markerbrush [private]
 

Definition at line 23 of file fretboard.h.

Referenced by Graph::FretBoard::paintFrets().

double Graph::FretBoard::stringdist [private]
 

Definition at line 39 of file fretboard.h.

Referenced by Graph::FretBoard::paintScale(), and Graph::FretBoard::paintStrings().

QPen Graph::FretBoard::stringpen [private]
 

Definition at line 24 of file fretboard.h.

Referenced by Graph::FretBoard::paintStrings().

int Graph::FretBoard::xmargin [private]
 

Definition at line 28 of file fretboard.h.

Referenced by Graph::FretBoard::paintEvent(), and Graph::FretBoard::paintStrings().

int Graph::FretBoard::xmax [private]
 

Definition at line 30 of file fretboard.h.

Referenced by Graph::FretBoard::paintEvent(), and Graph::FretBoard::paintStrings().

int Graph::FretBoard::xmin [private]
 

Definition at line 29 of file fretboard.h.

Referenced by Graph::FretBoard::paintBoard(), Graph::FretBoard::paintEvent(), Graph::FretBoard::paintFrets(), Graph::FretBoard::paintScale(), and Graph::FretBoard::paintStrings().

int Graph::FretBoard::xwidth [private]
 

Definition at line 31 of file fretboard.h.

Referenced by Graph::FretBoard::paintBoard(), Graph::FretBoard::paintEvent(), and Graph::FretBoard::paintFrets().

int Graph::FretBoard::yheight [private]
 

Definition at line 36 of file fretboard.h.

Referenced by Graph::FretBoard::paintBoard(), Graph::FretBoard::paintEvent(), and Graph::FretBoard::paintStrings().

int Graph::FretBoard::ymargin [private]
 

Definition at line 33 of file fretboard.h.

Referenced by Graph::FretBoard::paintEvent(), and Graph::FretBoard::paintFrets().

int Graph::FretBoard::ymax [private]
 

Definition at line 35 of file fretboard.h.

Referenced by Graph::FretBoard::paintEvent(), and Graph::FretBoard::paintFrets().

int Graph::FretBoard::ymin [private]
 

Definition at line 34 of file fretboard.h.

Referenced by Graph::FretBoard::paintBoard(), Graph::FretBoard::paintEvent(), Graph::FretBoard::paintFrets(), Graph::FretBoard::paintScale(), and Graph::FretBoard::paintStrings().


The documentation for this class was generated from the following file:
Generated on Sat Nov 5 17:34:21 2005 for OPIE by  doxygen 1.4.2