comboEntryData.py (1025B)
1 #Embedded file name: C:\BuildAgent\work\20d73f1b24eed06e\eve\release\V24.01\packages\carbonui\control\comboEntryData.py 2 from eve.client.script.ui import eveColor 3 4 class BaseComboEntryData(object): 5 6 def __init__(self, label, returnValue = None, hint = None, icon = None, indentLevel = None, iconColor = eveColor.WHITE, loadTooltipFunc = None): 7 self.label = label 8 self.returnValue = returnValue 9 self.hint = hint 10 self.icon = icon 11 self.indentLevel = indentLevel 12 self.iconColor = iconColor 13 self.loadTooltipFunc = loadTooltipFunc 14 15 def GetHint(self): 16 return self.hint 17 18 def GetLoadTooltipFunc(self): 19 return self.loadTooltipFunc 20 21 22 class ComboEntryData(BaseComboEntryData): 23 pass 24 25 26 class ComboEntryDataText(BaseComboEntryData): 27 pass 28 29 30 class ComboEntryDataCaption(BaseComboEntryData): 31 pass 32 33 34 class ComboEntryDataSeparator(BaseComboEntryData): 35 36 def __init__(self): 37 super(ComboEntryDataSeparator, self).__init__(label='separator')