QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RPropertyEvent Class Reference

A property change event is fired whenever a user interface component was used to change the value of a property. More...

#include <RPropertyEvent.h>

List of all members.

Public Member Functions

RS::EntityType getEntityTypeFilter () const
RPropertyTypeId getPropertyTypeId () const
QVariant getValue () const
 RPropertyEvent ()
 RPropertyEvent (RPropertyTypeId propertyTypeId, const QVariant &value, RS::EntityType entityTypeFilter=RS::EntityAll)

Private Attributes

RS::EntityType entityTypeFilter
RPropertyTypeId propertyTypeId
QVariant value

Detailed Description

A property change event is fired whenever a user interface component was used to change the value of a property.

Scriptable:
This class is wrapped for script environments.
Copyable:
Script wrappers of this class should pass objects by reference.

Constructor & Destructor Documentation

RPropertyEvent::RPropertyEvent ( )
inline
RPropertyEvent::RPropertyEvent ( RPropertyTypeId  propertyTypeId,
const QVariant &  value,
RS::EntityType  entityTypeFilter = RS::EntityAll 
)
inline
Parameters:
propertyTypeIdID of the property that was changed.
valueNew value of the property.

Member Function Documentation

RS::EntityType RPropertyEvent::getEntityTypeFilter ( ) const
inline
Returns:
Entity type filter to use for this event.
RPropertyTypeId RPropertyEvent::getPropertyTypeId ( ) const
inline
Returns:
The position of the event in real graphic measures.
QVariant RPropertyEvent::getValue ( ) const
inline
Returns:
true If the position of the coordinate event is valid.

Member Data Documentation

RS::EntityType RPropertyEvent::entityTypeFilter
private
RPropertyTypeId RPropertyEvent::propertyTypeId
private
QVariant RPropertyEvent::value
private

The documentation for this class was generated from the following file: