From 31ee4085c2b2c374158fb956ac376399ff375b5a Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 12 Apr 2012 23:57:51 +0200 Subject: Use KMessageWidget for error- and information-messages See http://agateau.com/2011/04/21/kde-ux-2011/ for more details. This simplifies the statusbar in Dolphin a lot and allows to do a proper eliding in case if status-messages are too long: In this case a tooltip will show the whole status-message (thanks to Wolfgang Mader for the initial patch!). There is still missing some finetuning but the general approach seems to work quite nice. BUG: 249638 BUG: 245618 BUG: 146533 FIXED-IN: 4.9.0 --- src/statusbar/statusbarspaceinfo.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/statusbar/statusbarspaceinfo.h') diff --git a/src/statusbar/statusbarspaceinfo.h b/src/statusbar/statusbarspaceinfo.h index 0a563ad13..1849462a9 100644 --- a/src/statusbar/statusbarspaceinfo.h +++ b/src/statusbar/statusbarspaceinfo.h @@ -51,8 +51,10 @@ protected: void hideEvent(QHideEvent* event); private slots: - /** Refreshes the space information for the current set URL. */ - void refresh(); + /** + * Calculates the space information for the current set URL. + */ + void calculateSpaceInfo(); private: quint64 m_kBSize; -- cgit v1.3