tilde~
Puredata Qt-based GUI
|
property handling class for ui object. More...
#include <Property.h>
Signals | |
void | changed () |
Public Member Functions | |
Property () | |
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) |
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) |
property handling class for ui object.
this is different from CEAMMC library property handling library - later merge / unify that
|
explicit |
true if property value should be passed to pd object
tilde::Property::Property | ( | const Property & | src | ) |
tilde::Property::Property | ( | Property & | src | ) |
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 | ( | ) |
|
signal |
void tilde::Property::copyDataToDefault | ( | ) |
QVariantList tilde::Property::data | ( | ) |
QVariantList tilde::Property::defaultData | ( | ) |
|
static |
QString tilde::Property::group | ( | ) |
bool tilde::Property::readOnly | ( | ) |
void tilde::Property::set | ( | bool | value | ) |
void tilde::Property::set | ( | QPoint | point | ) |
void tilde::Property::set | ( | QPointF | point | ) |
void tilde::Property::set | ( | QRect | rect | ) |
void tilde::Property::set | ( | T | val | ) |
void tilde::Property::set | ( | QRectF | rect | ) |
void tilde::Property::set | ( | QSize | size | ) |
void tilde::Property::set | ( | QSizeF | size | ) |
void tilde::Property::set | ( | QColor | color | ) |
void tilde::Property::set | ( | float | val | ) |
void tilde::Property::set | ( | double | val | ) |
void tilde::Property::set | ( | int | val | ) |
void tilde::Property::set | ( | QStringList | strlist | ) |
void tilde::Property::set | ( | QString | string | ) |
void tilde::Property::set | ( | string | string | ) |
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 | ( | ) |
|
static |
QString tilde::Property::version | ( | ) |