[Marble-bugs] [marble] [Bug 331992] New: Playlist item styling for KML Tours
Dennis Nienhüser
earthwings at gentoo.org
Mon Mar 10 19:39:10 UTC 2014
https://bugs.kde.org/show_bug.cgi?id=331992
Bug ID: 331992
Summary: Playlist item styling for KML Tours
Classification: Unclassified
Product: marble
Version: 1.7 (KDE 4.12)
Platform: unspecified
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
We are working on integrating support for KML Tours into Marble. The user
interface will be a panel (like Routing, Map View, ...) where a tour can be
loaded from a .kml file, edited, played and also recorded to a movie file. In
this task the playlist items will get a custom item delegate that shows their
properties. In a future task editing capabilities will be implemented on top of
that.
- Create a QStyledItemDelegate derived class which will render all playlist
items. Have a look at MapThemeDownloadDialog for an example how to create such
a delegate.
- Each playlist item should show the properties to the left and an edit button
to the right. In view mode (this task) the properties are shown using labels
and it reacts to clicks (centers the map for flyto). Clicks on the edit button
will change that behavior, but this is not going to be implemented in this task
- TourControl items should show a label with the text "Play the tour" or
"Pause the tour"
- Wait items should show a label with the text "Wait for %1 seconds", %1
replaced with the value
- FlyTo elements should show a label with the coordinates of the
camera/lookat
- SoundCue elements should show a play button (no functionality yet) and the
name of the file in a label
- Use the setItemDelegate method of the QListView in TourWidget to set the
custom item delegate
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Marble-bugs
mailing list