#include <ddtGraphicsTextItem.hpp>
|
| DdtGraphicsTextItem (QGraphicsItem *parent=nullptr) |
|
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
|
void | setBrush (const QBrush in_brush) |
|
◆ DdtGraphicsTextItem()
DdtGraphicsTextItem::DdtGraphicsTextItem |
( |
QGraphicsItem * |
parent = nullptr | ) |
|
◆ paint()
void DdtGraphicsTextItem::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option, |
|
|
QWidget * |
widget |
|
) |
| |
Reimplemented paint method from QGraphicsTextItem
◆ setBrush()
void DdtGraphicsTextItem::setBrush |
( |
const QBrush |
in_brush | ) |
|
Sets the brush for the text background
- Parameters
-
in_brush | QBrush for the background |
◆ brush
QBrush DdtGraphicsTextItem::brush |
|
protected |
The documentation for this class was generated from the following files: