Redesign the topic widget
authorManuel Nickschas <sputnick@quassel-irc.org>
Fri, 21 Aug 2009 22:06:44 +0000 (00:06 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Fri, 21 Aug 2009 22:13:44 +0000 (00:13 +0200)
commitef20dd04ad6ed1911fa070c5dafe2498d9a4fc9d
tree7707dd4103372e27ac815ec105978efddd8318d8
parent148964099b6e799121402d297c854393f9988be8
Redesign the topic widget

This replaces the old ugly hackish topicwidget by something cleaner. We now use a stacked widget to switch
between display and edit mode. In edit mode, we use a MultiLineEdit rather than a single QLineEdit.
Instead of doing voodooish resizing of the parent widget, we use proper sizeHints and sizePolicies that make
Qt's layout system actually work with this.

There are still some features missing though, notably clickable URLs and the clear button. Will
be implemented ASAP.

Closes #506, fixes #573, closes #608.
src/qtui/topicwidget.cpp
src/qtui/topicwidget.h
src/qtui/ui/topicwidget.ui