quassel.git
14 years agoCheck for IgnoreListManager's existence before using it
Manuel Nickschas [Wed, 26 Aug 2009 10:56:46 +0000 (12:56 +0200)]
Check for IgnoreListManager's existence before using it

Fixes #775.

14 years agoMake multiline input configurable
Manuel Nickschas [Wed, 26 Aug 2009 10:39:25 +0000 (12:39 +0200)]
Make multiline input configurable

You can now switch this off to get a single line with paste protection as it used to be.
This makes mostly sense for people using a Qt style with buggy layouting, screwing up dynamic
resize.

14 years agoif it compiles it should fix the new missing query issue :)
Marcus Eggenberger [Wed, 26 Aug 2009 08:25:07 +0000 (10:25 +0200)]
if it compiles it should fix the new missing query issue :)

14 years agoFix some strings still containing 'Buffer'
Manuel Nickschas [Tue, 25 Aug 2009 23:58:49 +0000 (01:58 +0200)]
Fix some strings still containing 'Buffer'

14 years agoAccept Ctrl+F while the inputline is focused
Manuel Nickschas [Tue, 25 Aug 2009 22:15:23 +0000 (00:15 +0200)]
Accept Ctrl+F while the inputline is focused

Fixes #772.

14 years agoBuild with Qt 4.4 again
Sebastian Goth [Tue, 25 Aug 2009 21:42:29 +0000 (23:42 +0200)]
Build with Qt 4.4 again

14 years agoFix ItemView settings. Fixes #774.
Manuel Nickschas [Tue, 25 Aug 2009 21:35:52 +0000 (23:35 +0200)]
Fix ItemView settings. Fixes #774.

14 years agoMove stylesheets into $datadir/stylesheets; add m4yer's "classic" style
Manuel Nickschas [Tue, 25 Aug 2009 21:18:39 +0000 (23:18 +0200)]
Move stylesheets into $datadir/stylesheets; add m4yer's "classic" style

14 years agoAdd missing icon
Manuel Nickschas [Tue, 25 Aug 2009 20:45:38 +0000 (22:45 +0200)]
Add missing icon

14 years agoOpen stylesheet choosedialog in the correct(tm) working directory
Sebastian Goth [Tue, 25 Aug 2009 20:01:51 +0000 (22:01 +0200)]
Open stylesheet choosedialog in the correct(tm) working directory

14 years agoRemove unneeded files
Manuel Nickschas [Tue, 25 Aug 2009 20:31:55 +0000 (22:31 +0200)]
Remove unneeded files

14 years agoGetting rid of empty/ghost server buffers
Marcus Eggenberger [Tue, 25 Aug 2009 20:29:10 +0000 (22:29 +0200)]
Getting rid of empty/ghost server buffers

14 years agocs.ts Almost finalize translation. Only thing left is qsslParser and few hints in...
Tomáš Chvátal [Tue, 25 Aug 2009 08:31:24 +0000 (10:31 +0200)]
cs.ts Almost finalize translation. Only thing left is qsslParser and few hints in ignorelist editing.

14 years agoMake URLs (and channel names!) in the topic widget clickable again
Manuel Nickschas [Tue, 25 Aug 2009 19:48:26 +0000 (21:48 +0200)]
Make URLs (and channel names!) in the topic widget clickable again

This time properly, including on-hover underline and proper coloring.
Also, we now use the widget font rather than the ChatView font for the topic.

14 years agoIntroduce Clickable::activate() to put handling clicks in a single place
Manuel Nickschas [Tue, 25 Aug 2009 15:30:35 +0000 (17:30 +0200)]
Introduce Clickable::activate() to put handling clicks in a single place

Moved out of ChatItem.

14 years agoFix chatmonitorfilter
Sebastian Goth [Tue, 25 Aug 2009 18:30:20 +0000 (20:30 +0200)]
Fix chatmonitorfilter

14 years agoTry workarounding bug #663 ("Teh Systray Heisenbug")
Manuel Nickschas [Tue, 25 Aug 2009 15:50:56 +0000 (17:50 +0200)]
Try workarounding bug #663 ("Teh Systray Heisenbug")

Setting uniform row heights for BufferView seems to keep Quassel from crashing. This is not
a long-term solution and has some sideeffects (don't use different font sizes for network and buffer
items when playing with QSS!), but if it helps people to start Quassel, fine with me.

Please report if it fixes the crashes for you!

14 years agofixing Quit propagation
Marcus Eggenberger [Tue, 25 Aug 2009 11:18:24 +0000 (13:18 +0200)]
fixing Quit propagation

