Update ChatViews whenever the stylesheet is reloaded
authorManuel Nickschas <sputnick@quassel-irc.org>
Thu, 25 Jun 2009 19:18:59 +0000 (21:18 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 6 Aug 2009 18:25:05 +0000 (20:25 +0200)
commit68cd9a2621c71005cda0ed4fb796bbf5fcbe007e
treeb48508e178b728dbcacaec49145238974116a841
parentb243fc8b07e6cffff80af8844bbc4d5df7be7b0b
Update ChatViews whenever the stylesheet is reloaded

UiStyle now emits a signal when loadStyleSheet() (now a slot) is called.
ChatView reacts by invalidating the scene. Note that the ChatLines are not re-layouted,
which means that changes in font sizes and possibly styles might lead to a broken appearance.
This is primarily thought for testing color combinations without restarting the client
all the time.
src/qtui/chatitem.cpp
src/qtui/chatitem.h
src/qtui/chatview.cpp
src/qtui/chatview.h
src/uisupport/uistyle.cpp
src/uisupport/uistyle.h