Ozgur Ugras BARAN wrote:
On 11/17/06, Abdelrazak Younes <[EMAIL PROTECTED]> wrote:
Ozgur Ugras BARAN wrote:
> attached patch implement slider in TOC dialog.
>
> I have implemented a getDepth function to get the model indices. In my
> opinion, somebody should derive a new qvariant class for tocModelItem
> which saves the string data and depth information. that will save the
> depth calculation.
>
> I'll be glad somebody see and commit the patch, please..

Dear Ugras,

I've applied the patch but there's some work remaining. Basically, the
main problem is that the slider state does not interact correctly with
the Toc navigation. Try to use the vertical scrollbar or a wheel mouse
and you'll see what I mean.

Abdel.


If I understood the problem correctly, this patch solves the problem.

It seems to behave better yes, thanks. Another problem though: Sections with depth greater than two* do not show anymore in the Toc tree. I don't know if this due to your patch or if it was there before.

Abdel.

* ex: 3.2 will be there but not 3.2.1

Reply via email to