14 years agoWho would have thought, that macros need to be defined before they can
Marcus Eggenberger [Tue, 25 Aug 2009 10:15:57 +0000 (12:15 +0200)]
Who would have thought, that macros need to be defined before they can
be used...
/me whistles innocently...

14 years agoadded missing macros
Marcus Eggenberger [Tue, 25 Aug 2009 10:05:58 +0000 (12:05 +0200)]
added missing macros

14 years agoi18n cs.ts finaly finish most of the annoying buffer parts + history
Tomáš Chvátal [Mon, 24 Aug 2009 20:16:22 +0000 (22:16 +0200)]
i18n cs.ts finaly finish most of the annoying buffer parts + history

14 years agoWupps, Altlast-Alarm
Manuel Nickschas [Mon, 24 Aug 2009 23:11:06 +0000 (01:11 +0200)]
Wupps, Altlast-Alarm

MessageModelItem::_msg was never set or used. Thus, we shouldn't return that for
the MessageRole and rather delegate that to ChatLineModelItem...

14 years agoFix slots for new syncobj
Manuel Nickschas [Mon, 24 Aug 2009 22:48:14 +0000 (00:48 +0200)]
Fix slots for new syncobj

14 years agoDecomplexify & reencapsulate
Manuel Nickschas [Mon, 24 Aug 2009 22:03:58 +0000 (00:03 +0200)]
Decomplexify & reencapsulate

14 years agoAdapt to SignalProxy changes
Manuel Nickschas [Mon, 24 Aug 2009 21:26:30 +0000 (23:26 +0200)]
Adapt to SignalProxy changes

14 years agoDon't show notifications for ignored messages
Sebastian Goth [Sun, 16 Aug 2009 19:56:37 +0000 (21:56 +0200)]
Don't show notifications for ignored messages

14 years agoIgnorelist settingspage
Sebastian Goth [Sun, 16 Aug 2009 15:10:35 +0000 (17:10 +0200)]
Ignorelist settingspage

14 years agoIntroduce IgnoreList backend
Sebastian Goth [Sun, 16 Aug 2009 15:07:45 +0000 (17:07 +0200)]
Introduce IgnoreList backend
Implements core- and clientside filtering and the synchronized ignorelist
itself.

14 years agooopsie... there were some macros missing on windows...
Marcus Eggenberger [Mon, 24 Aug 2009 21:36:00 +0000 (23:36 +0200)]
oopsie... there were some macros missing on windows...

14 years agofixing bulk updates of SyncObjects
Marcus Eggenberger [Mon, 24 Aug 2009 19:50:54 +0000 (21:50 +0200)]
fixing bulk updates of SyncObjects

14 years agosmall fixes
Marcus Eggenberger [Mon, 24 Aug 2009 19:23:53 +0000 (21:23 +0200)]
small fixes

14 years agoFixing small glitch in a header file
Marcus Eggenberger [Mon, 24 Aug 2009 17:07:02 +0000 (19:07 +0200)]
Fixing small glitch in a header file
I always wonder why my gcc doesn't complain about that...

14 years agoProtocol version bump
Marcus Eggenberger [Mon, 24 Aug 2009 16:44:25 +0000 (18:44 +0200)]
Protocol version bump
Yes that means I just broke client core compatibility :)

14 years agoclean up
Marcus Eggenberger [Mon, 24 Aug 2009 16:42:55 +0000 (18:42 +0200)]
clean up

14 years agoFitting the SyncableObjects to the new Style
Marcus Eggenberger [Sun, 23 Aug 2009 17:08:44 +0000 (19:08 +0200)]
Fitting the SyncableObjects to the new Style
... now that was tiresome...

14 years agoTesting the new SyncObjects concept - looking good so far
Marcus Eggenberger [Fri, 14 Aug 2009 17:09:08 +0000 (19:09 +0200)]
Testing the new SyncObjects concept - looking good so far

14 years agoGoodbye SyncRelay, you will live on in our hearts...
Marcus Eggenberger [Fri, 14 Aug 2009 10:21:35 +0000 (12:21 +0200)]
Goodbye SyncRelay, you will live on in our hearts...

14 years agoSignalProxy::ExtendedMetaObject cleanup
Marcus Eggenberger [Thu, 13 Aug 2009 20:01:45 +0000 (22:01 +0200)]
SignalProxy::ExtendedMetaObject cleanup

