QMetaObject¶
Synopsis¶
Functions¶
def
cast
(obj)def
cast
(obj)def
classInfo
(index)def
classInfoCount
()def
classInfoOffset
()def
className
()def
constructor
(index)def
constructorCount
()def
enumerator
(index)def
enumeratorCount
()def
enumeratorOffset
()def
indexOfClassInfo
(name)def
indexOfConstructor
(constructor)def
indexOfEnumerator
(name)def
indexOfMethod
(method)def
indexOfProperty
(name)def
indexOfSignal
(signal)def
indexOfSlot
(slot)def
inherits
(metaObject)def
method
(index)def
methodCount
()def
methodOffset
()def
newInstance
([val0=QGenericArgument(nullptr)[, val1=QGenericArgument()[, val2=QGenericArgument()[, val3=QGenericArgument()[, val4=QGenericArgument()[, val5=QGenericArgument()[, val6=QGenericArgument()[, val7=QGenericArgument()[, val8=QGenericArgument()[, val9=QGenericArgument()]]]]]]]]]])def
property
(index)def
propertyCount
()def
propertyOffset
()def
superClass
()def
userProperty
()
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 PySide2.QtCore.QMetaObject¶
- PySide2.QtCore.QMetaObject.Call¶
- PySide2.QtCore.QMetaObject.cast(obj)¶
- Parameters:
obj –
PySide2.QtCore.QObject
- Return type:
- PySide2.QtCore.QMetaObject.cast(obj)
- Parameters:
obj –
PySide2.QtCore.QObject
- Return type:
- static PySide2.QtCore.QMetaObject.checkConnectArgs(signal, method)¶
- Parameters:
signal –
PySide2.QtCore.QMetaMethod
method –
PySide2.QtCore.QMetaMethod
- Return type:
bool
- static PySide2.QtCore.QMetaObject.checkConnectArgs(signal, method)
- Parameters:
signal – str
method – str
- Return type:
bool
- PySide2.QtCore.QMetaObject.classInfo(index)¶
- Parameters:
index – int
- Return type:
- 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:
- PySide2.QtCore.QMetaObject.constructor(index)¶
- Parameters:
index – int
- Return type:
- PySide2.QtCore.QMetaObject.constructorCount()¶
- Return type:
int
- static PySide2.QtCore.QMetaObject.disconnect(sender, signal_index, receiver, method_index)¶
- Parameters:
sender –
PySide2.QtCore.QObject
signal_index – int
receiver –
PySide2.QtCore.QObject
method_index – int
- Return type:
bool
- static PySide2.QtCore.QMetaObject.disconnectOne(sender, signal_index, receiver, method_index)¶
- Parameters:
sender –
PySide2.QtCore.QObject
signal_index – int
receiver –
PySide2.QtCore.QObject
method_index – int
- Return type:
bool
- PySide2.QtCore.QMetaObject.enumerator(index)¶
- Parameters:
index – int
- Return type:
- 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:
metaObject –
PySide2.QtCore.QMetaObject
- 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:
obj –
PySide2.QtCore.QObject
member – str
- 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:
obj –
PySide2.QtCore.QObject
member – str
- 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:
obj –
PySide2.QtCore.QObject
member – str
arg__3 –
ConnectionType
- 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:
obj –
PySide2.QtCore.QObject
member – str
type –
ConnectionType
- Return type:
bool
- PySide2.QtCore.QMetaObject.method(index)¶
- Parameters:
index – int
- Return type:
- 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:
- static PySide2.QtCore.QMetaObject.normalizedSignature(method)¶
- Parameters:
method – str
- Return type:
- static PySide2.QtCore.QMetaObject.normalizedType(type)¶
- Parameters:
type – str
- Return type:
- PySide2.QtCore.QMetaObject.property(index)¶
- Parameters:
index – int
- Return type:
- PySide2.QtCore.QMetaObject.propertyCount()¶
- Return type:
int
- PySide2.QtCore.QMetaObject.propertyOffset()¶
- Return type:
int
- PySide2.QtCore.QMetaObject.superClass()¶
- Return type:
- PySide2.QtCore.QMetaObject.userProperty()¶
- Return type:
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.