29 |
29 |
30 #------------------------------------------------------------------------------- |
30 #------------------------------------------------------------------------------- |
31 # Search In Project Dialog |
31 # Search In Project Dialog |
32 #------------------------------------------------------------------------------- |
32 #------------------------------------------------------------------------------- |
33 |
33 |
|
34 |
34 def GetElementsChoices(): |
35 def GetElementsChoices(): |
35 _ = lambda x: x |
36 _ = lambda x: x |
36 return [("datatype", _("Data Type")), |
37 return [("datatype", _("Data Type")), |
37 ("function", _("Function")), |
38 ("function", _("Function")), |
38 ("functionBlock", _("Function Block")), |
39 ("functionBlock", _("Function Block")), |
39 ("program", _("Program")), |
40 ("program", _("Program")), |
40 ("configuration", _("Configuration"))] |
41 ("configuration", _("Configuration"))] |
|
42 |
41 |
43 |
42 class SearchInProjectDialog(wx.Dialog): |
44 class SearchInProjectDialog(wx.Dialog): |
43 |
45 |
44 def __init__(self, parent): |
46 def __init__(self, parent): |
45 wx.Dialog.__init__(self, parent, title=_('Search in Project')) |
47 wx.Dialog.__init__(self, parent, title=_('Search in Project')) |