Revision 827540

Go back to digest for 6th July 2008

Other in Utilities

Pino Toscano committed changes in /branches/work/~pino/kweather-plasma/kweather:

convert the widgets into graphics widgets:
- introduce a WeatherLabel class to be a graphics widget text item, but without proxy widget
- add more logic into WeatherButton to behave like a button
- turn layouts into graphics layouts, and get rid of the proxy widget

this has the nice "side effect" to have no more own background, so the widget can be translucent, depending on the theme

TODO: use the plasma theme for the label text color

File Changes

Added 2 files
  • /branches/work/~pino/kweather-plasma/kweather
  •   /weatherlabel.cpp
  •   /weatherlabel.h
Modified 6 files
  • /branches/work/~pino/kweather-plasma/kweather
  •   /CMakeLists.txt
  •   /dockwidget.cpp
  •   /dockwidget.h
  •   /kweather.cpp
  •   /weatherbutton.cpp
  •   /weatherbutton.h
8 files changed in total