[Okular-devel] [okular] [Bug 328125] Add "play/pause" button in "Presentation Mode"
Saheb Preet Singh
saheb.preet at gmail.com
Thu Jan 16 09:16:57 UTC 2014
https://bugs.kde.org/show_bug.cgi?id=328125
--- Comment #4 from Saheb Preet Singh <saheb.preet at gmail.com> ---
(In reply to comment #3)
> hi,
>
> i just tried to implement the button and its working now. Here is a short
> explanation of what i did :-
>
> Added a new action in part.cpp for play pause button.
> Enabled the action in presentationwidget.cpp and added it to the topBar.
> Finally connected the toggled signal to a new slot.
> In that new slot when the signal is toggled on m_nextPageTimer is started
> and its singleShot is set to false, so that it starts playing the page.
> when the signal is toggled off m_nextPageTimer is stopped and the singleShot
> is set to true.
Is it the correct way of implementation???
Also how will i get the play and pause button icon??
Sorry for the previous message, was posted incomplete by mistake.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list