UMLOperationDialog Class Reference
#include <umloperationdialog.h>
Public Slots | |
| void | slotParmRightButtonPressed (QListBoxItem *item, const QPoint &p) |
| void | slotParmRightButtonClicked (QListBoxItem *item, const QPoint &p) |
| void | slotParmDoubleClick (QListBoxItem *item) |
| void | slotParmPopupMenuSel (int id) |
| void | slotNewParameter () |
| void | slotDeleteParameter () |
| void | slotParameterProperties () |
| void | slotParameterUp () |
| void | slotParameterDown () |
| void | slotParamsBoxClicked (QListBoxItem *parameterItem) |
| enables or disables buttons | |
| void | slotApply () |
| I don't think this is used, but if we had an apply button it would slot into here. | |
| void | slotOk () |
| Used when the OK button is clicked. | |
| void | slotNameChanged (const QString &) |
Public Member Functions | |
| UMLOperationDialog (QWidget *parent, UMLOperation *pOperation) | |
| Constructor. | |
| ~UMLOperationDialog () | |
| Deconstructor. | |
Protected Member Functions | |
| void | setupDialog () |
| Sets up the dialog. | |
| bool | apply () |
| Checks if changes are valid and applies them if they are, else returns false. | |
| void | insertType (const QString &type, int index=-1) |
Inserts type into the type-combobox as well as its completion object. | |
| void | insertStereotype (const QString &type, int index=-1) |
Inserts stereotype into the stereotype-combobox as well as its completion object. | |
Protected Attributes | |
| UMLOperation * | m_pOperation |
| The operation to represent. | |
| UMLDoc * | m_doc |
| The UMLDocument where all objects live. | |
| ListPopupMenu * | m_pMenu |
| Menu used in paramater list box. | |
| QGroupBox * | m_pParmsGB |
| QGroupBox * | m_pGenGB |
| QListBox * | m_pParmsLB |
| QButtonGroup * | m_pScopeBG |
| QRadioButton * | m_pPublicRB |
| QRadioButton * | m_pPrivateRB |
| QRadioButton * | m_pProtectedRB |
| QRadioButton * | m_pImplementationRB |
| QLabel * | m_pRtypeL |
| QLabel * | m_pNameL |
| QLabel * | m_pStereoTypeL |
| KComboBox * | m_pRtypeCB |
| KComboBox * | m_pStereoTypeCB |
| QLineEdit * | m_pNameLE |
| QCheckBox * | m_pAbstractCB |
| QCheckBox * | m_pStaticCB |
| QCheckBox * | m_pQueryCB |
| QPushButton * | m_pDeleteButton |
| QPushButton * | m_pPropertiesButton |
| KArrowButton * | m_pUpButton |
| KArrowButton * | m_pDownButton |
Detailed Description
- Author:
- Paul Hensgen Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org
Definition at line 38 of file umloperationdialog.h.
Constructor & Destructor Documentation
|
||||||||||||
|
Constructor.
Definition at line 49 of file umloperationdialog.cpp. References UMLApp::getDocument(), m_doc, m_pMenu, m_pOperation, and setupDialog(). |
|
|
Deconstructor.
Definition at line 57 of file umloperationdialog.cpp. |
Member Function Documentation
|
|
Sets up the dialog.
Definition at line 59 of file umloperationdialog.cpp. References UMLObject::getAbstract(), UMLDoc::getConcepts(), UMLOperation::getConst(), UMLClassifier::getFilteredList(), UMLObject::getFullyQualifiedName(), UMLObject::getName(), UMLOperation::getParmList(), UMLObject::getStatic(), UMLObject::getStereotype(), UMLDoc::getStereotypes(), UMLClassifierListItem::getTypeName(), insertStereotype(), insertType(), m_doc, m_pOperation, Dialog_Utils::makeLabeledEditField(), and slotParamsBoxClicked(). Referenced by UMLOperationDialog(). |
|
|
Checks if changes are valid and applies them if they are, else returns false.
Definition at line 452 of file umloperationdialog.cpp. References UMLClassifier::checkOperationSignature(), UMLClassifier::findTemplate(), UMLObject::getName(), UMLOperation::getParmList(), m_pOperation, UMLObject::setAbstract(), UMLOperation::setConst(), UMLObject::setStatic(), UMLObject::setStereotype(), UMLOperation::setType(), and UMLClassifierListItem::setTypeName(). Referenced by slotApply(), and slotOk(). |
|
||||||||||||
|
Inserts
Definition at line 518 of file umloperationdialog.cpp. Referenced by setupDialog(). |
|
||||||||||||
|
Inserts
Definition at line 524 of file umloperationdialog.cpp. Referenced by setupDialog(). |
|
|
enables or disables buttons
Definition at line 438 of file umloperationdialog.cpp. Referenced by setupDialog(). |
|
|
I don't think this is used, but if we had an apply button it would slot into here.
Definition at line 508 of file umloperationdialog.cpp. References apply(). |
|
|
Used when the OK button is clicked. Calls apply() Definition at line 512 of file umloperationdialog.cpp. References apply(). |
Member Data Documentation
|
|
The operation to represent.
Definition at line 72 of file umloperationdialog.h. Referenced by apply(), setupDialog(), and UMLOperationDialog(). |
|
|
The UMLDocument where all objects live.
Definition at line 77 of file umloperationdialog.h. Referenced by setupDialog(), and UMLOperationDialog(). |
|
|
Menu used in paramater list box.
Definition at line 82 of file umloperationdialog.h. Referenced by UMLOperationDialog(). |
The documentation for this class was generated from the following files:
