Example #1
0
 def slotColour(self, slot):
     return slotColourMap.get(slot) or self.GetBackgroundColour()
Example #2
0
 def columnBackground(self, colItem, item):
     if self.sFit.serviceFittingOptions["colorFitBySlot"]:
         return slotColourMap.get(Module.calculateSlot(item)) or self.GetBackgroundColour()
     else:
         return self.GetBackgroundColour()
Example #3
0
 def slotColour(self, slot):
     return slotColourMap.get(slot) or self.GetBackgroundColour()
Example #4
0
 def columnBackground(self, colItem, item):
     if self.sFit.serviceFittingOptions["colorFitBySlot"]:
         return slotColourMap.get(Module.calculateSlot(item)) or self.GetBackgroundColour()
     else:
         return self.GetBackgroundColour()