QGenericArgument#

The QGenericArgument class is an internal helper class for marshalling arguments. More

Inheritance diagram of PySide6.QtCore.QGenericArgument

Inherited by: QGenericReturnArgument

Synopsis#

Functions#

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 class should never be used directly. Please use the Q_ARG() macro instead.

class PySide6.QtCore.QGenericArgument([aName=None[, aData=None]])#
Parameters:
  • aName – str

  • aDatavoid

Constructs a QGenericArgument object with the given name and data.

PySide6.QtCore.QGenericArgument.data()#
Return type:

void

Returns the data set in the constructor.

PySide6.QtCore.QGenericArgument.name()#
Return type:

str

Returns the name set in the constructor.