[Marble-bugs] [marble] [Bug 317791] New: KML Editor Dock Widget

Dennis Nienhüser earthwings at gentoo.org
Wed Apr 3 17:28:32 UTC 2013


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

            Bug ID: 317791
           Summary: KML Editor Dock Widget
    Classification: Unclassified
           Product: marble
           Version: 1.6.0 (KDE 4.11.0)
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Keywords: google-code-in, junior-jobs
          Severity: task
          Priority: NOR
         Component: general
          Assignee: marble-bugs at kde.org
          Reporter: earthwings at gentoo.org

Dock widgets have recently been introduced to replace the TabWidget on the
left. The KML editor plugin (src/plugins/render/annotate) should provide its
own dock widget for user interaction as well, replacing the currently used
toolbar.

- Extend RenderPlugin by a new method equal or similar to
virtual QWidget* createDockWidget() const
with a default implementation doing nothing (returning 0).

- Extend QtMainWindow.cpp and marble_part.cpp to create dock widgets from
render plugins that return a createDockWidget() != 0.

- Move the existing toolbar in src/plugins/render/annotate to a QWidget* that
is returned in the overridden createDockWidget() method. Remove the part from
it where the toolbar actions are returned.

- Optionally add a QTreeView to the same window which shows the outline of the
currently edited KML file (using the existing TreeModel).

When done, the existing KML editor toolbar shouldn't be shown in the main
application toolbar anymore, but in its own dock widget (with the title "KML
Editor" or "Map Editor").

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


More information about the Marble-bugs mailing list