Summary: | Please implement 'duplicate' command | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Stevan White <stevan_white> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | 1.1.1 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | This patch adds the clone functionality |
Description
Stevan White
2003-04-24 22:38:04 UTC
*** Bug 57665 has been marked as a duplicate of this bug. *** Created attachment 5492 [details]
This patch adds the clone functionality
Mainly, this patch adds the clone and copyInto functionality to the UMLObject
tree. When the user clicks on the duplicate-item in the listpopupmenu, it calls
the clone function of the current widget, and adds this to the application and
view.
The new widget is exactly the same as the original widget, but with an
UniqueID.
The lists that must be duplicated, have also the clone and copyInto
functionalities. Therefore each list extend the QPtrList<type>. (There must be
an better solution than subclassing each QPtrList in the system.)
The binary is a gzipped tar file (tar.gz) file. Hi Raymond, I applied your patch. Many thanks. |