Review Request: Circular countdown widget

David Edmundson kde at davidedmundson.co.uk
Wed Nov 9 21:53:23 UTC 2011



> On Nov. 9, 2011, 9:47 p.m., Daniele Elmo Domenichelli wrote:
> > circular-countdown.cpp, line 33
> > <http://git.reviewboard.kde.org/r/103094/diff/1/?file=40724#file40724line33>
> >
> >     It took some time to understand this, found the meaning here [1], perhaps use 360*16 and add a comment...
> >     Anyway 5760 frames in 5000 msecs looks a little unreasonable, do you know if QTimeLine+QPainter can handle this automatically? Otherwise you should limit the framerate somehow...
> >     
> >     [1]http://doc.qt.nokia.com/stable/qpainter.html#drawPie

I don't think that's how QTimeLine works, I think it calls you at a reasonable interval and tells you what frame you should be drawing. i.e if you set the animation to last 1 msecs, you will only be asked to draw frame 0, and then frame 5760.

I may be wrong though.


- David


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


On Nov. 9, 2011, 5:02 p.m., Martin Klapetek wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/103094/
> -----------------------------------------------------------
> 
> (Updated Nov. 9, 2011, 5:02 p.m.)
> 
> 
> Review request for Telepathy.
> 
> 
> Description
> -------
> 
> Little circular countdown widget that can be used throughout components (currently accounts-kcm, planned for contact list). See screenshot - the black frame (KMessageWidget) top right corner. 
> 
> 
> Diffs
> -----
> 
>   circular-countdown.h PRE-CREATION 
>   circular-countdown.cpp PRE-CREATION 
> 
> Diff: http://git.reviewboard.kde.org/r/103094/diff/diff
> 
> 
> Testing
> -------
> 
> It's ok.
> 
> 
> Screenshots
> -----------
> 
> Circular countdown
>   http://git.reviewboard.kde.org/r/103094/s/332/
> 
> 
> Thanks,
> 
> Martin Klapetek
> 
>

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


More information about the KDE-Telepathy mailing list