Exemplo n.º 1
0
 def displayText(self, value, locale):
     """displayText ( const QVariant & value, const QLocale & locale ) """
     value = value.strftime(self.pattern)
     return QStyledItemDelegate.displayText(self, value, locale)
Exemplo n.º 2
0
    def displayText(self, value, locale):
        """displayText ( const QVariant & value, const QLocale & locale ) """

        return QStyledItemDelegate.displayText(self, self.tr(self.operations[value]), locale)
Exemplo n.º 3
0
 def displayText(self, p_object, locale):
     if self._display_text:
         return QStyledItemDelegate.displayText(self, p_object, locale)
     return ""