#include <associationwidgetrole.h>
The AssociationWidgetRole struct gathers all information pertaining to the role. The AssociationWidget class contains two AssociationWidgetRole objects, one for each side of the association (A and B). 
◆ AssociationWidgetRole()
      
        
          | AssociationWidgetRole::AssociationWidgetRole | ( |  | ) |  | 
      
 
 
◆ cleanup()
      
        
          | void AssociationWidgetRole::cleanup | ( |  | ) |  | 
      
 
 
◆ clipSize()
      
        
          | void AssociationWidgetRole::clipSize | ( |  | ) |  | 
      
 
 
◆ getStartMove()
      
        
          | bool AssociationWidgetRole::getStartMove | ( |  | ) |  | 
      
 
 
◆ loadFromXMI()
      
        
          | bool AssociationWidgetRole::loadFromXMI | ( | QDomElement & | qElement, | 
        
          |  |  | const QString & | suffix ) | 
      
 
 
◆ onWidget()
      
        
          | UMLWidget * AssociationWidgetRole::onWidget | ( | const QPointF & | p | ) |  | 
      
 
Check owned floating texts
- Parameters
- 
  
  
- Returns
- pointer to widget at the provided point p 
- 
0 if no widget found 
 
 
◆ saveToXMI()
      
        
          | void AssociationWidgetRole::saveToXMI | ( | QXmlStreamWriter & | writer | ) |  | 
      
 
 
◆ setFont()
      
        
          | void AssociationWidgetRole::setFont | ( | const QFont & | font | ) |  | 
      
 
 
◆ setParent()
◆ setSelected()
      
        
          | void AssociationWidgetRole::setSelected | ( | bool | select | ) |  | 
      
 
Sets the state of whether the widget is selected.
- Parameters
- 
  
    | select | The state of whether the widget is selected. |  
 
 
 
◆ changeability
◆ changeabilityWidget
information regarding changeability 
 
 
◆ m_nIndex
      
        
          | int AssociationWidgetRole::m_nIndex | 
      
 
the index of where the line is on the region for this role 
 
 
◆ m_nTotalCount
      
        
          | int AssociationWidgetRole::m_nTotalCount | 
      
 
total amount of associations on the region this role's line is on 
 
 
◆ m_q
◆ m_WidgetRegion
region of this role's widget 
 
 
◆ multiplicityWidget
information regarding multiplicity 
 
 
◆ roleDocumentation
      
        
          | QString AssociationWidgetRole::roleDocumentation | 
      
 
 
◆ roleWidget
role's label of this association 
 
 
◆ umlWidget
      
        
          | QPointer<UMLWidget> AssociationWidgetRole::umlWidget | 
      
 
UMLWidget at this role's side of this association. 
 
 
◆ visibility
The documentation for this class was generated from the following files: