Interface to FloatingTextWidget for AssociationWidget and MessageWidget.
More...
#include <linkwidget.h>
Interface to FloatingTextWidget for AssociationWidget and MessageWidget.
This is an interface realized by AssociationWidget and MessageWidget. The design of this interface was driven by the requirements of class FloatingTextWidget. As the architecture of Umbrello evolves (for example, if the class FloatingTextWidget is redesigned), it can be cleaned up.
- Author
- Oliver Kellogg okell.nosp@m.ogg@.nosp@m.users.nosp@m..sou.nosp@m.rcefo.nosp@m.rge..nosp@m.net Bugs and comments to umbre.nosp@m.llo-.nosp@m.devel.nosp@m.@kde.nosp@m..org or https://bugs.kde.org
◆ LinkWidget()
LinkWidget::LinkWidget |
( |
| ) |
|
◆ ~LinkWidget()
LinkWidget::~LinkWidget |
( |
| ) |
|
|
virtual |
◆ calculateNameTextSegment()
void LinkWidget::calculateNameTextSegment |
( |
| ) |
|
|
virtual |
◆ constrainTextPos()
virtual void LinkWidget::constrainTextPos |
( |
qreal & |
textX, |
|
|
qreal & |
textY, |
|
|
qreal |
textWidth, |
|
|
qreal |
textHeight, |
|
|
Uml::TextRole::Enum |
tr |
|
) |
| |
|
pure virtual |
◆ customOpText()
virtual QString LinkWidget::customOpText |
( |
| ) |
|
|
pure virtual |
◆ loadFromXMI()
bool LinkWidget::loadFromXMI |
( |
QDomElement & |
qElement | ) |
|
|
virtual |
◆ lwClassifier()
◆ lwOperationText()
virtual QString LinkWidget::lwOperationText |
( |
| ) |
|
|
pure virtual |
◆ lwSetFont()
virtual void LinkWidget::lwSetFont |
( |
QFont |
font | ) |
|
|
pure virtual |
Sets the font the widget is to use. Abstract operation implemented by inheriting classes. Motivated by FloatingTextWidget::slotMenuSelection(mt_Operation)
- Parameters
-
Implemented in MessageWidget, and AssociationWidget.
◆ operation()
◆ operationOwner()
◆ operationText()
QString LinkWidget::operationText |
( |
UMLScene * |
scene = 0 | ) |
|
Return the operation text. When no scene parameter is given, the scene of the current view is taken instead.
- Parameters
-
- Returns
- the operation text
◆ resetTextPositions()
void LinkWidget::resetTextPositions |
( |
| ) |
|
|
virtual |
◆ saveToXMI()
void LinkWidget::saveToXMI |
( |
QXmlStreamWriter & |
writer | ) |
|
|
virtual |
◆ sequenceNumber()
QString LinkWidget::sequenceNumber |
( |
| ) |
const |
Read property of QString m_SequenceNumber.
◆ setCustomOpText()
virtual void LinkWidget::setCustomOpText |
( |
const QString & |
opText | ) |
|
|
pure virtual |
◆ setMessageText()
◆ setOperation()
◆ setOperationText()
virtual void LinkWidget::setOperationText |
( |
const QString & |
op | ) |
|
|
pure virtual |
◆ setSequenceNumber()
void LinkWidget::setSequenceNumber |
( |
const QString & |
sequenceNumber | ) |
|
Write property of QString m_SequenceNumber.
◆ setText()
◆ showPropertiesDialog()
bool LinkWidget::showPropertiesDialog |
( |
| ) |
|
|
virtual |
◆ m_SequenceNumber
QString LinkWidget::m_SequenceNumber |
|
protected |
The documentation for this class was generated from the following files: