dialogs/SearchInProjectDialog.py
changeset 1736 7e61baa047f0
parent 1730 64d8f52bc8c8
child 1740 b789b695b5c6
equal deleted inserted replaced
1735:c02818d7e29f 1736:7e61baa047f0
    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'))