How to select a sidebar item when the sidebar is collapsed in autotests/parttest

Mayank Choudhary mayankchd10 at gmail.com
Mon Jul 1 23:52:42 BST 2019


Hello,

I'm writing an autotest in parttest.cpp where initially when the part is
opened, the sidebar is collapsed. Now I need to click on thumbnails item
(say) in order to open it. How can I?

I tried part.m_sidebar->setCurrentItem(thumbsbox) but as thumbsbox is
declared in Part ctor, I'm unable to use it in autotest.

Please help.

Thanks
Mayank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20190702/96a684e2/attachment.html>


More information about the Okular-devel mailing list