[Okular-devel] [okular] [Bug 326844] Feature request: Include option to resize window to fit page

Saheb Preet Singh saheb.preet at gmail.com
Fri Jan 3 08:31:18 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=326844

--- Comment #7 from Saheb Preet Singh <saheb.preet at gmail.com> ---

(In reply to comment #6)
> (In reply to comment #5)
> > i need to know which files or classes are related to adjusting the size of
> > the main window or more precisely how to resize the window?
> Have you done any research?

Yes, as per my research shell is the main element that appears is shell which
in turn loads okular part plugin to draw various other things like some menu

is this research correct???

if it is correct then the main thing to be done in this bug is to insert an
option in the view menu bar for resizing the window to the size of the page and
to resize the window which can be done by resizing shell as it inherits KParts
:: MainWindow as per the size of the page. The first part can be done in
PageView::setupViewerActions method by making corresponding signal and slot in
the PageView class. For the second part the slot which will catch the above
signal have to resize the window. Now the question is where the slot will
implement the resizing functionality??? (as the resize to page fit and page
width functionality is implemented after a series of function calls)

Please guide me if i am wrong somewhere

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list