14 years agoTesting a new concept for the SyncableObjects.
Marcus Eggenberger [Sun, 9 Aug 2009 16:21:07 +0000 (18:21 +0200)]
Testing a new concept for the SyncableObjects.

14 years agoFix QSS syntax
Manuel Nickschas [Mon, 24 Aug 2009 19:18:27 +0000 (21:18 +0200)]
Fix QSS syntax

We want #netsplit-join rather than #netsplitJoin, and #netsplit-quit
rather than #netsplitQuit.

14 years agoMake netsplits pretty on clientside
Sebastian Goth [Mon, 24 Aug 2009 16:03:09 +0000 (18:03 +0200)]
Make netsplits pretty on clientside

14 years agoHandle very short netsplits
Sebastian Goth [Mon, 24 Aug 2009 16:01:27 +0000 (18:01 +0200)]
Handle very short netsplits

14 years agoIntroduce netsplit detection/handling
Sebastian Goth [Thu, 30 Jul 2009 15:33:44 +0000 (17:33 +0200)]
Introduce netsplit detection/handling

14 years agoDon't wrap the input line (really this time!)
Manuel Nickschas [Mon, 24 Aug 2009 08:48:23 +0000 (10:48 +0200)]
Don't wrap the input line (really this time!)

Really.

14 years agoAdd -fno-strict-aliasing to CFLAGS
Manuel Nickschas [Sun, 23 Aug 2009 12:31:28 +0000 (14:31 +0200)]
Add -fno-strict-aliasing to CFLAGS

Apparently Qt < 4.6 breaks strict aliasing rules, which makes gcc-4.4 complain loudly when compiling
Quassel (and possibly leads to spurious errors). Hence, for now we disable strict aliasing.

14 years agoMove Clickable out of ContentsChatItem
Manuel Nickschas [Sat, 22 Aug 2009 16:29:43 +0000 (18:29 +0200)]
Move Clickable out of ContentsChatItem

We want to reuse this for the URL handling in the topic widget, so move this out of
ChatIteminto its own class (with proper encapsulation) and file.

As (the also new) ClickableList extends QList<Clickable>, we can continue to use it as
normal.

14 years agoDon't enable wordwrap for the input widget
Manuel Nickschas [Sat, 22 Aug 2009 15:36:56 +0000 (17:36 +0200)]
Don't enable wordwrap for the input widget

14 years agomore cs updates
Tomáš Chvátal [Sat, 22 Aug 2009 12:21:48 +0000 (14:21 +0200)]
more cs updates

14 years agoRedesign the topic widget
Manuel Nickschas [Fri, 21 Aug 2009 22:06:44 +0000 (00:06 +0200)]
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.

14 years agoIntroducing StyledLabel
Manuel Nickschas [Fri, 21 Aug 2009 22:02:26 +0000 (00:02 +0200)]
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.

14 years agoAdd ResizingStackedWidget
Manuel Nickschas [Fri, 21 Aug 2009 21:57:15 +0000 (23:57 +0200)]
Add ResizingStackedWidget

This extends QStackedWidget by adding a dynamic sizeHint that only depends on the
currently selected page. Geometry is updated on page change. Use this widget if you want
a stacked container that dynamically adapts to the size of the visible page only rather than
caring for all the pages. Note that pages should have QSizePolicy::Ignore for this to work properly.

14 years agoSlightly improve behavior on resize
Manuel Nickschas [Fri, 21 Aug 2009 21:54:57 +0000 (23:54 +0200)]
Slightly improve behavior on resize

14 years agoRename setters to be more Qt-like
Manuel Nickschas [Wed, 19 Aug 2009 06:51:54 +0000 (08:51 +0200)]
Rename setters to be more Qt-like

Also add a setter for enabling wordwrap in the MultiLineEdit. Will be needed
for the topic widget.

14 years agoUpdate cs.ts
Tomáš Chvátal [Fri, 21 Aug 2009 17:02:10 +0000 (19:02 +0200)]
Update cs.ts

14 years agoAdd a settingspage for configuring the input widget
Manuel Nickschas [Tue, 18 Aug 2009 21:19:20 +0000 (23:19 +0200)]
Add a settingspage for configuring the input widget

Centralize the now-scattered input-line related settings in their own settingspage;
also add some new options.

14 years agoBring back old inputline history behavior
Manuel Nickschas [Tue, 18 Aug 2009 12:29:32 +0000 (14:29 +0200)]
Bring back old inputline history behavior

Cursor down now again always saves the current line in history and starts a new one.
Brought back from the dead by user request.

