PdfStyle QML Type

A styling interface for the PDF viewer components. More...

Import Statement: import QtQuick.Pdf

Properties

Detailed Description

PdfStyle provides properties to modify the appearance of PdfMultiPageView, PdfScrollablePageView, and PdfPageView.

Default styles are provided to match the styles in Qt Quick Controls. File selectors are used to load the PDF style corresponding to the Controls style in use. Custom styles are possible, using different file selectors.

Property Documentation

currentSearchResultStrokeColor : color


currentSearchResultStrokeWidth : real


pageSearchResultsColor : color

The color of translucent rectangles that are overlaid on text that matches the search string.

See also PdfSearchModel.


selectionColor : color

The color of translucent rectangles that are overlaid on selected text.

See also PdfSelection.


© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.