qtdoc/examples/demos/documentviewer
Axel Spoerl 01b7e2d091 DocumentViewer demo: Make plugins re-usable
The DocumentViewer demo was originally developed as a self-contained
application. Its dependency to PdfWidgets has lead to splitting it up
into plugins: ba61af0bf3

The new architecture re-uses the viewer objects, but it doesn't reset
them properly. This is why viewer-specific UI-assets (menus, toolbars
and buttons) get duplicated.

This patch adds cleanup functionality and removes duplications.

Fixes: QTBUG-114615
Fixes: QTBUG-114617
Pick-to: 6.6
Change-Id: I4f123f8a69be978f992531603b15de71069d5a66
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
2023-06-20 09:18:32 +02:00
..
app DocumentViewer demo: Make plugins re-usable 2023-06-20 09:18:32 +02:00
doc Doc: Add more examples to Application Examples category 2023-06-15 11:07:40 +02:00
plugins DocumentViewer demo: Make plugins re-usable 2023-06-20 09:18:32 +02:00
CMakeLists.txt CMake: Clean up the CMakeLists.txt file a bit 2023-06-08 09:55:03 +02:00