rocs/RocsCore
PointerType.cpp
Go to the documentation of this file.
void addProperty(const QString &name, const QString &defaultValue="")
Add a new dynamic property to all data elements of this pointer type.
Definition: PointerType.cpp:140
void setPropertyDefaultValue(const QString &name, const QVariant &value)
Set default value of property name to value.
Definition: PointerType.cpp:187
void propertyRemoved(const QString &name)
Emitted when property was removed.
void propertyVisibilityChanged(const QString &name)
Emitted when the visibility was changed.
void renameProperty(const QString &oldName, const QString &newName)
Rename property from oldName to newName.
Definition: PointerType.cpp:158
void setLineStyle(Qt::PenStyle lineStyle)
Set line style for all pointers of this type.
Definition: PointerType.cpp:120
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
void directionChanged(PointerType::Direction direction)
Emitted when direction was changed.
A pointer type groups a set of pointers and gives them a common appearance.
Definition: PointerType.h:41
void removeProperty(const QString &name)
Remove dynamic property from pointer type.
Definition: PointerType.cpp:151
void setPropertyVisible(const QString &name, bool visible)
Set default value of property name to visible.
Definition: PointerType.cpp:204
QVariant propertyDefaultValue(const QString &name) const
Definition: PointerType.cpp:179
PointerType(Document *document, int identifier)
Definition: PointerType.cpp:71
bool isPropertyVisible(const QString &name) const
Definition: PointerType.cpp:196
void propertyRenamed(const QString &oldName, const QString &newName)
Emitted when a property was renamed.
Definition: Document.h:41
void setDirection(PointerType::Direction direction)
Set direction for all pointers of this type.
Definition: PointerType.cpp:107
static PointerTypePtr create(Document *document, int identifier)
Create pointer type objects.
Definition: PointerType.cpp:62
void setVisible(bool visible)
Set visibility for all pointers of this type.
Definition: PointerType.cpp:218
void styleChanged()
Emitted when settings for the visual representation changed.
void setDefaultColor(const QColor &color)
Set default color value for this pointer type.
Definition: PointerType.cpp:127
void propertyDefaultValueChanged(const QString &name)
Emitted when default value of property is changed.
void propertyAdded(const QString &name, const QVariant &defaultValue)
Emitted when new property was created.
void visibilityChanged(bool visible)
Emitted when the visibility was changed.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.