14 years agoImprove inputline behavior
Manuel Nickschas [Mon, 17 Aug 2009 20:54:38 +0000 (22:54 +0200)]
Improve inputline behavior

* Don't show scrollbars in single line mode
* Don't update geometry more often than necessary
* Allow selecting text with shift + up/down

14 years agochange highlight regexp boundaries from \b to \W
Daniel Albers [Wed, 12 Aug 2009 22:45:00 +0000 (00:45 +0200)]
change highlight regexp boundaries from \b to \W

fixes #708
\b is between \w\W or \W\w, therefore doesn't match "^nickname^ something" due to "^ " being \W\W characters

14 years agoBuild on Qt 4.4 again
Manuel Nickschas [Sun, 16 Aug 2009 13:01:48 +0000 (15:01 +0200)]
Build on Qt 4.4 again

14 years agoDon't show the header widget in bufferviews
Manuel Nickschas [Sun, 16 Aug 2009 11:06:53 +0000 (13:06 +0200)]
Don't show the header widget in bufferviews

This just wastes valuable space and looks ugly.

14 years agoIntroduce multi-line editing for the inputline
Manuel Nickschas [Sun, 16 Aug 2009 10:58:07 +0000 (12:58 +0200)]
Introduce multi-line editing for the inputline

This introduces the new MultiLineEdit that basically enhances the old InputLine widget by being
able to expand to show more than one line. All non-editing related things have been moved out of the
MultiLineEdit to ease reuse in other widgets. For example, InputWidget-specific keypresses are now handled
in InputWidget rather than MultiLineEdit.

Closes #209, closes #213, fixes #386. Thanks to Squider for input (I saw your patch too late, but I did refactor
things anyway...)

14 years agoDon't set a default font for the chatview
Manuel Nickschas [Thu, 13 Aug 2009 18:16:43 +0000 (20:16 +0200)]
Don't set a default font for the chatview

14 years agoDisable unchecked font widget
Manuel Nickschas [Wed, 12 Aug 2009 22:53:14 +0000 (00:53 +0200)]
Disable unchecked font widget

14 years agoshow correct core start time in coreinfodlg
Daniel Albers [Wed, 12 Aug 2009 21:38:32 +0000 (23:38 +0200)]
show correct core start time in coreinfodlg

14 years agos/Buffer/Chat/g
Manuel Nickschas [Wed, 12 Aug 2009 18:50:29 +0000 (20:50 +0200)]
s/Buffer/Chat/g

