##// END OF EJS Templates
Added size hint for the widget
Added size hint for the widget

File last commit:

r29:1f6ecd9d10e9
r29:1f6ecd9d10e9
Show More
qchartwidget.h
36 lines | 688 B | text/x-c | CLexer
Tero Ahola
Started to refactor the API to allow integrating different plot types
r19 #ifndef QCHARTWIDGET_H
#define QCHARTWIDGET_H
#include "qchartconfig.h"
#include "qchart.h"
#include <QWidget>
QCHART_BEGIN_NAMESPACE
Michal Klocek
Refactor current draft to fit int current design specs...
r21 class QChartSeries;
Tero Ahola
Started to refactor the API to allow integrating different plot types
r19 class QChartWidgetPrivate;
class QCHART_EXPORT QChartWidget : public QWidget
{
Q_OBJECT
public:
explicit QChartWidget(QWidget *parent = 0);
~QChartWidget();
Michal Klocek
Refactor current draft to fit int current design specs...
r21 //implement from QWidget
void resizeEvent(QResizeEvent *event);
Tero Ahola
Added size hint for the widget
r29 QSize sizeHint() const;
Tero Ahola
Started to refactor the API to allow integrating different plot types
r19
Michal Klocek
Refactor current draft to fit int current design specs...
r21 void addSeries(QChartSeries* series);
protected:
QChartWidgetPrivate * const d_ptr;
Tero Ahola
Started to refactor the API to allow integrating different plot types
r19
private:
Q_DISABLE_COPY(QChartWidget)
Michal Klocek
Refactor current draft to fit int current design specs...
r21 Q_DECLARE_PRIVATE(QChartWidget)
Tero Ahola
Started to refactor the API to allow integrating different plot types
r19 };
QCHART_END_NAMESPACE
#endif // QCHARTWIDGET_H