Zen
A cross-platform functional programming language
|
Intrinsic gui property type. More...
#include <zbl.hpp>
Public Member Functions | |
property (QDeclarativeItem *val, const z::string &idx) | |
Default constructor. | |
QVariant | getValue () const |
Get the value as a QVariant. | |
property & | operator= (const z::string &rhs) |
Set the property of a widget. | |
property & | operator= (const char *rhs) |
Set the property of a widget. | |
property & | operator= (const z::property &rhs) |
Set the property of a widget. | |
property & | operator+= (const z::string &rhs) |
Append string to property value. | |
property & | operator+= (const char *rhs) |
Append string to property value. | |
property & | operator+= (const z::property &rhs) |
Append string to property value. | |
operator string () const | |
Get the value of a property. | |
Private Member Functions | |
property & | setString (const QString &rhs) |
Set the property of a widget. | |
property & | appendString (const QString &rhs) |
Append string to property value. | |
Private Attributes | |
QDeclarativeItem * | _val |
The value. | |
const z::string | _idx |
The index. |
Intrinsic gui property type.
Default constructor.
val | The value |
idx | Name of the property |
property& appendString | ( | const QString & | rhs | ) | [inline, private] |
Append string to property value.
rhs | The value to append |
QVariant getValue | ( | ) | const [inline] |
Get the value as a QVariant.
operator string | ( | ) | const [inline] |
Get the value of a property.
property& operator+= | ( | const z::property & | rhs | ) | [inline] |
Append string to property value.
rhs | The value to append |
property& operator+= | ( | const char * | rhs | ) | [inline] |
Append string to property value.
rhs | The value to append |
Append string to property value.
rhs | The value to append |
property& operator= | ( | const z::property & | rhs | ) | [inline] |
Set the property of a widget.
rhs | The value to set |
property& operator= | ( | const char * | rhs | ) | [inline] |
Set the property of a widget.
rhs | The value to set |
Set the property of a widget.
rhs | The value to set |
property& setString | ( | const QString & | rhs | ) | [inline, private] |
Set the property of a widget.
rhs | The value to set |