#include <Workspace/Presentation/operationviewlabel.h>
Inherits QGraphicsTextItem.
|
QVariant | itemChange (GraphicsItemChange change, const QVariant &value) override |
|
◆ OperationViewLabel()
- Parameters
-
label | The initial value of the label. |
opView | The OperationViewBox that the label is anchored to. |
op | The Operation |
◆ ~OperationViewLabel()
◆ alignLabel()
◆ elideLabel()
◆ isSelected()
bool isSelected |
( |
| ) |
const |
- Returns
- True if the operation is currently selected.
◆ itemChange()
QVariant itemChange |
( |
GraphicsItemChange |
change, |
|
|
const QVariant & |
value |
|
) |
| |
|
overrideprotected |
◆ paint()
void paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option, |
|
|
QWidget * |
widget = nullptr |
|
) |
| |
|
override |
◆ setLabelText()
void setLabelText |
( |
const QString & |
text | ) |
|