Skip to content

Commit

Permalink
Add basic 'test'
Browse files Browse the repository at this point in the history
  • Loading branch information
altendky committed Oct 1, 2020
1 parent 6f4cd50 commit ffd2392
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/pyqtsignal.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@


class Class(QtCore.QObject):
signal: typing.ClassVar[QtCore.pyqtSignal] = QtCore.pyqtSignal()
signal: typing.ClassVar[QtCore.pyqtSignal] = QtCore.pyqtSignal([str])


Class.signal.__get__

instance = Class()
instance.signal.emit
instance.signal.connect
instance.signal.disconnect
instance.signal[str].emit

0 comments on commit ffd2392

Please sign in to comment.