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

Property handling class for ui object - property list. More...

#include <PropertyList.h>

Inheritance diagram for tilde::PropertyList:
tilde::AudioSettings tilde::Preferences

Signals

void propertyChangedSignal ()
 

Public Member Functions

 PropertyList ()
 
UIPropertyDatagroup (QString grpName)
 
UIPropertyDatafromGroup (QString grpName)
 
template<typename T >
void create (string pName, string pGroup, QString pVersion, T defaultData)
 
template<typename U >
void set (string pName, U value)
 
Propertyget (QString pName)
 
string asPdFileString ()
 returns string for saving in file More...
 
QStringList names ()
 list of all property names More...
 
QStringList names (UIPropertyData *data1)
 list of all property names for specific propertyData todo normal classes More...
 
QStringList groupNames ()
 list of all group names More...
 
QString extractFromPdFileString (QString input)
 extract properties from string in pd file More...
 
template<>
void set (std::string pName, Property *value)
 

Detailed Description

Property handling class for ui object - property list.

Constructor & Destructor Documentation

tilde::PropertyList::PropertyList ( )
inline

Member Function Documentation

std::string tilde::PropertyList::asPdFileString ( )

returns string for saving in file

Returns
template<typename T >
void tilde::PropertyList::create ( string  pName,
string  pGroup,
QString  pVersion,
defaultData 
)
inline
QString tilde::PropertyList::extractFromPdFileString ( QString  input)

extract properties from string in pd file

returns first part of the string before the first property

Returns
UIPropertyData * tilde::PropertyList::fromGroup ( QString  grpName)
Property * tilde::PropertyList::get ( QString  pName)
UIPropertyData * tilde::PropertyList::group ( QString  grpName)
QStringList tilde::PropertyList::groupNames ( )

list of all group names

Returns
QStringList tilde::PropertyList::names ( )

list of all property names

Returns
QStringList tilde::PropertyList::names ( UIPropertyData data1)

list of all property names for specific propertyData todo normal classes

Returns
void tilde::PropertyList::propertyChangedSignal ( )
signal
template<>
void tilde::PropertyList::set ( std::string  pName,
Property value 
)
template<typename U >
void tilde::PropertyList::set ( string  pName,
value 
)
inline

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