|
graph_analysis
|
graphical edge text label implementation More...
#include <EdgeLabel.hpp>


Public Member Functions | |
| EdgeLabel (const std::string &label, QGraphicsItem *item) | |
| constructor More... | |
| void | setTextInteraction (bool on, bool selectAll=false) |
| toggles direct editing options of the displayed text More... | |
| void | setText (const QString &label) |
| updates displayed text string to 'label' More... | |
Protected Member Functions | |
| QVariant | itemChange (QGraphicsItem::GraphicsItemChange change, const QVariant &value) |
| qt item change callback More... | |
graphical edge text label implementation
specific to the diagram editor widget graphical implementation - non-framed non-editable text representation
|
inline |
constructor
| label | required text label |
| item | parent graphical edge item |
|
inlineprotected |
qt item change callback
|
inline |
updates displayed text string to 'label'
|
inline |
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.13