itemdelegates
Docs
Module containing custom delegate classes.
PrettyQt offers an extended Item delegate with support for a large number of different data types.
The following data types are supported:
- bool
- enum.Flag
- enum.Enum
- int
- float
- str
- range
- slice
- list of ints
- list of floats
- list of strings
- pathlib.Path
- re.Pattern
- datetime.date
- datetime.time
- datetime.datetime
- QtCore.QRegularExpression
- QtCore.QTime
- QtCore.QDate
- QtCore.QDateTime
- QtCore.QPoint
- QtCore.QPointF
- QtCore.QRect
- QtCore.QRectF
- QtCore.QRection
- QtCore.QKeyCombination
- QtCore.QLocale
- QtCore.QSize
- QtCore.QSizeF
- QtCore.QUrl
- QtGui.QFont
- QtGui.QKeySequence
- QtGui.QPalette
- QtGui.QColor
- QtGui.QBrush
- QtGui.QCursor
- QtGui.QIcon
- QtWidgets.QSizePolicy
If numpy is installed, the following types are supported, too:
- numpy.floating
- numpy.integer
- numpy.str_
- numpy.datetime64
- numpy.bool_
Classes
Name | Children | Inherits |
---|---|---|
WidgetDelegate prettyqt.itemdelegates.widgetdelegate |
||
RadioDelegate prettyqt.itemdelegates.radiodelegate |
||
EditorDelegate prettyqt.itemdelegates.editordelegate |
||
ButtonDelegate prettyqt.itemdelegates.buttondelegate |
||
MarkdownItemDelegate prettyqt.itemdelegates.htmlitemdelegate |
|
|
StarDelegate prettyqt.itemdelegates.stardelegate |
||
RenderLinkDelegate prettyqt.itemdelegates.renderlinkdelegate |
||
IconDelegate prettyqt.itemdelegates.icondelegate |
||
HtmlItemDelegate prettyqt.itemdelegates.htmlitemdelegate |
|
|
ProgressBarDelegate prettyqt.itemdelegates.progressbardelegate |
||
NoFocusDelegate prettyqt.itemdelegates.nofocusdelegate |