A delegate for rendering multi-colored packet items in a view.
More...
#include <multi_color_packet_delegate.h>
|
| void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
| | Renders the item using the given painter and style option.
|
| |
A delegate for rendering multi-colored packet items in a view.
◆ MultiColorPacketDelegate()
| MultiColorPacketDelegate::MultiColorPacketDelegate |
( |
QWidget * |
parent = 0 | ) |
|
◆ paint()
| void MultiColorPacketDelegate::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
overrideprotected |
Renders the item using the given painter and style option.
- Parameters
-
| painter | The painter used to draw the item. |
| option | The style option specifying how the item should be drawn. |
| index | The model index of the item to be drawn. |
The documentation for this class was generated from the following files: