From bd0f3345a938b35ce6a12f6150373b0955b8dd12 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 10 Jul 2011 15:24:15 -0500 Subject: Add Qt3 development HEAD version --- doc/html/chart-canvastext-h.html | 73 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 doc/html/chart-canvastext-h.html (limited to 'doc/html/chart-canvastext-h.html') diff --git a/doc/html/chart-canvastext-h.html b/doc/html/chart-canvastext-h.html new file mode 100644 index 0000000..3acd1c2 --- /dev/null +++ b/doc/html/chart-canvastext-h.html @@ -0,0 +1,73 @@ + + + + + +chart/canvastext.h Example File + + + + + + + +
+ +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

chart/canvastext.h Example File

+ + +
#ifndef CANVASTEXT_H
+#define CANVASTEXT_H
+
+#include <qcanvas.h>
+
+class QFont;
+
+
+class CanvasText : public QCanvasText
+{
+public:
+    enum { CANVAS_TEXT = 1100 };
+
+    CanvasText( int index, QCanvas *canvas )
+        : QCanvasText( canvas ), m_index( index ) {}
+    CanvasText( int index, const QString& text, QCanvas *canvas )
+        : QCanvasText( text, canvas ), m_index( index ) {}
+    CanvasText( int index, const QString& text, QFont font, QCanvas *canvas )
+        : QCanvasText( text, font, canvas ), m_index( index ) {}
+
+    int index() const { return m_index; }
+    void setIndex( int index ) { m_index = index; }
+
+    int rtti() const { return CANVAS_TEXT; }
+
+private:
+    int m_index;
+};
+
+#endif
+
+
+


+ +
Copyright © 2007 +TrolltechTrademarks +
Qt 3.3.8
+
+ -- cgit v1.2.1