umbrello/umbrello
#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 | updateObject () |
Protected Member Functions | |
bool | greaterThan (UMLObject::ObjectType ct1, UMLObject::ObjectType ct2) |
Protected Member Functions inherited from ClassifierListPage | |
void | hideArrowButtons (bool hide) |
void | reloadItemListBox () |
Protected Attributes | |
KMenu * | buttonMenu |
Protected Attributes inherited from ClassifierListPage | |
bool | m_bSigWaiting |
UMLObject::ObjectType | m_itemType |
UMLClassifier * | m_pClassifier |
QPushButton * | m_pDeleteListItemButton |
UMLClassifierListItem * | m_pLastObjectCreated |
QPushButton * | m_pNewClassifierListItemButton |
QPushButton * | m_pPropertiesButton |
Additional Inherited Members | |
Protected Slots inherited from ClassifierListPage | |
void | slotActivateItem (QListWidgetItem *item) |
void | slotBottomClicked () |
void | slotDelete () |
void | slotDoubleClick (QListWidgetItem *item) |
void | slotDownClicked () |
void | slotListItemCreated (UMLObject *object) |
void | slotListItemModified () |
void | slotMenuSelection (QAction *action) |
void | slotNewListItem () |
void | slotProperties () |
void | slotRightButtonPressed (const QPoint &p) |
void | slotTopClicked () |
void | slotUpClicked () |
Detailed Description
A dialog page to display entity constraint properties.
An extension to the classifier list dialog page to display constraint properties.
Definition at line 31 of file constraintlistpage.h.
Constructor & Destructor Documentation
ConstraintListPage::ConstraintListPage | ( | QWidget * | parent, |
UMLClassifier * | classifier, | ||
UMLDoc * | doc, | ||
UMLObject::ObjectType | type | ||
) |
Sets up the ConstraintListPage.
- Parameters
-
parent The parent to the ConstraintListPage. classifier The Concept to display the properties of. doc The UMLDoc document type The object type
Definition at line 45 of file constraintlistpage.cpp.
|
virtual |
Standard destructor.
Definition at line 66 of file constraintlistpage.cpp.
Member Function Documentation
|
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
- Parameters
-
ot The Object Type to be added
- Returns
- The index Returns the index of the Item in the List Box Will return true if ot1 has a higher (top) place in the list than ot2
- Parameters
-
ct1 Contraint Type 1 ct2 Constraint Type 2
- Returns
- true if ct1 is to be shown above ct2 else false
Definition at line 214 of file constraintlistpage.cpp.
Member Data Documentation
|
protected |
Definition at line 61 of file constraintlistpage.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.