[umbrello] [Bug 73847] support for UML tagged values
Oliver Kellogg
bugzilla_noreply at kde.org
Mon Dec 21 23:37:26 GMT 2020
https://bugs.kde.org/show_bug.cgi?id=73847
--- Comment #31 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
Git commit 144e809eb7aa659d8e63d4c465fc35db0ce29ef8 by Oliver Kellogg.
Committed on 17/10/2020 at 21:49.
Pushed by okellogg into branch 'master'.
Hook up UMLObject::m_TaggedValues in the Class, Attribute, and Operation
dialogs:
umbrello/dialogs/pages/classgeneralpage.{h,cpp}
- Remove unused members m_pInstanceL, m_pStereoTypeL.
- New member m_pNameLayout replaces same named local variable of
classgeneralpage.cpp.
- New member m_pTagL is an array of QLabel* for stereotype tags.
- New member m_pTagLE is an array of KLineEdit* for stereotype tags.
- Function setupDialog initializes m_pTagL[] and m_pTagLE[] using
Dialog_Utils::makeTagEditFields().
- New function slotStereoTextChanged is connected to
m_stereotypeWidget->editField() signal currentTextChanged().
Tag fields are rebuilt using Dialog_Utils::remakeTagEditFields().
- In function apply(), if m_stereotypeWidget and m_pObject are both
non null then call Dialog_Utils::updateTagsFromEditFields().
umbrello/dialogs/umlattributedialog.{h,cpp}
- New member m_pValuesLayout replaces local variable valuesLayout of
umlattributedialog.cpp.
- New member m_pTagL is an array of QLabel* for stereotype tags.
- New member m_pTagLE is an array of KLineEdit* for stereotype tags.
- Function setupDialog initializes m_pTagL[] and m_pTagLE[] using
Dialog_Utils::makeTagEditFields().
- New function slotStereoTextChanged is connected to
m_stereotypeWidget->editField() signal currentTextChanged().
Tag fields are rebuilt using Dialog_Utils::remakeTagEditFields().
- In function apply() call Dialog_Utils::updateTagsFromEditFields().
umbrello/dialogs/umloperationdialog.{h,cpp}
- New member m_pGenLayout replaces local variable genLayout of
umloperationdialog.cpp.
- New member m_pTagL is an array of QLabel* for stereotype tags.
- New member m_pTagLE is an array of KLineEdit* for stereotype tags.
- Function setupDialog initializes m_pTagL[] and m_pTagLE[] using
Dialog_Utils::makeTagEditFields().
- New function slotStereoTextChanged is connected to
m_stereotypeWidget->editField() signal currentTextChanged().
Tag fields are rebuilt using Dialog_Utils::remakeTagEditFields().
- In function apply() call Dialog_Utils::updateTagsFromEditFields().
M +28 -10 umbrello/dialogs/pages/classgeneralpage.cpp
M +6 -1 umbrello/dialogs/pages/classgeneralpage.h
M +21 -8 umbrello/dialogs/umlattributedialog.cpp
M +7 -0 umbrello/dialogs/umlattributedialog.h
M +30 -18 umbrello/dialogs/umloperationdialog.cpp
M +7 -0 umbrello/dialogs/umloperationdialog.h
https://invent.kde.org/sdk/umbrello/commit/144e809eb7aa659d8e63d4c465fc35db0ce29ef8
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the umbrello-devel
mailing list