class QOpcUaXValue#

The OPC UA XVType. More

Synopsis#

Methods#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

This is the Qt OPC UA representation for the OPC UA XVType type defined in OPC UA 1.05 part 8, 5.6.8. This type is used to position values of float precision on an axis with double precision.

__init__()#

Default constructs a XValue object with no parameters set.

__init__(arg__1)
Parameters:

arg__1QOpcUaXValue

Constructs an XValue from rhs.

__init__(x, value)
Parameters:
  • x – float

  • value – float

Constructs an XValue with position x and value value.

__eq__(rhs)#
Parameters:

rhsQOpcUaXValue

Return type:

bool

Returns true if this XValue has the same value as rhs.

setValue(value)#
Parameters:

value – float

Sets the value for position x to value.

See also

value()

setX(x)#
Parameters:

x – float

Sets the position of the value on the axis to x.

See also

x()

value()#
Return type:

float

Returns the value for position x.

See also

setValue()

x()#
Return type:

float

Returns the position of the value on the axis.

See also

setX()