Revision bf5e124...

Go back to digest for 30th December 2012

Bug Fixes in Educational

Sebastian Gottfried committed changes in [ktouch] /:

fix appearance of application with light-on-dark themes

In the most cases relying on theme colors instead of
fixed colors was enough, and in a few more cases for
elements with fixed background the opposite was right way
to achieve a good-looking result.

Most tricky proved to be the application background. I didn't
want to give up the Oxygen-provided background to ensure visual
consistency with the window decoration. Therefore I use Plasma's
background color but set the alpha accoardingly to the difference
between the two, if the colors are pretty similar the alpha is
zero.


FIXED-IN: 4.10 RC 2

File Changes

Added 2 files
  • /declarativeitems
  •   src/applicationbackground.cpp
  •   src/applicationbackground.h
Modified 11 files
  •   src/application.cpp
  •   src/CMakeLists.txt
  •   src/qml/CourseDescriptionItem.qml
  •   src/qml/CourseSelector.qml
  •   src/qml/main.qml
  •   src/qml/MessageBox.qml
  •   src/qml/ProfileDetailsItem.qml
  •   src/qml/ScoreScreen.qml
  •   src/graph-plugin/qml/BarGraph.qml
  •   src/graph-plugin/qml/LegendItem.qml
  •   src/graph-plugin/qml/LineGraph.qml
13 files changed in total