This removes the mention of "Buffer" from the UI, as it was confuzzling users and making our Usability Queen
unhappy. It has been replaced by "Chat", which might not always be as precise, but should make more sense for users.
A "Buffer View" is now a "Chat List", and in some cases, "Window" has been used (e.g. the "Status Buffer" is now
a "Status Window" - which, again, isn't really the correct term, but probably makes more sense to people not used
to cli-based chat clients.

Obviously, within the code and the DB everything is still a Buffer (and it'll stay that way).

14 years agoChange defaults for some ChatView-related settings
Manuel Nickschas [Wed, 12 Aug 2009 18:04:42 +0000 (20:04 +0200)]
Change defaults for some ChatView-related settings

Since we don't have settings.qss on a new install, we cannot enable things by default.
User must manually enable them and apply the dialog for generating the stylesheet.

14 years agoMove "Appearance" to "Interface" in settingspages
Manuel Nickschas [Wed, 12 Aug 2009 15:47:52 +0000 (17:47 +0200)]
Move "Appearance" to "Interface" in settingspages

This makes more sense, as not all settings concern only the appearance of things.
It's more about how the interface looks and acts like.

14 years agoRemove FontsSettingsPage - hasn't been used in months
Manuel Nickschas [Wed, 12 Aug 2009 15:04:39 +0000 (17:04 +0200)]
Remove FontsSettingsPage - hasn't been used in months

14 years agoMore sensible default color for unread messages
Manuel Nickschas [Wed, 12 Aug 2009 08:11:15 +0000 (10:11 +0200)]
More sensible default color for unread messages

14 years agoDon't merge all custom formats with the base format
Manuel Nickschas [Wed, 12 Aug 2009 07:09:23 +0000 (09:09 +0200)]
Don't merge all custom formats with the base format

This was needed at some point, but now it just screws up things. Should make
combinations (like "color and bold") work again properly.

14 years agoMake all color values work
Manuel Nickschas [Wed, 12 Aug 2009 07:04:32 +0000 (09:04 +0200)]
Make all color values work

Note to self: shifting an uint without explicit typecast might well end up
in a signed int.

14 years agoMake URLs stylable and fix on-hover underline
Manuel Nickschas [Tue, 11 Aug 2009 21:45:56 +0000 (23:45 +0200)]
Make URLs stylable and fix on-hover underline

You can now use ::url in stylesheets to define how URLs should look like.
Default is palette(link) which uses the system color for that purpose. Since this
is applied after layouting, you shouldn't use attributes that change the font geometry.

14 years agoDon't set application stylesheet if no Qt-specific sections are found
Manuel Nickschas [Mon, 10 Aug 2009 11:50:08 +0000 (13:50 +0200)]
Don't set application stylesheet if no Qt-specific sections are found

14 years agoshame on me...
Marcus Eggenberger [Sun, 9 Aug 2009 16:41:40 +0000 (18:41 +0200)]
shame on me...

14 years agofixes #764 - client crashes on lines from nicks like "__"
Marcus Eggenberger [Sat, 8 Aug 2009 10:33:57 +0000 (12:33 +0200)]
fixes #764 - client crashes on lines from nicks like "__"
Nicks consisting only of underscores are no longer treated as a variant of some basename.

14 years agoMake compile without webkit again
Manuel Nickschas [Fri, 7 Aug 2009 08:06:08 +0000 (10:06 +0200)]
Make compile without webkit again

14 years agoAdapt to new topic message type
Manuel Nickschas [Thu, 6 Aug 2009 20:48:19 +0000 (22:48 +0200)]
Adapt to new topic message type

14 years agoInstall a default stylesheet
Manuel Nickschas [Thu, 6 Aug 2009 17:56:10 +0000 (19:56 +0200)]
Install a default stylesheet

This adds basic formatting and should make Quassel usable out of the box.
Colors shamelessly stolen from Konversation by now (same colors as the settingspage
defaults); improvements welcome!

14 years agoAdd new ItemView settingspage
Manuel Nickschas [Thu, 6 Aug 2009 17:00:30 +0000 (19:00 +0200)]
Add new ItemView settingspage

This can be used to define custom colors and fonts for the chat list and nick list.
As with the ChatView, only basic things are settable here; more complex stuff requires
a custom stylesheet.

14 years agoAdd itemview styles to generated settings.qss
Manuel Nickschas [Thu, 6 Aug 2009 16:59:22 +0000 (18:59 +0200)]
Add itemview styles to generated settings.qss

14 years agoThrow out unneeded font setters, adapt to ItemViewSettings
Manuel Nickschas [Thu, 6 Aug 2009 16:58:57 +0000 (18:58 +0200)]
Throw out unneeded font setters, adapt to ItemViewSettings

14 years agoUse state="channel-event" rather than "event" to make things more obvious
Manuel Nickschas [Thu, 6 Aug 2009 16:57:31 +0000 (18:57 +0200)]
Use state="channel-event" rather than "event" to make things more obvious

14 years agoAdd and use ItemViewSettings
Manuel Nickschas [Thu, 6 Aug 2009 16:52:46 +0000 (18:52 +0200)]
Add and use ItemViewSettings

Also, this allows us to use UiStyleSettings with a subgroup.

14 years agoMake custom ChatView font disableable
Manuel Nickschas [Tue, 4 Aug 2009 07:44:04 +0000 (09:44 +0200)]
Make custom ChatView font disableable

Add a checkbox for it, now that we can.

14 years agoRemove label from FontSelector
Manuel Nickschas [Tue, 4 Aug 2009 07:42:46 +0000 (09:42 +0200)]
Remove label from FontSelector

Earlier the FontSelector had its own label, which in retrospect was a stupid idea.
Much better to just consider the demo widget and choose button parts of the FontSelector
widget and have settingspages supply their own description label - or checkbox.

This makes it much easier to have a font disableable, without introducing the need for
multi-property autowidgets.

14 years agoVarious fixes for the style engine
Manuel Nickschas [Mon, 3 Aug 2009 22:53:58 +0000 (00:53 +0200)]
Various fixes for the style engine

This should iron out the last remaining buggy corner cases. I hope.

14 years agoDon't put loaded formats directly in the format cache
Manuel Nickschas [Mon, 3 Aug 2009 21:54:53 +0000 (23:54 +0200)]
Don't put loaded formats directly in the format cache

Bad... idea.

14 years agoHonor disableDecoration() again
Manuel Nickschas [Mon, 3 Aug 2009 18:29:51 +0000 (20:29 +0200)]
Honor disableDecoration() again

14 years agoStyle NickView via UiStyle
Manuel Nickschas [Mon, 3 Aug 2009 17:41:29 +0000 (19:41 +0200)]
Style NickView via UiStyle

NickView now asks UiStyle for appropriate Qt::ItemDataRoles for styling its items,
including the item icons.
This replaces the need for custom delegates altogether.

14 years agoStyle BufferView via UiStyle
Manuel Nickschas [Mon, 3 Aug 2009 17:39:12 +0000 (19:39 +0200)]
Style BufferView via UiStyle

BufferView now asks UiStyle for appropriate Qt::ItemDataRoles for styling its items,
including the item icons.
This replaces the need for setting the palette of custom delegates.

14 years agoProvide means for styling itemviews via UiStyle
Manuel Nickschas [Mon, 3 Aug 2009 17:35:45 +0000 (19:35 +0200)]
Provide means for styling itemviews via UiStyle

QssParser now parses ChatListItem { } and NickListItem { } with "type" and "state"
properties to allow defining styles for BufferView and NickView.

The formats are provided via Qt::ItemRoles, for a given networkmodel index. This allows
for easy access from the itemviews.

14 years agoMake UiStyle accessible from the uisupport module
Manuel Nickschas [Mon, 3 Aug 2009 17:32:29 +0000 (19:32 +0200)]
Make UiStyle accessible from the uisupport module

This provides GraphicalUi::uiStyle() to access UiStyle from widgets in uisupport.

14 years agoIntroduce extra Palette roles for UiStyle
Manuel Nickschas [Thu, 30 Jul 2009 21:23:29 +0000 (23:23 +0200)]
Introduce extra Palette roles for UiStyle

In particular BufferView and NickView use several colors that can't be expressed properly
by QPalette roles. We thus introduce various UiStyle::ColorRoles which can be used by the UI and
defined via stylesheets (as usual, in Palette {} blocks).

14 years agoTweak ChatItem/ChatLine layouting
Manuel Nickschas [Thu, 30 Jul 2009 19:27:30 +0000 (21:27 +0200)]
Tweak ChatItem/ChatLine layouting

This makes the scene react properly to dataChanged() signals from the MessageModel. Only affected
ChatLines are relayouted, the rest moved as appropriately. We can now also call updateGeometryByWidth()
with unchanged width to force a relayout in case the style has changed.

14 years agoMake setData() work for the FlagsRole
Manuel Nickschas [Thu, 30 Jul 2009 19:26:06 +0000 (21:26 +0200)]
Make setData() work for the FlagsRole

14 years agoDon't try to mark all incoming messages with the Backlog flag
Manuel Nickschas [Thu, 30 Jul 2009 19:21:44 +0000 (21:21 +0200)]
Don't try to mark all incoming messages with the Backlog flag

This was an ugly workaround the need for which went away when BacklogManager was introduced.
Anyway, setData() with the FlagsRole was ignored by MessageModelItem...

14 years agoUpdate ChatView properly on style changes
Manuel Nickschas [Thu, 30 Jul 2009 15:45:52 +0000 (17:45 +0200)]
Update ChatView properly on style changes

Since we have the cached wraplists back for the moment, we need to invalidate the caches
for all ChatLineModelItems before relayouting the scene. So instead of having each ChatView trigger
the layout change for his scene, we now inform the ChatLineModel itself, which invalidates its
items' caches and then emits a dataChanged() signal that is caught by the scenes.

14 years agoRevert "Remove the word boundary cache"
Manuel Nickschas [Thu, 30 Jul 2009 15:10:55 +0000 (17:10 +0200)]
Revert "Remove the word boundary cache"

We'll look into those issues again later. For now prevent performance degradation.

This reverts commit 94f4e9d385d32eb1bb8fbf1c9736ca3ccc31cdd6.

14 years agoRevert "Introduce a timer for resizing the ChatView"
Manuel Nickschas [Thu, 30 Jul 2009 15:10:05 +0000 (17:10 +0200)]
Revert "Introduce a timer for resizing the ChatView"

We'll look into those issues again later. For now prevent performance degradation.

This reverts commit 63d178b9ca67b7072a05f5afbd12b4eaedd1f17f.

14 years agoInitially display the current color in KColorDialog
Manuel Nickschas [Thu, 30 Jul 2009 09:10:01 +0000 (11:10 +0200)]
Initially display the current color in KColorDialog

When clicking on a ColorButton in KDE, we would start with white rather than
the button's current color.