|
QGIS API Documentation
2.12.0-Lyon
|
QgsPropertyValue node. More...
#include <qgsprojectproperty.h>

Public Member Functions | |
| QgsPropertyValue () | |
| QgsPropertyValue (const QVariant &value) | |
| virtual | ~QgsPropertyValue () |
| int | count () const |
| void | dump (int tabs=0) const override |
| Dumps out the keys and values. More... | |
| void | entryList (QStringList &keyName, QStringList &entries) const |
| Return keys that do not contain other keys. More... | |
| virtual bool | isKey () const override |
| Returns true if is a QgsPropertyKey. More... | |
| bool | isLeaf () const override |
| Returns true if is a leaf node. More... | |
| virtual bool | isValue () const override |
| Returns true if is a QgsPropertyValue. More... | |
| bool | readXML (QDomNode &keyNode) override |
| restores property hierarchy to given Dom node More... | |
| QVariant | value () const override |
| Return the node's value. More... | |
| bool | writeXML (const QString &nodeName, QDomElement &element, QDomDocument &document) override |
| keyElement created by parent QgsPropertyKey More... | |
Public Member Functions inherited from QgsProperty | |
| QgsProperty () | |
| virtual | ~QgsProperty () |
QgsPropertyValue node.
Contains a QgsPropertyKey's value
Definition at line 119 of file qgsprojectproperty.h.
|
inline |
Definition at line 122 of file qgsprojectproperty.h.
|
inline |
Definition at line 124 of file qgsprojectproperty.h.
|
inlinevirtual |
Definition at line 128 of file qgsprojectproperty.h.
|
inline |
Definition at line 153 of file qgsprojectproperty.h.
|
overridevirtual |
Dumps out the keys and values.
| tabs | is number of tabs to print; used for pretty-printing hierarchy |
Implements QgsProperty.
Definition at line 24 of file qgsprojectproperty.cpp.
|
inline |
Return keys that do not contain other keys.
Since QgsPropertyValue isn't a key, don't do anything.
Definition at line 159 of file qgsprojectproperty.h.
|
inlineoverridevirtual |
Returns true if is a QgsPropertyKey.
Implements QgsProperty.
Definition at line 131 of file qgsprojectproperty.h.
|
inlineoverridevirtual |
Returns true if is a leaf node.
Implements QgsProperty.
Definition at line 143 of file qgsprojectproperty.h.
|
inlineoverridevirtual |
Returns true if is a QgsPropertyValue.
Implements QgsProperty.
Definition at line 134 of file qgsprojectproperty.h.
|
overridevirtual |
restores property hierarchy to given Dom node
Used for restoring properties from project file
Implements QgsProperty.
Definition at line 45 of file qgsprojectproperty.cpp.
|
inlineoverridevirtual |
Return the node's value.
For QgsPropertyValue nodes, this is straightforward – just return the embedded QVariant, _value. For QgsPropertyKey, this means returning the QgsPropertyValue _value that is keyed by its name, if it exists; i.e., QgsPropertyKey "foo" will return the property value mapped to its name, "foo", in its QHash of QProperties.
Implements QgsProperty.
Definition at line 136 of file qgsprojectproperty.h.
|
overridevirtual |
keyElement created by parent QgsPropertyKey
Implements QgsProperty.
Definition at line 226 of file qgsprojectproperty.cpp.
1.8.9.1