CFugue
Public Slots | Signals | Public Member Functions | Protected Member Functions | Properties | List of all members
QVUMeter Class Reference

Inherits QWidget.

Public Slots

void setColorBg (QColor)
 
QVUBarGetBar (int nIndex) const
 
int GetBarCount () const
 

Signals

void valueLChanged (double)
 
void valueRChanged (double)
 

Public Member Functions

QColor colorBg () const
 
 QVUMeter (QWidget *parent=0)
 
 QVUMeter (QStringList strBarLables, QWidget *parent=0)
 
void SetBars (QStringList strBarLables, double min=0, double max=100)
 
void SetBarCount (int nCount, double min=0.0, double max=100.0)
 
QSize minimumSizeHint () const
 
QSize sizeHint () const
 
void SetMinMaxValues (double, double)
 

Protected Member Functions

void paintEvent (QPaintEvent *)
 
void paintBorder ()
 
void paintBar ()
 
void paintValue ()
 

Properties

QColor colorBg
 

Detailed Description

Definition at line 129 of file qvumeter.h.

Member Function Documentation

void QVUMeter::SetBarCount ( int  nCount,
double  min = 0.0,
double  max = 100.0 
)

Sets the number of Bars in the Meter. Existing bars will be reduced or added to based on nCount.

Definition at line 96 of file qvumeter.cpp.

void QVUMeter::SetBars ( QStringList  strBarLables,
double  min = 0,
double  max = 100 
)

Sets the number of bars and their associated labels. Sets value min, max ranges for all bars. Existing bars will be deleted and replaced with new ones.

Definition at line 82 of file qvumeter.cpp.


The documentation for this class was generated from the following files:

CFugue, the C++ Music Programming Library © Copyright 2009 Cenacle Research India Private Limited Gopalakrishna Palem