#include <YProperty.h>
Public Member Functions | |
YProperty (const std::string &name, YPropertyType type, bool isReadOnly=false) | |
std::string | name () const |
YPropertyType | type () const |
bool | isReadOnly () const |
std::string | typeAsStr () const |
Static Public Member Functions | |
static std::string | typeAsStr (YPropertyType type) |
Class for widget properties.
|
inline |
Constructor: Create a property with the specified name and type. 'isReadOnly' is for properties that cannot be set, only retrieved.
|
inline |
Returns 'true' if this property cannot be changed, only retrieved.
|
inline |
Returns the name of this property.
|
inline |
Returns the type of this property.
|
inline |
Returns the type of this property as string.
|
static |
Returns a string description of a property type.