Review Request: Add KMessageWidget, an alternative to KMessageBox

Aurélien Gâteau agateau at
Fri Apr 29 14:44:28 BST 2011

This is an automatically generated e-mail. To reply, visit:

(Updated April 29, 2011, 1:44 p.m.)

Review request for kdelibs.


Applied all changes suggested by Jaros?aw.


KMessageWidget is a new widget which can be considered as a less intrusive alternative for KMessageBox. It was designed during KDE UX sprint 2011 ( ).

The class documentation should make it clear how and when it can be used.

This widget could be used by:
- Browsers to implement their "remember password" widgets (Konqueror, Rekonq...)
- Forms to provide feedback on validation errors
- Bluedevil KCM to replace its custom "No Bluetooth adapter have been found" message widget
- Nepomuk/Strigi KCM to indicate status of their services
- Gwenview to replace its custom save bar
- ...

I still have a few additions in mind for the API but it is already usable and since we are freezing I think it can be merged in master in its current state. I assume it will still be possible to extend the API a bit before kdelibs 4.7 freezes for good.

I also wrote an example program in the kdeexample repository ( ), though I am wondering whether it shouldn't be moved in kdeui/tests as it is more a manual test program than an example.

Diffs (updated)

  kdeui/CMakeLists.txt d1873d1 
  kdeui/widgets/kmessagewidget.h PRE-CREATION 
  kdeui/widgets/kmessagewidget.cpp PRE-CREATION 




Montage from kmessagewidgetdemo



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-core-devel mailing list