Review Request 111088: [logviewer] Show a message when no logs are available for given contact or day

David Edmundson david at davidedmundson.co.uk
Tue Jun 18 14:34:30 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111088/#review34586
-----------------------------------------------------------

Ship it!


You can do adiumThemeView->setHTML it is a webview after all.. but I'm happy with the label.

Have you considered a KMessageWidget, do you think that would be better?


logviewer/message-view.cpp
<http://git.reviewboard.kde.org/r/111088/#comment25383>

    I think you need to setGeometry here too, right now we're relying on a resizeEvent happening before we first show the label which I don't think you can be sure of.


- David Edmundson


On June 18, 2013, 11:49 a.m., Dan Vrátil wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/111088/
> -----------------------------------------------------------
> 
> (Updated June 18, 2013, 11:49 a.m.)
> 
> 
> Review request for Telepathy.
> 
> 
> Description
> -------
> 
> Shows a label saying "There are no logs for this day" or "There are no logs for this contact" when user selects a date without logs or starts logviewer with ID of a contact for which we have no logs.
> 
> The QLabel feels a bit hackish, but with Adium I don't see any other way. We can do this properly once QML viewer is in place.
> 
> 
> This addresses bug 316487.
>     http://bugs.kde.org/show_bug.cgi?id=316487
> 
> 
> Diffs
> -----
> 
>   logviewer/entity-view.h d55f194 
>   logviewer/entity-view.cpp 69c408f 
>   logviewer/log-viewer.h 9341064 
>   logviewer/log-viewer.cpp 743cda4 
>   logviewer/message-view.h c9ae322 
>   logviewer/message-view.cpp 96ad846 
> 
> Diff: http://git.reviewboard.kde.org/r/111088/diff/
> 
> 
> Testing
> -------
> 
> 
> File Attachments
> ----------------
> 
> 
>   http://git.reviewboard.kde.org/media/uploaded/files/2013/06/18/logviewer.png
> 
> 
> Thanks,
> 
> Dan Vrátil
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20130618/a5c56bb7/attachment.html>


More information about the KDE-Telepathy mailing list