[Okular-devel] Review Request 118685: Make tabs rearrangeable

Jonathan Doman jonathan.doman at gmail.com
Tue Jul 15 03:33:23 UTC 2014



> On July 14, 2014, 5:45 p.m., Albert Astals Cid wrote:
> > shell/shell.cpp, line 114
> > <https://git.reviewboard.kde.org/r/118685/diff/1/?file=280425#file280425line114>
> >
> >     Please just call tabBar()

If only it were so easy - KTabWidget does not expose the underlying tab bar. Personally, I find this simpler than subclassing KTabWidget or using KTabBar+QStackedLayout.


- Jonathan


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/118685/#review62354
-----------------------------------------------------------


On June 11, 2014, 11:52 p.m., Jonathan Doman wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/118685/
> -----------------------------------------------------------
> 
> (Updated June 11, 2014, 11:52 p.m.)
> 
> 
> Review request for Okular.
> 
> 
> Bugs: 334018
>     http://bugs.kde.org/show_bug.cgi?id=334018
> 
> 
> Repository: okular
> 
> 
> Description
> -------
> 
> Catch the tabMoved signal emitted by the tab bar in order to rearrange the internal data. Slightly more than the single line I thought it would be.
> 
> 
> Diffs
> -----
> 
>   shell/shell.h f25b3d8 
>   shell/shell.cpp 9ee422a 
> 
> Diff: https://git.reviewboard.kde.org/r/118685/diff/
> 
> 
> Testing
> -------
> 
> Tested that the GUI remains coherent when moving two tabs around many times. As before, the tool selections aren't quite coherent, but that's for another patch.
> 
> 
> Thanks,
> 
> Jonathan Doman
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20140715/314ba7b1/attachment.html>


More information about the Okular-devel mailing list