The OPC UA EURange type. More...
| Header: | #include <QOpcUaEUInformation> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa)target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
| QOpcUaEUInformation() | |
| QOpcUaEUInformation(const QString &namespaceUri, qint32 unitId, const QOpcUaLocalizedText &displayName, const QOpcUaLocalizedText &description) | |
| QOpcUaEUInformation(const QOpcUaEUInformation &rhs) | |
| QOpcUaLocalizedText | description() const |
| QOpcUaLocalizedText | displayName() const |
| QString | namespaceUri() const |
| void | setDescription(const QOpcUaLocalizedText &description) |
| void | setDisplayName(const QOpcUaLocalizedText &displayName) |
| void | setNamespaceUri(const QString &namespaceUri) |
| void | setUnitId(qint32 unitId) |
| qint32 | unitId() const |
| QVariant | operator QVariant() const |
| QOpcUaEUInformation & | operator=(const QOpcUaEUInformation &rhs) |
| bool | operator==(const QOpcUaEUInformation &rhs) const |
This is the Qt OPC UA representation for the OPC UA EUInformation type defined in OPC UA 1.05 part 8, 5.6.3. EUInformation values contain information about units and are mostly used as property of a node with a numeric value attribute. The information can e. g. be used to add text and tooltips to GUI elements.
Default constructs an EU information with no parameters set.
Constructs a EUinformation with namespace URI namespaceUri, unit id unitId, display name displayName and description description.
Constructs a EUinformation from rhs.
Returns the description of the unit, for example degree Celsius.
See also setDescription().
Returns the display name of the unit, for example °C.
See also setDisplayName().
Returns the namespace URI of the unit.
See also setNamespaceUri().
Sets the description if the unit to description.
See also description().
Sets the display name of the unit to displayName.
See also displayName().
Sets the namespace URI of the unit to namespaceUri.
See also namespaceUri().
Sets the machine-readable identifier for the unit to unitId.
See also unitId().
Returns the machine-readable identifier for the unit.
See also setUnitId().
Converts this EUinformation to QVariant.
Sets the values from rhs in this EUinformation.
Returns true if this EUinformation has the same value as rhs.