Introducing StyledLabel
authorManuel Nickschas <sputnick@quassel-irc.org>
Fri, 21 Aug 2009 22:02:26 +0000 (00:02 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Fri, 21 Aug 2009 22:13:44 +0000 (00:13 +0200)
commit148964099b6e799121402d297c854393f9988be8
tree9ab1402f43fc6e4fd4a4f6a0ac7b8d09e3356204
parent96f84c21f30180cc52471715d2e2d3b3ede906a4
Introducing StyledLabel

This widget evolved from TopicLabel and provides a QFrame that contains a mIRC-formatted string
(e.g. it accepts mIRC's format codes in the input). Rather than the old drag-to-scroll behavior,
this widget provides a tooltip. It also uses proper QTextLayouts instead of assembling text snippets
manually.

Note that URLs are not yet clickable. This will be added later.
src/uisupport/CMakeLists.txt
src/uisupport/styledlabel.cpp [new file with mode: 0644]
src/uisupport/styledlabel.h [new file with mode: 0644]