[umbrello-devel] [umbrello] [Bug 116354] Find in diagram function

Ralf Habacker ralf.habacker at freenet.de
Fri Apr 25 10:24:03 UTC 2014


--- Comment #9 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit 0236ea8f005c1c84d46ae18e76e6a1e02fa20d4d by Ralf Habacker.
Committed on 21/04/2014 at 21:17.
Pushed by habacker into branch 'work/find-text'.

Add find text in tree view, current diagram and all diagrams feature.

The implementation adds menu entries and keyboard shortcuts for 'find', 'find
next' and
'find previous' functions.

On start of a find operation a dialog will be opened, which allows to set the
find filter
and a simple search text. Depending on the selected filter all tree view
elements or elements
from the current or all diagrams are compared case insensitive against the
search text.
The results are stored for later access and the first result will be displayed
as described below.

Running 'find next' or 'find previous' using the 'tree view' filter will select
the related search result,

Running 'find next' or 'find previous' with current diagram or all diagrams
filter set, shows the related
view and selects the requested widget, which is positioned in the center of the
view with a 100% zoom.
If a related tree view item is present, it will also be selected.

The implementation is undo/redo proof, because it stores scene/object/widget
id's instead of pointers.

M  +12   -0    umbrello/CMakeLists.txt
A  +58   -0    umbrello/dialogs/finddialog.cpp     [License: GPL (v2+)]
A  +41   -0    umbrello/dialogs/finddialog.h     [License: GPL (v2+)]
A  +106  -0    umbrello/dialogs/finddialog.ui
A  +117  -0    umbrello/finder/findresults.cpp     [License: GPL (v2+)]
A  +50   -0    umbrello/finder/findresults.h     [License: GPL (v2+)]
A  +85   -0    umbrello/finder/umldocfinder.cpp     [License: GPL (v2+)]
A  +38   -0    umbrello/finder/umldocfinder.h     [License: GPL (v2+)]
A  +19   -0    umbrello/finder/umlfinder.cpp     [License: GPL (v2+)]
A  +62   -0    umbrello/finder/umlfinder.h     [License: GPL (v2+)]
A  +84   -0    umbrello/finder/umllistviewfinder.cpp     [License: GPL (v2+)]
A  +34   -0    umbrello/finder/umllistviewfinder.h     [License: GPL (v2+)]
A  +111  -0    umbrello/finder/umlscenefinder.cpp     [License: GPL (v2+)]
A  +40   -0    umbrello/finder/umlscenefinder.h     [License: GPL (v2+)]
A  +107  -0    umbrello/findresults.cpp     [License: GPL (v2+)]
A  +48   -0    umbrello/findresults.h     [License: GPL (v2+)]
M  +65   -0    umbrello/uml.cpp
M  +5    -0    umbrello/uml.h
M  +2    -0    umbrello/umllistview.h
M  +1    -0    umbrello/umlobject.h
M  +13   -0    umbrello/umlscene.cpp
M  +2    -0    umbrello/umlscene.h


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

More information about the umbrello-devel mailing list