qt_demoe/qwtdemo/examples/distrowatch/barchart.h

27 lines
364 B
C++

#ifndef _BAR_CHART_H_
#include <qwt_plot.h>
#include <qstringlist.h>
class DistroChartItem;
class BarChart: public QwtPlot
{
Q_OBJECT
public:
BarChart( QWidget * = NULL );
public Q_SLOTS:
void setOrientation( int );
void exportChart();
private:
void populate();
DistroChartItem *d_barChartItem;
QStringList d_distros;
};
#endif