UMLEntityAttributeDialog Class Reference
#include <umlentityattributedialog.h>
Public Slots | |
| 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 | |
| UMLEntityAttributeDialog (QWidget *pParent, UMLEntityAttribute *pEntityAttribute) | |
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 | insertAttribute (const QString &type, int index=-1) |
Inserts type into the type-combobox as well as its completion object. | |
Protected Attributes | |
| UMLEntityAttribute * | m_pEntityAttribute |
| The EntityAttribute to represent. | |
| QGroupBox * | m_pAttsGB |
| QGroupBox * | m_pValuesGB |
| QButtonGroup * | m_pScopeBG |
| QRadioButton * | m_pPublicRB |
| QRadioButton * | m_pPrivateRB |
| QRadioButton * | m_pProtectedRB |
| QRadioButton * | m_pNoneRB |
| QLabel * | m_pTypeL |
| QLabel * | m_pNameL |
| QLabel * | m_pInitialL |
| QLabel * | m_pStereoTypeL |
| QLabel * | m_pValuesL |
| QLabel * | m_pAttributesL |
| KComboBox * | m_pTypeCB |
| KComboBox * | m_pAttributesCB |
| QLineEdit * | m_pNameLE |
| QLineEdit * | m_pInitialLE |
| QLineEdit * | m_pStereoTypeLE |
| QLineEdit * | m_pValuesLE |
| QCheckBox * | m_pAutoIncrementCB |
| QCheckBox * | m_pNullCB |
Detailed Description
- Author:
- Jonathan Riddell Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org
Definition at line 30 of file umlentityattributedialog.h.
Member Function Documentation
|
|
|
Checks if changes are valid and applies them if they are, else returns false.
Definition at line 181 of file umlentityattributedialog.cpp. References UMLCanvasObject::findChildObject(), UMLDoc::findUMLObject(), UMLDoc::getDatatypes(), UMLApp::getDocument(), UMLObject::getName(), m_pEntityAttribute, UMLEntityAttribute::setAttributes(), UMLEntityAttribute::setAutoIncrement(), UMLEntityAttribute::setIndexType(), UMLAttribute::setInitialValue(), UMLObject::setName(), UMLEntityAttribute::setNull(), UMLObject::setStereotype(), UMLClassifierListItem::setType(), and UMLEntityAttribute::setValues(). Referenced by slotApply(), and slotOk(). |
|
||||||||||||
|
Inserts
Definition at line 251 of file umlentityattributedialog.cpp. Referenced by setupDialog(). |
|
||||||||||||
|
Inserts
Definition at line 256 of file umlentityattributedialog.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 241 of file umlentityattributedialog.cpp. References apply(). |
|
|
Used when the OK button is clicked. Calls apply() Definition at line 245 of file umlentityattributedialog.cpp. References apply(). |
Member Data Documentation
|
|
The EntityAttribute to represent.
Definition at line 60 of file umlentityattributedialog.h. Referenced by apply(), and setupDialog(). |
The documentation for this class was generated from the following files:
