diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2022-04-21 14:39:40 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2022-04-30 08:32:26 +0200 |
commit | 692e2295b5676652ff0d405fd9b916cbd428dad3 (patch) | |
tree | 47541e2b4c3693b0717e4b78864e5f2bdbf50e4f /examples/pdf/multipage/viewer.qrc | |
parent | c0b3f3dfac45b101a097188fa6f570ca0616bdb9 (diff) |
PDF multipage example: add footer button to hide/show the sidebar
When the sidebar only held search results, it was enough to show it when
pressing enter on the search field; but now it holds two other views
that the user will want to easily look at. It's a Drawer, and those are
tricky to open and close by mouse-dragging. The button is more obvious,
like the one at the bottom of Creator. Its checked state shows whether
the sidebar is open, and clicking it opens the sidebar if it wasn't
already open. Clicking outside the sidebar closes it.
Change-Id: Ib4e403aa6f06d5e4dbad08a80c99496ab6c5fa0f
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'examples/pdf/multipage/viewer.qrc')
-rw-r--r-- | examples/pdf/multipage/viewer.qrc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/pdf/multipage/viewer.qrc b/examples/pdf/multipage/viewer.qrc index ffca51679..541ff3016 100644 --- a/examples/pdf/multipage/viewer.qrc +++ b/examples/pdf/multipage/viewer.qrc @@ -11,6 +11,8 @@ <file>resources/go-up-search.svg</file> <file>resources/rotate-left.svg</file> <file>resources/rotate-right.svg</file> + <file>resources/sidebar-collapse-left.svg</file> + <file>resources/sidebar-expand-left.svg</file> <file>resources/test.pdf</file> <file>resources/zoom-in.svg</file> <file>resources/zoom-fit-best.svg</file> |