24 #ifndef _vtkQtChartLegendModel_h
25 #define _vtkQtChartLegendModel_h
28 #include "vtkQtChartExport.h"
33 class vtkQtChartLegendModelInternal;
58 int addEntry(
const QPixmap &icon,
const QString &text,
bool visible);
68 int index,
const QPixmap &icon,
const QString &text,
bool visible);
73 void removeEntry(
int index);
76 void removeAllEntries();
88 void startModifyingData();
96 void finishModifyingData();
102 int getNumberOfEntries()
const;
110 int getIndexForId(
unsigned int id)
const;
118 QPixmap getIcon(
int index)
const;
124 void setIcon(
int index,
const QPixmap &icon);
132 QString getText(
int index)
const;
138 void setText(
int index,
const QString &text);
144 void setVisible(
int index,
bool visible);
148 bool getVisible(
int index)
const;
154 void entryInserted(
int index);
159 void removingEntry(
int index);
164 void entryRemoved(
int index);
172 void iconChanged(
int index);
177 void textChanged(
int index);
181 void visibilityChanged(
int index);
184 vtkQtChartLegendModelInternal *Internal;
The vtkQtPointMarker class is used to draw a shape at a point.
The vtkQtChartLegendModel class stores the data for a chart legend.