|
umbrello
2.38.5
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
An extension to the classifier list dialog page to display constraint properties. More...
#include <constraintlistpage.h>
Public Member Functions | |
| ConstraintListPage (QWidget *parent, UMLClassifier *classifier, UMLDoc *doc, UMLObject::ObjectType type) | |
| virtual | ~ConstraintListPage () |
Public Member Functions inherited from ClassifierListPage | |
| ClassifierListPage (QWidget *parent, UMLClassifier *classifier, UMLDoc *doc, UMLObject::ObjectType type) | |
| virtual | ~ClassifierListPage () |
| void | apply () |
Public Member Functions inherited from DialogPageBase | |
| DialogPageBase (QWidget *parent) | |
| virtual | ~DialogPageBase () |
| virtual bool | isModified () |
Protected Member Functions | |
| bool | greaterThan (UMLObject::ObjectType ct1, UMLObject::ObjectType ct2) |
Protected Member Functions inherited from ClassifierListPage | |
| void | reloadItemListBox () |
| void | hideArrowButtons (bool hide) |
Protected Member Functions inherited from DialogPageBase | |
| virtual void | keyPressEvent (QKeyEvent *event) |
Protected Attributes | |
| QMenu * | buttonMenu |
Protected Attributes inherited from ClassifierListPage | |
| UMLObject::ObjectType | m_itemType |
| UMLClassifier * | m_pClassifier |
| UMLClassifierListItem * | m_pLastObjectCreated |
| QPushButton * | m_pNewClassifierListItemButton |
| QPushButton * | m_pDeleteListItemButton |
| QPushButton * | m_pPropertiesButton |
| bool | m_bSigWaiting |
Protected Attributes inherited from DialogPageBase | |
| bool | m_isModified |
Private Slots | |
| void | slotNewUniqueConstraint () |
| void | slotNewPrimaryKeyConstraint () |
| void | slotNewForeignKeyConstraint () |
| void | slotNewCheckConstraint () |
| virtual UMLClassifierListItemList | getItemList () |
Private Member Functions | |
| void | setupActions () |
Private Attributes | |
| QAction * | newUniqueConstraintAction |
| QAction * | newPrimaryKeyConstraintAction |
| QAction * | newForeignKeyConstraintAction |
| QAction * | newCheckConstraintAction |
Additional Inherited Members | |
Protected Slots inherited from ClassifierListPage | |
| void | slotActivateItem (QListWidgetItem *item) |
| void | slotMenuSelection (QAction *action) |
| void | slotListItemCreated (UMLObject *object) |
| void | slotListItemModified () |
| void | slotRightButtonPressed (const QPoint &p) |
| void | slotDoubleClick (QListWidgetItem *item) |
| void | slotTopClicked () |
| void | slotUpClicked () |
| void | slotDownClicked () |
| void | slotBottomClicked () |
| void | slotNewListItem () |
| void | slotDelete () |
| void | slotProperties () |
An extension to the classifier list dialog page to display constraint properties.
A dialog page to display entity constraint properties.
| ConstraintListPage::ConstraintListPage | ( | QWidget * | parent, |
| UMLClassifier * | classifier, | ||
| UMLDoc * | doc, | ||
| UMLObject::ObjectType | type | ||
| ) |
Sets up the ConstraintListPage
| parent | The parent to the ConstraintListPage. |
| classifier | The Concept to display the properties of. |
| doc | The UMLDoc document |
| type | The object type |
|
virtual |
Standard destructor.
|
privatevirtualslot |
Get constraint list items for all types (unique, foreign-key and check-constraints)
|
protected |
Calculates the new index to be assigned when an object of type ot is to be added to the list box. The default Implementation is to add it to the end of the list param ot The Object Type to be added return The index Returns the index of the Item in the List Box Will return true if ct1 has a higher (top) place in the list than ct2
| ct1 | Constraint Type 1 |
| ct2 | Constraint Type 2 |
|
private |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
protected |
|
private |
|
private |
|
private |
|
private |
1.8.10