QMetaObject

Inheritance diagram of PySide2.QtCore.QMetaObject

Synopsis

Functions

Static functions

  • def checkConnectArgs (signal, method)

  • def checkConnectArgs (signal, method)

  • def connectSlotsByName (o)

  • def disconnect (sender, signal_index, receiver, method_index)

  • def disconnectOne (sender, signal_index, receiver, method_index)

  • def invokeMethod (obj, member, arg__3, ret[, val0=QGenericArgument(nullptr)[, val1=QGenericArgument()[, val2=QGenericArgument()[, val3=QGenericArgument()[, val4=QGenericArgument()[, val5=QGenericArgument()[, val6=QGenericArgument()[, val7=QGenericArgument()[, val8=QGenericArgument()[, val9=QGenericArgument()]]]]]]]]]])

  • def invokeMethod (obj, member, ret[, val0=QGenericArgument(nullptr)[, val1=QGenericArgument()[, val2=QGenericArgument()[, val3=QGenericArgument()[, val4=QGenericArgument()[, val5=QGenericArgument()[, val6=QGenericArgument()[, val7=QGenericArgument()[, val8=QGenericArgument()[, val9=QGenericArgument()]]]]]]]]]])

  • def invokeMethod (obj, member, type[, val0=QGenericArgument(nullptr)[, val1=QGenericArgument()[, val2=QGenericArgument()[, val3=QGenericArgument()[, val4=QGenericArgument()[, val5=QGenericArgument()[, val6=QGenericArgument()[, val7=QGenericArgument()[, val8=QGenericArgument()[, val9=QGenericArgument()]]]]]]]]]])

  • def invokeMethod (obj, member[, val0=QGenericArgument(nullptr)[, val1=QGenericArgument()[, val2=QGenericArgument()[, val3=QGenericArgument()[, val4=QGenericArgument()[, val5=QGenericArgument()[, val6=QGenericArgument()[, val7=QGenericArgument()[, val8=QGenericArgument()[, val9=QGenericArgument()]]]]]]]]]])

  • def normalizedSignature (method)

  • def normalizedType (type)

Detailed Description

class QMetaObject
PySide2.QtCore.QMetaObject.Call
PySide2.QtCore.QMetaObject.cast(obj)
Parameters

objQObject

Return type

QObject

PySide2.QtCore.QMetaObject.cast(obj)
Parameters

objQObject

Return type

QObject

static PySide2.QtCore.QMetaObject.checkConnectArgs(signal, method)
Parameters
Return type

bool

static PySide2.QtCore.QMetaObject.checkConnectArgs(signal, method)
Parameters
  • signal – str

  • method – str

Return type

bool

PySide2.QtCore.QMetaObject.classInfo(index)
Parameters

indexint

Return type

QMetaClassInfo

PySide2.QtCore.QMetaObject.classInfoCount()
Return type

int

PySide2.QtCore.QMetaObject.classInfoOffset()
Return type

int

PySide2.QtCore.QMetaObject.className()
Return type

str

static PySide2.QtCore.QMetaObject.connectSlotsByName(o)
Parameters

oQObject

PySide2.QtCore.QMetaObject.constructor(index)
Parameters

indexint

Return type

QMetaMethod

PySide2.QtCore.QMetaObject.constructorCount()
Return type

int

static PySide2.QtCore.QMetaObject.disconnect(sender, signal_index, receiver, method_index)
Parameters
  • senderQObject

  • signal_indexint

  • receiverQObject

  • method_indexint

Return type

bool

static PySide2.QtCore.QMetaObject.disconnectOne(sender, signal_index, receiver, method_index)
Parameters
  • senderQObject

  • signal_indexint

  • receiverQObject

  • method_indexint

Return type

bool

PySide2.QtCore.QMetaObject.enumerator(index)
Parameters

indexint

Return type

QMetaEnum

PySide2.QtCore.QMetaObject.enumeratorCount()
Return type

int

PySide2.QtCore.QMetaObject.enumeratorOffset()
Return type

int

PySide2.QtCore.QMetaObject.indexOfClassInfo(name)
Parameters

name – str

Return type

int

PySide2.QtCore.QMetaObject.indexOfConstructor(constructor)
Parameters

constructor – str

Return type

int

PySide2.QtCore.QMetaObject.indexOfEnumerator(name)
Parameters

name – str

Return type

int

PySide2.QtCore.QMetaObject.indexOfMethod(method)
Parameters

method – str

Return type

int

PySide2.QtCore.QMetaObject.indexOfProperty(name)
Parameters

name – str

Return type

int

PySide2.QtCore.QMetaObject.indexOfSignal(signal)
Parameters

signal – str

Return type

int

PySide2.QtCore.QMetaObject.indexOfSlot(slot)
Parameters

slot – str

Return type

int

PySide2.QtCore.QMetaObject.inherits(metaObject)
Parameters

metaObjectQMetaObject

Return type

bool

static PySide2.QtCore.QMetaObject.invokeMethod(obj, member[, val0=QGenericArgument(nullptr)[, val1=QGenericArgument()[, val2=QGenericArgument()[, val3=QGenericArgument()[, val4=QGenericArgument()[, val5=QGenericArgument()[, val6=QGenericArgument()[, val7=QGenericArgument()[, val8=QGenericArgument()[, val9=QGenericArgument()]]]]]]]]]])
Parameters
Return type

bool

static PySide2.QtCore.QMetaObject.invokeMethod(obj, member, ret[, val0=QGenericArgument(nullptr)[, val1=QGenericArgument()[, val2=QGenericArgument()[, val3=QGenericArgument()[, val4=QGenericArgument()[, val5=QGenericArgument()[, val6=QGenericArgument()[, val7=QGenericArgument()[, val8=QGenericArgument()[, val9=QGenericArgument()]]]]]]]]]])
Parameters
Return type

bool

static PySide2.QtCore.QMetaObject.invokeMethod(obj, member, arg__3, ret[, val0=QGenericArgument(nullptr)[, val1=QGenericArgument()[, val2=QGenericArgument()[, val3=QGenericArgument()[, val4=QGenericArgument()[, val5=QGenericArgument()[, val6=QGenericArgument()[, val7=QGenericArgument()[, val8=QGenericArgument()[, val9=QGenericArgument()]]]]]]]]]])
Parameters
Return type

bool

static PySide2.QtCore.QMetaObject.invokeMethod(obj, member, type[, val0=QGenericArgument(nullptr)[, val1=QGenericArgument()[, val2=QGenericArgument()[, val3=QGenericArgument()[, val4=QGenericArgument()[, val5=QGenericArgument()[, val6=QGenericArgument()[, val7=QGenericArgument()[, val8=QGenericArgument()[, val9=QGenericArgument()]]]]]]]]]])
Parameters
Return type

bool

PySide2.QtCore.QMetaObject.method(index)
Parameters

indexint

Return type

QMetaMethod

PySide2.QtCore.QMetaObject.methodCount()
Return type

int

PySide2.QtCore.QMetaObject.methodOffset()
Return type

int

PySide2.QtCore.QMetaObject.newInstance([val0=QGenericArgument(nullptr)[, val1=QGenericArgument()[, val2=QGenericArgument()[, val3=QGenericArgument()[, val4=QGenericArgument()[, val5=QGenericArgument()[, val6=QGenericArgument()[, val7=QGenericArgument()[, val8=QGenericArgument()[, val9=QGenericArgument()]]]]]]]]]])
Parameters
Return type

QObject

static PySide2.QtCore.QMetaObject.normalizedSignature(method)
Parameters

method – str

Return type

QByteArray

static PySide2.QtCore.QMetaObject.normalizedType(type)
Parameters

type – str

Return type

QByteArray

PySide2.QtCore.QMetaObject.property(index)
Parameters

indexint

Return type

QMetaProperty

PySide2.QtCore.QMetaObject.propertyCount()
Return type

int

PySide2.QtCore.QMetaObject.propertyOffset()
Return type

int

PySide2.QtCore.QMetaObject.superClass()
Return type

QMetaObject

PySide2.QtCore.QMetaObject.userProperty()
Return type

QMetaProperty