mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
7 lines
259 B
Python
7 lines
259 B
Python
from Shiboken2QtExample import *
|
|
|
|
a = QObjectWithEnum()
|
|
a.someSignal.connect(lambda x: print("Signal emitted: %s" % x))
|
|
a.aSlot()
|
|
print("int(QObjectWithEnum.MyEnum.Values) =", int(QObjectWithEnum.MyEnum.Values))
|
|
a.nonSlotFunction(QObjectWithEnum.MyEnum.Some)
|