kchart

KDChartCustomBoxWrapper.h
1#ifndef KDCHARTCUSTOMBOX_H
2#define KDCHARTCUSTOMBOX_H
3
4#include <tqobject.h>
5#include "KDChartCustomBox.h"
7class KDChartTextPiece;
8class KDChartCustomBoxWrapper :public TQObject
9{
10 TQ_OBJECT
11
12
13public:
14 KDChartCustomBoxWrapper( KDChartCustomBox* );
15
16public slots:
17 const KDChartTextPiece* content() const;
18
19
20 // These methods need to be here, for the enums to work.
21 void setAnchorPosition( int position )
22 {
23 _data->setAnchorPosition( (KDChartEnums::PositionFlag) position );
24 }
25
26
27
28private:
29 KDChartCustomBox* _data;
30};
31
32
33#endif /* KDCHARTCUSTOMBOX_H */
34
Definition of a class for specifying and drawing custom boxes.
Class for specifying and drawing custom boxes.
PositionFlag
The general position flag to specify a point of an area, for example this could be the anchor point w...