tilde~
Puredata Qt-based GUI
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Signals | Public Member Functions | Static Public Member Functions | List of all members
tilde::Property Class Reference

property handling class for ui object. More...

#include <Property.h>

Inheritance diagram for tilde::Property:

Signals

void changed ()
 

Public Member Functions

 Property ()
 

true if property value should be passed to pd object

More...
 
 Property (const Property &src)
 
 Property (Property &src)
 
const Property operator= (const Property &rval)
 
Property operator= (Property &rval)
 
template<typename T >
void set (T val)
 
void copyDataToDefault ()
 
void setVersion (QString version)
 

copy current value to default value

More...
 
void setGroup (QString grp)
 
void setType (UIPropertyType t)
 
void setRawData (QVariantList data)
 
void setRawDefaultData (QVariantList data)
 
void setReadonly (bool v)
 
bool readOnly ()
 
void setDefaultType (UIPropertyType type)
 
QVariantList data ()
 
QVariantList defaultData ()
 
QString group ()
 
QString version ()
 
UIPropertyType type ()
 
QSize asQSize ()
 
QSizeF asQSizeF ()
 
QPoint asQPoint ()
 
QPointF asQPointF ()
 
float asFloat ()
 
int asInt ()
 
bool asBool ()
 
float asFontSize ()
 
QColor asQColor ()
 
QStringList asQStringList ()
 
string asStdString ()
 
QString asQString ()
 
QString asPdSaveString ()
 
template<>
void set (bool value)
 
template<>
void set (QPoint point)
 
template<>
void set (QPointF point)
 
template<>
void set (QRect rect)
 
template<>
void set (QRectF rect)
 
template<>
void set (QSize size)
 
template<>
void set (QSizeF size)
 
template<>
void set (QColor color)
 
template<>
void set (float val)
 
template<>
void set (double val)
 
template<>
void set (int val)
 
template<>
void set (QStringList strlist)
 
template<>
void set (QString string)
 
template<>
void set (string string)
 
template<>
void set (char const *string)
 

Static Public Member Functions

static QString escapeString (QString input)
 
static QString unescapeString (QString input)
 

Detailed Description

property handling class for ui object.

this is different from CEAMMC library property handling library - later merge / unify that

Constructor & Destructor Documentation

tilde::Property::Property ( )
explicit

true if property value should be passed to pd object

tilde::Property::Property ( const Property src)
tilde::Property::Property ( Property src)

Member Function Documentation

bool tilde::Property::asBool ( )
float tilde::Property::asFloat ( )
float tilde::Property::asFontSize ( )
int tilde::Property::asInt ( )
QString tilde::Property::asPdSaveString ( )
QColor tilde::Property::asQColor ( )
QPoint tilde::Property::asQPoint ( )
QPointF tilde::Property::asQPointF ( )
QSize tilde::Property::asQSize ( )
QSizeF tilde::Property::asQSizeF ( )
QString tilde::Property::asQString ( )
QStringList tilde::Property::asQStringList ( )
string tilde::Property::asStdString ( )
void tilde::Property::changed ( )
signal
void tilde::Property::copyDataToDefault ( )
QVariantList tilde::Property::data ( )
QVariantList tilde::Property::defaultData ( )
QString tilde::Property::escapeString ( QString  input)
static
QString tilde::Property::group ( )
const Property tilde::Property::operator= ( const Property rval)
Property tilde::Property::operator= ( Property rval)
bool tilde::Property::readOnly ( )
template<>
void tilde::Property::set ( bool  value)
template<>
void tilde::Property::set ( QPoint  point)
template<>
void tilde::Property::set ( QPointF  point)
template<>
void tilde::Property::set ( QRect  rect)
template<typename T >
void tilde::Property::set ( val)
template<>
void tilde::Property::set ( QRectF  rect)
template<>
void tilde::Property::set ( QSize  size)
template<>
void tilde::Property::set ( QSizeF  size)
template<>
void tilde::Property::set ( QColor  color)
template<>
void tilde::Property::set ( float  val)
template<>
void tilde::Property::set ( double  val)
template<>
void tilde::Property::set ( int  val)
template<>
void tilde::Property::set ( QStringList  strlist)
template<>
void tilde::Property::set ( QString  string)
template<>
void tilde::Property::set ( string  string)
template<>
void tilde::Property::set ( char const *  string)
void tilde::Property::setDefaultType ( UIPropertyType  type)
void tilde::Property::setGroup ( QString  grp)
void tilde::Property::setRawData ( QVariantList  data)
void tilde::Property::setRawDefaultData ( QVariantList  data)
void tilde::Property::setReadonly ( bool  v)
void tilde::Property::setType ( UIPropertyType  t)
void tilde::Property::setVersion ( QString  version)

copy current value to default value

UIPropertyType tilde::Property::type ( )
QString tilde::Property::unescapeString ( QString  input)
static
QString tilde::Property::version ( )

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