Skip to content

Commit

Permalink
Add pyqtSlot annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
BECATRUE committed Apr 3, 2024
1 parent b908335 commit d088385
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions iquip/apps/dataviewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1207,6 +1207,7 @@ def switchSourceMode(self, buttonId: int):
self.realtimeListThread.stop()
self.startRemoteListThread(self.remotePart.ridComboBox.currentText())

@pyqtSlot(str)
def _handleDatasetClicked(self, name: str):
"""Called when the given dataset name is clicked.
Expand All @@ -1222,6 +1223,7 @@ def _handleDatasetClicked(self, name: str):
else:
self.startRemoteDatasetThread(name)

@pyqtSlot()
def startRealtimeDatasetListThread(self):
"""Creates and starts a new _RealtimeListThread instance."""
self.realtimeListThread = _RealtimeListThread(
Expand Down

0 comments on commit d088385

Please sign in to comment.