Public Member Functions |
| virtual RView * | clone () const |
| RBox | getBox () |
| RVector | getCenterPoint () const |
| double | getHeight () const |
| QString | getName () const |
virtual QPair< QVariant,
RPropertyAttributes > | getProperty (RPropertyTypeId propertyTypeId, bool humanReadable=false, bool noAttributes=false) |
| double | getWidth () const |
| virtual bool | isSelectedForPropertyEditing () |
| | RView () |
| | RView (RDocument *document, const QString &name, RVector centerPoint, double width, double height) |
| void | setCenterPoint (const RVector &cPoint) |
| void | setHeight (double h) |
| void | setName (const QString &n) |
| virtual bool | setProperty (RPropertyTypeId propertyTypeId, const QVariant &value) |
| | Sets the given property to the given value.
|
| void | setWidth (double w) |
| virtual | ~RView () |
| virtual int | getComplexity () const |
| QMap< QString, QVariant > | getCustomProperties () const |
| QVariant | getCustomProperty (const QString &key, const QVariant &defaultValue=RDEFAULT_QVARIANT) |
| RDocument * | getDocument () |
| const RDocument * | getDocument () const |
| RObject::Handle | getHandle () const |
| RObject::Id | getId () const |
| virtual QSet< RPropertyTypeId > | getPropertyTypeIds () const |
| virtual bool | hasPropertyType (RPropertyTypeId propertyTypeId) |
| bool | isUndone () const |
| void | removeCustomProperty (const QString &key) |
| | Removes the custom property with the given name.
|
| | RObject (RDocument *document=NULL, Id id=INVALID_ID) |
| void | setCustomProperty (const QString &key, const QVariant &value) |
| | Sets a custom property with the given name.
|
| void | setDocument (RDocument *document) |
| virtual void | setUndone (bool on) |
| virtual | ~RObject () |
Additional Inherited Members |
| typedef int | Handle |
| typedef int | Id |
| enum | XYZ { X,
Y,
Z
} |
| virtual void | print (QDebug dbg) const |
| | Stream operator for QDebug.
|
| void | setHandle (RObject::Handle h) |
| void | setId (RObject::Id id) |
| bool | setMember (QList< double > &variable, const QVariant &value, bool condition) |
| static bool | setMember (QString &variable, const QVariant &value, bool condition=true) |
| | Sets the given property.
|
| static bool | setMember (double &variable, const QVariant &value, bool condition=true) |
| | This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
| static bool | setMember (int &variable, const QVariant &value, bool condition=true) |
| | This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
| static bool | setMember (bool &variable, const QVariant &value, bool condition=true) |
| | This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
| static bool | setMemberVector (QList< RVector > &variable, const QVariant &value, RObject::XYZ xyz) |
| static bool | setMemberX (QList< RVector > &variable, const QVariant &value, bool condition=true) |
| static bool | setMemberY (QList< RVector > &variable, const QVariant &value, bool condition=true) |
| static bool | setMemberZ (QList< RVector > &variable, const QVariant &value, bool condition=true) |
Represents a view in a drawing.
- Scriptable:
- This class is wrapped for script environments.
- Shared Pointer Support:
- Script wrappers of this class support wrapping in QSharedPointer.