rocs/RocsCore
DataType.cpp
Go to the documentation of this file.
QSvgRenderer * sharedRenderer(const QString &iconPackage)
Definition: DocumentManager.cpp:284
void propertyVisibilityChanged(const QString &name)
Emitted when the visibility was changed.
void propertyRenamed(const QString &oldName, const QString &newName)
Emitted when a property was renamed.
void renameProperty(const QString &oldName, const QString &newName)
Rename property from oldName to newName.
Definition: DataType.cpp:191
void addProperty(const QString &name, const QString &defaultValue=QString())
Add a new dynamic property to all data elements of this data type.
Definition: DataType.cpp:173
void setIcon(const QString &icon)
Set icon of data elements of this type.
Definition: DataType.cpp:104
void defaultColorChanged(const QColor &color)
Emitted when default color was changed.
void propertyRemoved(const QString &name)
Emitted when property was removed.
void visibilityChanged(bool visible)
Emitted when the visibility was changed.
bool isPropertyVisible(const QString &name) const
Definition: DataType.cpp:231
void propertyDefaultValueChanged(const QString &name)
Emitted when default value of property is changed.
QVariant propertyDefaultValue(const QString &name) const
Definition: DataType.cpp:212
void propertyAdded(const QString &name, const QVariant &defaultValue)
Emitted when new property was created.
void setPropertyVisible(const QString &name, bool visible)
Set default value of property name to visible.
Definition: DataType.cpp:239
void removeProperty(const QString &name)
Remove dynamic property from data type.
Definition: DataType.cpp:184
void setPropertyDefaultValue(const QString &name, const QVariant &value)
Set default value of property name to value.
Definition: DataType.cpp:221
static DataTypePtr create(Document *document, int identifier)
Create data type objects.
Definition: DataType.cpp:63
Definition: Document.h:41
void setDefaultColor(const QColor &color)
Set default color value for this data type.
Definition: DataType.cpp:162
void setVisible(bool visible)
Set visibility for all data elements of this type.
Definition: DataType.cpp:149
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.