|
graph_analysis
|
graphical node text label and Cluster label implementation More...
#include <Label.hpp>


Public Member Functions | |
| Label (const std::string &label, QGraphicsItem *parent) | |
| constructor More... | |
| void | setTextInteraction (bool on, bool selectAll=false) |
| toggles direct editing options of the displayed text More... | |
Protected Member Functions | |
| void | mouseDoubleClickEvent (QGraphicsSceneMouseEvent *event) |
| qt mouse double-click callback More... | |
| QVariant | itemChange (QGraphicsItem::GraphicsItemChange change, const QVariant &value) |
| qt item changed callback More... | |
graphical node text label and Cluster label implementation
specific to the diagram editor widget: editable text representation
| graph_analysis::gui::items::Label::Label | ( | const std::string & | label, |
| QGraphicsItem * | parent | ||
| ) |
constructor
| label | text to be displayed |
| parent | Parent of this item |
|
protected |
qt item changed callback
|
protected |
qt mouse double-click callback
| void graph_analysis::gui::items::Label::setTextInteraction | ( | bool | on, |
| bool | selectAll = false |
||
| ) |
toggles direct editing options of the displayed text
| on | boolean flag - true when the editing mode is to be turned on; false otherwise |
| selectAll | boolean flag - true when in editing mode the whole text shall be initially automatically selected; false otherwise |
1.8.17