We have a nice Dynamic MetaObject! Yay!
Python signals and slots are like C++ signals and slots to Qt :-)
This commit is contained in:
parent
e791f15afc
commit
9e1a1ec8a7
9 changed files with 275 additions and 32 deletions
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
using namespace PySide;
|
||||
|
||||
ProxySlot::ProxySlot(QObject* signalSource) : m_signalSource(signalSource)
|
||||
ProxySlot::ProxySlot(const QObject* signalSource) : m_metaObject(signalSource), m_signalSource(signalSource)
|
||||
{
|
||||
m_nextSlotIndex = m_signalSource->metaObject()->methodCount()-1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue