6.68. umbra.ui.delegates

delegates.py

Platform:
Windows, Linux, Mac Os X.
Description:
This module defines the Application Delegates classes.

Others:

6.68.1. Module Attributes

umbra.ui.delegates.LOGGER

6.68.2. Classes

class umbra.ui.delegates.Style(**kwargs)[source]

Bases: foundations.dataStructures.Structure

This class represents a storage object for the RichText_QStyledItemDelegate class style.

Parameters:**kwargs – . ( Key / Value pairs )
class umbra.ui.delegates.RichText_QStyledItemDelegate(parent=None, style=None, highlightColor=None, hoverColor=None, backgroundColor=None, highlightBackgroundColor=None, hoverBackgroundColor=None)[source]

Bases: PyQt4.QtGui.QStyledItemDelegate

This class is a QStyledItemDelegate subclass used as a rich text Delegate for Application Views.

Parameters:
  • parent – Widget parent. ( QObject )
  • style – Style. ( Style )
style[source]

This method is the property for self.__style attribute.

Returns:self.__style. ( Style )
paint(painter, option, index)[source]

This method reimplements the QStyledItemDelegate.paint() method.

sizeHint(option, index)[source]

This method reimplements the QStyledItemDelegate.sizeHint() method.

Table Of Contents

Previous topic

6.67. umbra.ui.completers

Next topic

6.69. umbra.ui.highlighters

This Page