KDChartWidget.cpp
Header for all common chart parameters.
Provides a table class holding all data values that are to be used in a chart.
Provids the entry point into the charting that most people will want to use.
Definition of a single entry-point to the charting engine for applications that wish to provide their...
bool optimizeOutputForScreen() const
Returns whether drawing is optimized for (low resolution) screen output (this is the default) or whet...
Definition KDChartParams.h:169
void setOptimizeOutputForScreen(bool screenOutput)
Specify whether drawing should be optimized for (low resolution) screen output or whether other routi...
Definition KDChartParams.h:163
KD Chart's build-in table data for an easy way of storing data values.
Definition KDChartTableBase.h:88
void dataMiddleClicked(uint row, uint col)
This signal is emitted when a data item was clicked onto with the middle mouse button.
KDChartWidget(TQWidget *parent=0, const char *name=0)
Default Constructor.
Definition KDChartWidget.cpp:72
void dataLeftClicked(uint row, uint col)
This signal is emitted when a data item was clicked onto with the left mouse button.
bool isDoubleBuffered() const
Returns whether the widget uses double-buffering for drawing.
Definition KDChartWidget.cpp:311
KDChartTableDataBase * data() const
Returns a pointer to the current data table.
Definition KDChartWidget.cpp:346
void dataRightClicked(uint row, uint col)
This signal is emitted when a data item was clicked onto with the right mouse button.
void setData(KDChartTableDataBase *data)
Set an entire new data table.
Definition KDChartWidget.cpp:330
void setParams(KDChartParams *params)
Set an entire new parameter set.
Definition KDChartWidget.cpp:322
void setActiveData(bool active)
If active is true, this widget reports mouse presses, releases and clicks on the data segments it dis...
Definition KDChartWidget.cpp:257
void setDoubleBuffered(bool doublebuffered)
If doublebuffered is true, the widget will double-buffer everything while drawing which reduces flick...
Definition KDChartWidget.cpp:290
KDChartParams * params() const
Returns a pointer to the current parameter set.
Definition KDChartWidget.cpp:338
bool isActiveData() const
Returns true if the widget is configured to report mouse events.
Definition KDChartWidget.cpp:271
static void paint(TQPainter *, KDChartParams *, KDChartTableDataBase *, KDChartDataRegionList *regions=0, const TQRect *rect=0, bool mustCalculateGeometry=true)
Paints a chart with the specified parameters on the specified painter.
Definition KDChart.cpp:256
