Revision c854a00...

Go back to digest for 30th October 2011

Features in Utilities

Friedrich Karl Tilman Pülz committed changes in [publictransport] /:

Add dialog to configure journey searches, quick journey search button

- Store favorite/recent journey searches in StopSettings
as UserSetting. Each stop settings now have their own list of
favorite/recent journey searches.
- Store lists of JourneySearchItem objects in encoded format,
as QByteArray. See SettingsIO::decodeJourneySearchItem() and
SettingsIO::encodeJourneySearchItem()
- Add a configuration dialog for journey searches, showing a custom
QListView with a custom delegate. The list view uses a custom
model (JourneySearchModel)
- Add tool button to TitleWidget for quick journey searches,
if journeys are supported by the current service provider. That new
button gets placed left of FilterWidget. It can be collapsed to icon
only, just like the filter widget
- Show filter menu entry in context menu also if there are color group
settings (not only filter settings)
- Check service provider features on PublicTransport::init(),
eg. check if journeys are supported

File Changes

Added 6 files
  •   applet/journeysearchitem.cpp
  •   applet/journeysearchitem.h
  •   applet/journeysearchlistview.cpp
  •   applet/journeysearchlistview.h
  •   applet/journeysearchmodel.cpp
  •   applet/journeysearchmodel.h
Modified 9 files
  •   applet/CMakeLists.txt
  •   applet/journeysearchsuggestionwidget.cpp
  •   applet/publictransport.cpp
  •   applet/publictransport.h
  •   applet/settings.cpp
  •   applet/settings.h
  •   applet/titlewidget.cpp
  •   applet/titlewidget.h
  •   libpublictransporthelper/stopsettings.cpp
15 files changed in total