umbrello  2.35.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
Public Member Functions | Public Attributes | Private Attributes | List of all members
AssociationWidgetRole Class Reference

#include <associationwidgetrole.h>

Collaboration diagram for AssociationWidgetRole:

Public Member Functions

 AssociationWidgetRole ()
 
void setParent (AssociationWidget *parent)
 
void cleanup ()
 
void setFont (const QFont &font)
 
UMLWidgetonWidget (const QPointF &p)
 
void setSelected (bool select)
 
void clipSize ()
 
void saveToXMI (QXmlStreamWriter &writer)
 
bool loadFromXMI (QDomElement &qElement, const QString &suffix)
 
bool getStartMove ()
 

Public Attributes

FloatingTextWidgetmultiplicityWidget
 information regarding multiplicity More...
 
FloatingTextWidgetchangeabilityWidget
 information regarding changeability More...
 
FloatingTextWidgetroleWidget
 role's label of this association More...
 
QPointer< UMLWidgetumlWidget
 UMLWidget at this role's side of this association. More...
 
Uml::Region::Enum m_WidgetRegion
 region of this role's widget More...
 
int m_nIndex
 the index of where the line is on the region for this role More...
 
int m_nTotalCount
 total amount of associations on the region this role's line is on More...
 
Uml::Visibility::Enum visibility
 
Uml::Changeability::Enum changeability
 
QString roleDocumentation
 

Private Attributes

AssociationWidgetm_q
 

Detailed Description

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).

Constructor & Destructor Documentation

AssociationWidgetRole::AssociationWidgetRole ( )

Member Function Documentation

void AssociationWidgetRole::cleanup ( )

Here is the call graph for this function:

void AssociationWidgetRole::clipSize ( )

Here is the call graph for this function:

bool AssociationWidgetRole::getStartMove ( )

Here is the call graph for this function:

bool AssociationWidgetRole::loadFromXMI ( QDomElement &  qElement,
const QString &  suffix 
)
UMLWidget * AssociationWidgetRole::onWidget ( const QPointF &  p)

Check owned floating texts

Parameters
pPoint to be checked
Returns
pointer to widget at the provided point p
0 if no widget found

Here is the call graph for this function:

void AssociationWidgetRole::saveToXMI ( QXmlStreamWriter &  writer)

Here is the call graph for this function:

void AssociationWidgetRole::setFont ( const QFont &  font)

Here is the call graph for this function:

void AssociationWidgetRole::setParent ( AssociationWidget parent)
inline
void AssociationWidgetRole::setSelected ( bool  select)

Sets the state of whether the widget is selected.

Parameters
selectThe state of whether the widget is selected.

Here is the call graph for this function:

Member Data Documentation

Uml::Changeability::Enum AssociationWidgetRole::changeability
FloatingTextWidget* AssociationWidgetRole::changeabilityWidget

information regarding changeability

int AssociationWidgetRole::m_nIndex

the index of where the line is on the region for this role

int AssociationWidgetRole::m_nTotalCount

total amount of associations on the region this role's line is on

AssociationWidget* AssociationWidgetRole::m_q
private
Uml::Region::Enum AssociationWidgetRole::m_WidgetRegion

region of this role's widget

FloatingTextWidget* AssociationWidgetRole::multiplicityWidget

information regarding multiplicity

QString AssociationWidgetRole::roleDocumentation
FloatingTextWidget* AssociationWidgetRole::roleWidget

role's label of this association

QPointer<UMLWidget> AssociationWidgetRole::umlWidget

UMLWidget at this role's side of this association.

Uml::Visibility::Enum AssociationWidgetRole::visibility

The documentation for this class was generated from the following files: