Debugger/VariablesFilterDialog.py

changeset 945
8cd4d08fa9f6
parent 791
9ec2ac20e54e
child 1112
8a7d1b9d18db
equal deleted inserted replaced
944:1b59c4ba121e 945:8cd4d08fa9f6
21 Class implementing the variables filter dialog. 21 Class implementing the variables filter dialog.
22 22
23 It opens a dialog window for the configuration of the variables type 23 It opens a dialog window for the configuration of the variables type
24 filter to be applied during a debugging session. 24 filter to be applied during a debugging session.
25 """ 25 """
26 def __init__(self, parent = None, name = None, modal = False): 26 def __init__(self, parent=None, name=None, modal=False):
27 """ 27 """
28 Constructor 28 Constructor
29 29
30 @param parent parent widget of this dialog (QWidget) 30 @param parent parent widget of this dialog (QWidget)
31 @param name name of this dialog (string) 31 @param name name of this dialog (string)
32 @param modal flag to indicate a modal dialog (boolean) 32 @param modal flag to indicate a modal dialog (boolean)
33 """ 33 """
34 QDialog.__init__(self,parent) 34 QDialog.__init__(self, parent)
35 if name: 35 if name:
36 self.setObjectName(name) 36 self.setObjectName(name)
37 self.setModal(modal) 37 self.setModal(modal)
38 self.setupUi(self) 38 self.setupUi(self)
39 39
73 gList.append(i) 73 gList.append(i)
74 return (lList, gList) 74 return (lList, gList)
75 75
76 def setSelection(self, lList, gList): 76 def setSelection(self, lList, gList):
77 """ 77 """
78 Public slot to set the current selection. 78 Public slot to set the current selection.
79 79
80 @param lList local variables filter (list of int) 80 @param lList local variables filter (list of int)
81 @param gList global variables filter (list of int) 81 @param gList global variables filter (list of int)
82 """ 82 """
83 for filterIndex in lList: 83 for filterIndex in lList:

eric ide

mercurial