LinkWidget Class Reference
This is an interface realized by AssociationWidget and MessageWidget. Interface to FloatingTextWidget for AssociationWidget and MessageWidget. More...
#include <linkwidget.h>
Inheritance diagram for LinkWidget:

Public Member Functions | |
| virtual void | lwSetFont (QFont font)=0 |
| Sets the font the widget is to use. | |
| virtual UMLClassifier * | getOperationOwner () |
| Motivated by FloatingTextWidget::slotMenuSelection(mt_Operation). | |
| virtual UMLOperation * | getOperation ()=0 |
| Motivated by FloatingTextWidget::slotMenuSelection(mt_Operation). | |
| virtual void | setOperation (UMLOperation *op)=0 |
| Motivated by FloatingTextWidget::slotMenuSelection(mt_Operation). | |
| virtual QString | getCustomOpText ()=0 |
| Motivated by getOperationText(). | |
| virtual void | setCustomOpText (const QString &opText)=0 |
| Motivated by FloatingTextWidget::slotMenuSelection(mt_Operation). | |
| QString | getOperationText (UMLView *view=NULL) |
| Uses getOperation() if set, else calls getCustomOpText(). | |
| virtual void | resetTextPositions () |
| Motivated by FloatingTextWidget::slotMenuSelection(mt_Reset_Label_Positions) Only applies to AssociationWidget. | |
| virtual void | setMessageText (FloatingTextWidget *ft)=0 |
| Motivated by FloatingTextWidget::setMessageText(). | |
| virtual void | setText (FloatingTextWidget *ft, const QString &newText)=0 |
| Motivated by FloatingTextWidget::handleRename(). | |
| virtual bool | showDialog () |
| Motivated by FloatingTextWidget::mouseDoubleClickEvent() Only applies to AssociationWidget. | |
| virtual UMLClassifier * | getSeqNumAndOp (QString &seqNum, QString &op)=0 |
| Motivated by FloatingTextWidget::showOpDlg(). | |
| virtual void | setSeqNumAndOp (const QString &seqNum, const QString &op)=0 |
| Motivated by FloatingTextWidget::showOpDlg(). | |
| virtual void | constrainTextPos (int &textX, int &textY, int textWidth, int textHeight, Uml::Text_Role tr)=0 |
| Abstract operation implemented by inheriting classes. | |
| virtual void | calculateNameTextSegment () |
| Motivated by FloatingTextWidget::setLink(). | |
Detailed Description
This is an interface realized by AssociationWidget and MessageWidget. Interface to FloatingTextWidget for 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 <okellogg@users.sourceforge.net> Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org
Definition at line 36 of file linkwidget.h.
Member Function Documentation
|
|
Sets the font the widget is to use. Abstract operation implemented by inheriting classes. Motivated by FloatingTextWidget::slotMenuSelection(mt_Operation)
Implemented in AssociationWidget, and MessageWidget. Referenced by FloatingTextWidget::slotMenuSelection(). |
|
|
Motivated by FloatingTextWidget::slotMenuSelection(mt_Operation).
Reimplemented in AssociationWidget, and MessageWidget. Definition at line 29 of file linkwidget.cpp. References getOperation(). Referenced by FloatingTextWidget::slotMenuSelection(). |
|
|
Motivated by FloatingTextWidget::slotMenuSelection(mt_Operation).
Implemented in AssociationWidget, and MessageWidget. Referenced by getOperationOwner(), getOperationText(), and FloatingTextWidget::showOpDlg(). |
|
|
Motivated by FloatingTextWidget::slotMenuSelection(mt_Operation).
Implemented in AssociationWidget, and MessageWidget. Referenced by FloatingTextWidget::showOpDlg(), and FloatingTextWidget::slotMenuSelection(). |
|
|
Motivated by getOperationText().
Implemented in AssociationWidget, and MessageWidget. Referenced by getOperationText(). |
|
|
Motivated by FloatingTextWidget::slotMenuSelection(mt_Operation).
Implemented in AssociationWidget, and MessageWidget. Referenced by FloatingTextWidget::slotMenuSelection(). |
|
|
Uses getOperation() if set, else calls getCustomOpText().
Definition at line 36 of file linkwidget.cpp. References UMLApp::getCurrentView(), getCustomOpText(), getOperation(), and UMLOperation::toString(). Referenced by MessageWidget::loadFromXMI(), MessageWidget::setMessageText(), and AssociationWidget::setMessageText(). |
|
|
Motivated by FloatingTextWidget::slotMenuSelection(mt_Reset_Label_Positions) Only applies to AssociationWidget.
Reimplemented in AssociationWidget. Definition at line 51 of file linkwidget.cpp. Referenced by FloatingTextWidget::slotMenuSelection(). |
|
|
Motivated by FloatingTextWidget::setMessageText().
Implemented in AssociationWidget, and MessageWidget. Referenced by FloatingTextWidget::setMessageText(). |
|
||||||||||||
|
Motivated by FloatingTextWidget::handleRename().
Implemented in AssociationWidget, and MessageWidget. Referenced by FloatingTextWidget::handleRename(). |
|
|
Motivated by FloatingTextWidget::mouseDoubleClickEvent() Only applies to AssociationWidget.
Reimplemented in AssociationWidget. Definition at line 54 of file linkwidget.cpp. Referenced by FloatingTextWidget::showProperties(). |
|
||||||||||||
|
Motivated by FloatingTextWidget::showOpDlg().
Implemented in AssociationWidget, and MessageWidget. Referenced by FloatingTextWidget::setText(), and FloatingTextWidget::showOpDlg(). |
|
||||||||||||
|
Motivated by FloatingTextWidget::showOpDlg().
Implemented in AssociationWidget, and MessageWidget. Referenced by FloatingTextWidget::showOpDlg(). |
|
||||||||||||||||||||||||
|
Abstract operation implemented by inheriting classes. Motivated by FloatingTextWidget::mouseMoveEvent() Implemented in AssociationWidget, and MessageWidget. |
|
|
Motivated by FloatingTextWidget::setLink(). Only applies to AssociationWidget. Reimplemented in AssociationWidget. Definition at line 58 of file linkwidget.cpp. Referenced by FloatingTextWidgetController::moveWidgetBy(). |
The documentation for this class was generated from the following files:
