24 #ifndef _vtkQtChartTitle_h
25 #define _vtkQtChartTitle_h
28 #include "vtkQtChartExport.h"
50 vtkQtChartTitle(Qt::Orientation orient=Qt::Horizontal, QWidget *parent=0);
62 void setOrientation(Qt::Orientation orient);
73 void setText(
const QString &text);
90 virtual QSize
sizeHint()
const {
return this->Bounds;}
95 void drawTitle(QPainter &painter);
99 void orientationChanged();
107 virtual bool event(QEvent *e);
112 virtual void paintEvent(QPaintEvent *e);
116 void calculateSize();
121 Qt::Orientation Orient;