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
|
|
@ -54,7 +54,8 @@ public:
|
|||
bool connect(QObject* source, const char* signal, PyObject* callback, Qt::ConnectionType type = Qt::AutoConnection);
|
||||
bool connect(QObject* source, const char* signal, QObject* receiver, const char* slot, Qt::ConnectionType type = Qt::AutoConnection);
|
||||
bool emitSignal(QObject* source, const char* signal, PyObject* args);
|
||||
void removeProxySlot(QObject* signalSource);
|
||||
void removeProxySlot(const QObject* signalSource);
|
||||
const QMetaObject* getMetaObject(const QObject* object) const;
|
||||
private:
|
||||
struct SignalManagerPrivate;
|
||||
SignalManagerPrivate* m_d;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue