Revision fdd7e63...

Go back to digest for 14th August 2011

Optimization in Utilities

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

Improve drawing performance alot

- Don't draw a complete background gradient for departure items;
draw solid color background(s) and then draw fade out gradients at the left/right
- Hide route items if the containing departure item isn't expanded
- Store a pointer to the DepartureModel in RouteStopTextGraphicsItem,
to get it's RouteStopFlags (used for drawing)
- Still TODO: Background drawing for Journeys (just like it's done here for departures)

File Changes

Modified 4 files
  •   applet/routegraphicsitem.cpp
  •   applet/routegraphicsitem.h
  •   applet/timetablewidget.cpp
  •   applet/timetablewidget.h
4 files changed in total