#include <topiechart.h>
Diagrama de herencias de toPieChart
Slots públicos | |
void | editPrint (void) |
void | openCopy (void) |
Métodos públicos | |
toPieChart (QWidget *parent=NULL, const char *name=NULL, WFlags f=0) | |
toPieChart (toPieChart *pie, QWidget *parent=NULL, const char *name=NULL, WFlags f=0) | |
void | setPostfix (const QString &post) |
const QString & | postfix (void) const |
void | setTitle (const QString &title=QString::null) |
const QString & | title (void) |
void | setDisplayPercent (bool pct) |
bool | displayPercent (void) const |
void | showLegend (bool on) |
bool | legend (void) const |
void | setValues (std::list< double > &values, std::list< QString > &labels) |
void | addValue (double value, const QString &label) |
std::list< double > & | values (void) |
std::list< QString > & | labels (void) |
Métodos protegidos | |
virtual void | mouseDoubleClickEvent (QMouseEvent *e) |
virtual void | mousePressEvent (QMouseEvent *e) |
virtual void | paintChart (QPainter *p, QRect rect) |
virtual void | paintEvent (QPaintEvent *e) |
Atributos privados | |
std::list< double > | Values |
std::list< QString > | Labels |
QString | Postfix |
bool | Legend |
bool | DisplayPercent |
QString | Title |
QPopupMenu * | Menu |
|
Create a new piechart.
|
|
Create a copy of a piechart.
|
|
Add a value to the piechart.
|
|
Check if only percent is displayed
|
|
Print the chart |
|
Get labels of piechart.
|
|
Check if legend is displayed or not.
|
|
|
|
|
|
Open in new window |
|
Paint chart in a given rectangle. Gráfico de llamadas para esta función: |
|
Reimplemented for internal reasons. Gráfico de llamadas para esta función: |
|
Get the postfix string.
|
|
Display piecharts in percent instead of actual values
|
|
Set the postfix text to append the current values when they are displayed in the pie.
|
|
Set title of the chart. Set to empty string to not display title.
Gráfico de llamadas para esta función: |
|
Set value list of piechart.
|
|
Specify if legend should be displayed to the right of the graph, default is on.
|
|
Get title of chart.
|
|
Get list of values.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|