controls/VariablePanel.py
changeset 1767 c74815729afd
parent 1766 c1e5b9f19483
child 1768 691083b5682a
equal deleted inserted replaced
1766:c1e5b9f19483 1767:c74815729afd
   504 
   504 
   505             if element_type in ["config", "resource"]:
   505             if element_type in ["config", "resource"]:
   506                 self.FilterChoices = ["All", "Global"]  # ,"Access"]
   506                 self.FilterChoices = ["All", "Global"]  # ,"Access"]
   507             else:
   507             else:
   508                 self.FilterChoices = ["All",
   508                 self.FilterChoices = ["All",
   509                                         "Interface", "   Input", "   Output", "   InOut", "   External",
   509                                       "Interface", "   Input", "   Output", "   InOut", "   External",
   510                                         "Variables", "   Local", "   Temp"]  # ,"Access"]
   510                                       "Variables", "   Local", "   Temp"]  # ,"Access"]
   511 
   511 
   512             # these condense the ColAlignements list
   512             # these condense the ColAlignements list
   513             left = wx.ALIGN_LEFT
   513             left = wx.ALIGN_LEFT
   514             center = wx.ALIGN_CENTER
   514             center = wx.ALIGN_CENTER
   515 
   515 
   524             # this is an element that cannot have located variables
   524             # this is an element that cannot have located variables
   525             self.Table = VariableTable(self, [], GetVariableTableColnames(False))
   525             self.Table = VariableTable(self, [], GetVariableTableColnames(False))
   526 
   526 
   527             if element_type == "function":
   527             if element_type == "function":
   528                 self.FilterChoices = ["All",
   528                 self.FilterChoices = ["All",
   529                                         "Interface", "   Input", "   Output", "   InOut",
   529                                       "Interface", "   Input", "   Output", "   InOut",
   530                                         "Variables", "   Local"]
   530                                       "Variables", "   Local"]
   531             else:
   531             else:
   532                 self.FilterChoices = ["All",
   532                 self.FilterChoices = ["All",
   533                                         "Interface", "   Input", "   Output", "   InOut", "   External",
   533                                       "Interface", "   Input", "   Output", "   InOut", "   External",
   534                                         "Variables", "   Local", "   Temp"]
   534                                       "Variables", "   Local", "   Temp"]
   535 
   535 
   536             # these condense the alignements list
   536             # these condense the alignements list
   537             left = wx.ALIGN_LEFT
   537             left = wx.ALIGN_LEFT
   538             center = wx.ALIGN_CENTER
   538             center = wx.ALIGN_CENTER
   539 
   539