[umbrello-devel] [umbrello] [Bug 335399] Instable position of activity pins

Oliver Kellogg okellogg at users.sourceforge.net
Mon Jun 16 06:04:29 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=335399

--- Comment #3 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
Git commit 17e9a7446d8faccdd1e039ea484a1dce686427dd by Oliver Kellogg.
Committed on 16/06/2014 at 06:04.
Pushed by okellogg into branch 'master'.

Completion of commit cd1979a - factoring of abstract base class from
PinWidget and PortWidget

umbrello/widgets/pinportbase.{h,cpp}
- Factor new abstract base class PinPortBase from Portwidget and PinWidget.

umbrello/widgets/pinwidget.{h,cpp}
umbrello/widgets/portwidget.{h,cpp}
- Inherit from PinPortBase instead of UMLWidget.

umbrello/widgets/activitywidget.{h,cpp}
- New signal sigActMoved(diffX,diffY) is emitted when the activity widget is
  moved (cf. ComponentWidget::sigCompMoved).
- Reimplement UMLWidget virtual function moveWidgetBy() for adding emission
  of sigActMoved().

umbrello/widgets/widget_factory.cpp
- In function createWidget(UMLScene*,UMLObject*) case ot_Port, call
  PinPortBase::attachToOwner() on the newly constructed PortWidget.
- In function makeWidgetFromXMI() case tag == "pinwidget", call
  PinPortBase::attachToOwner() on the newly constructed PinWidget.

umbrello/listpopupmenu.cpp
- In function insertSingleSelectionMenu() case WidgetBase::wt_Pin add
  mt_NameAsTooltip. Set action checked if the object's floatingTextWidget()
  returns NULL.

umbrello/umlscene.cpp
- In function setupNewWidget() admit w->baseType() == WidgetBase::wt_Pin to
  call to PinPortBase::attachToOwner().

umbrello/CMakeLists.txt
- Add widgets/pinportbase.cpp to libwidgets_SRCS.

A  +378  -0    umbrello/widgets/pinportbase.cpp     [License: GPL (v2+)]
A  +63   -0    umbrello/widgets/pinportbase.h     [License: GPL (v2+)]

http://commits.kde.org/umbrello/17e9a7446d8faccdd1e039ea484a1dce686427dd

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list