QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RPropertyEvent Class Reference

Copyright (c) 2011-2013 by Andrew Mustun. 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

Copyright (c) 2011-2013 by Andrew Mustun.

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD. 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: