eric6/Debugger/BreakPointViewer.py

branch
maintenance
changeset 8043
0acf98cd089a
parent 7924
8a96736d465e
parent 7923
91e843545d9a
child 8142
43248bafe9b2
--- a/eric6/Debugger/BreakPointViewer.py	Sun Jan 17 13:53:08 2021 +0100
+++ b/eric6/Debugger/BreakPointViewer.py	Mon Feb 01 10:38:16 2021 +0100
@@ -67,7 +67,8 @@
         """
         Public slot to set the breakpoint model.
         
-        @param model reference to the breakpoint model (BreakPointModel)
+        @param model reference to the breakpoint model
+        @type BreakPointModel
         """
         self.__model = model
         
@@ -111,8 +112,10 @@
         """
         Private slot to convert an index to a source index.
         
-        @param index index to be converted (QModelIndex)
-        @return mapped index (QModelIndex)
+        @param index index to be converted
+        @type QModelIndex
+        @return mapped index
+        @rtype QModelIndex
         """
         return self.sortingModel.mapToSource(index)
         
@@ -120,8 +123,10 @@
         """
         Private slot to convert a source index to an index.
         
-        @param sindex source index to be converted (QModelIndex)
-        @return mapped index (QModelIndex)
+        @param sindex source index to be converted
+        @type QModelIndex
+        @return mapped index
+        @rtype QModelIndex
         """
         return self.sortingModel.mapFromSource(sindex)
         
@@ -129,8 +134,10 @@
         """
         Private slot to select a complete row.
         
-        @param index index determining the row to be selected (QModelIndex)
-        @param selected flag indicating the action (bool)
+        @param index index determining the row to be selected
+        @type QModelIndex
+        @param selected flag indicating the action
+        @type bool
         """
         if not index.isValid():
             return
@@ -205,7 +212,8 @@
         """
         Private slot to show the context menu.
         
-        @param coord the position of the mouse pointer (QPoint)
+        @param coord the position of the mouse pointer
+        @type QPoint
         """
         cnt = self.__getSelectedItemsCount()
         if cnt <= 1:
@@ -259,7 +267,8 @@
         """
         Private slot to handle the double clicked signal.
         
-        @param index index of the entry that was double clicked (QModelIndex)
+        @param index index of the entry that was double clicked
+        @type QModelIndex
         """
         if index.isValid():
             self.__editBreakpoint(index)
@@ -276,7 +285,8 @@
         """
         Private slot to edit a breakpoint.
         
-        @param index index of breakpoint to be edited (QModelIndex)
+        @param index index of breakpoint to be edited
+        @type QModelIndex
         """
         sindex = self.__toSourceIndex(index)
         if sindex.isValid():
@@ -308,8 +318,10 @@
         """
         Private method to set the enabled status of a breakpoint.
         
-        @param index index of breakpoint to be enabled/disabled (QModelIndex)
-        @param enabled flag indicating the enabled status to be set (boolean)
+        @param index index of breakpoint to be enabled/disabled
+        @type QModelIndex
+        @param enabled flag indicating the enabled status to be set
+        @type bool
         """
         sindex = self.__toSourceIndex(index)
         if sindex.isValid():
@@ -421,8 +433,10 @@
         """
         Public slot to handle the clientLine signal.
         
-        @param fn filename of the breakpoint (string)
-        @param lineno line number of the breakpoint (integer)
+        @param fn filename of the breakpoint
+        @type str
+        @param lineno line number of the breakpoint
+        @type int
         """
         sindex = self.__model.getBreakPointIndex(fn, lineno)
         if sindex.isValid():
@@ -456,7 +470,8 @@
         """
         Private method to get the count of items selected.
         
-        @return count of items selected (integer)
+        @return count of items selected
+        @rtype int
         """
         count = len(self.selectedIndexes()) // (self.__model.columnCount() - 1)
         # column count is 1 greater than selectable

eric ide

mercurial