[Uml-devel] [umbrello] [Bug 320521] New: Get rid of old setupPopupMenu / slotRemovePopupMenu API
Andi Fischer
andi.fischer at hispeed.ch
Fri May 31 08:38:14 UTC 2013
https://bugs.kde.org/show_bug.cgi?id=320521
Bug ID: 320521
Summary: Get rid of old setupPopupMenu / slotRemovePopupMenu
API
Classification: Unclassified
Product: umbrello
Version: unspecified
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: minor
Priority: NOR
Component: general
Assignee: umbrello-devel at kde.org
Reporter: andi.fischer at hispeed.ch
Most widgets still uses the old setupPopupMenu / slotRemovePopupMenu style for
showing context menus.
Instead it should use the Qt API event handler contextMenuEvent() method.
Reproducible: Always
Steps to Reproduce:
1. Open umbrello/widgets/umlwidget.h and look for "setupPopupMenu(".
2. In source tree grep for method "setupPopupMenu(".
3.
Actual Results:
You will find several locations where this methods have been used.
Expected Results:
Where a context menu is shown the contextMenuEvent method should be used.
See QGraphicsItem API.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the umbrello-devel
mailing list