Zen
A cross-platform functional programming language

widget Class Reference

Intrinsic gui widget type. More...

#include <zbl.hpp>

List of all members.

Public Member Functions

 widget ()
 Default constructor.
 widget (QDeclarativeItem *val)
 Default constructor.
 widget (const widget &src)
 Copy constructor.
void show () const
 Show the view.
QDeclarativeItem & get () const
 Returns the stored value.
 operator[] (const z::string &idx) const
 Get a property of the widget.

Private Attributes

QDeclarativeItem * _val
 The value.

Detailed Description

Intrinsic gui widget type.

Represents a QML item.


Constructor & Destructor Documentation

widget ( QDeclarativeItem *  val) [inline]

Default constructor.

Parameters:
valThe value
widget ( const widget src) [inline]

Copy constructor.

Parameters:
srcThe source instance

Member Function Documentation

QDeclarativeItem& get ( ) const [inline]

Returns the stored value.

Returns:
The value
operator[] ( const z::string idx) const [inline]

Get a property of the widget.

Parameters:
idxThe index value
Returns:
The property

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines