QCAD Application Framework
CAD Application Development and Automation.
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
RTextLabel.h
Go to the documentation of this file.
1
#ifndef RTEXTLABEL_H
2
#define RTEXTLABEL_H
3
4
#include "
RPoint.h
"
5
#include "
RVector.h
"
6
#include "
RBox.h
"
7
8
#ifndef RDEFAULT_QVARIANT
9
#define RDEFAULT_QVARIANT QVariant()
10
#endif
11
21
class
RTextLabel
:
public
RPoint
{
22
public
:
23
RTextLabel
();
24
RTextLabel
(
const
RVector
&
position
,
const
QString&
text
,
const
QVariant&
userData
=
RDEFAULT_QVARIANT
);
25
virtual
~RTextLabel
();
26
27
virtual
RTextLabel
*
clone
()
const
{
28
return
new
RTextLabel
(*
this
);
29
}
30
31
QString
getText
()
const
;
32
QVariant
getUserData
()
const
;
33
34
protected
:
35
virtual
void
print
(QDebug dbg)
const
;
36
37
public
:
38
QString
text
;
39
QVariant
userData
;
40
};
41
42
Q_DECLARE_METATYPE
(
RTextLabel
)
43
Q_DECLARE_METATYPE
(
RTextLabel
*)
44
Q_DECLARE_METATYPE
(QSharedPointer<
RTextLabel
>)
45
Q_DECLARE_METATYPE
(QSharedPointer<
RTextLabel
>*)
46
Q_DECLARE_METATYPE
(QList<
RTextLabel
>)
47
48
#endif
src
math
RTextLabel.h
Generated on Tue Jun 26 2012 18:41:08 for QCAD Application Framework by
1.8.1.1