[Okular-devel] Review Request 118685: Make tabs rearrangeable
Jonathan Doman
jonathan.doman at gmail.com
Tue Jul 15 19:31:16 UTC 2014
> On July 15, 2014, 2:27 p.m., Albert Astals Cid wrote:
> > shell/shell.cpp, line 114
> > <https://git.reviewboard.kde.org/r/118685/diff/1/?file=280425#file280425line114>
> >
> > What do you mean KTabWidget does not expose the underlying tabbar? KTabWidget is a QTabWidget and is setting its tabbar with
> >
> > setTabBar( new KTabBar( this ) );
> >
> > so how would QTabWidget::tabBar not return something valid?
That function is protected. I would have to subclass {K,Q}TabWidget to gain access to it.
- Jonathan
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/118685/#review62426
-----------------------------------------------------------
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/d875e2cf/attachment.html>
More information about the Okular-devel
mailing list