PdfStyle QML Type

A styling interface for the PDF viewer components. 更多...

导入语句: import QtQuick.Pdf

特性

详细描述

PdfStyle provides properties to modify the appearance of PdfMultiPageView , PdfScrollablePageView ,和 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 .

特性文档编制

currentSearchResultStrokeColor : color

The color of the box outline around the current search result .

另请参阅 PdfMultiPageView::searchBack (), PdfMultiPageView::searchForward (),和 PdfSearchModel::currentResult .


currentSearchResultStrokeWidth : real

The line width of the box outline around the current search result .

另请参阅 PdfMultiPageView::searchBack (), PdfMultiPageView::searchForward (),和 PdfSearchModel::currentResult .


pageSearchResultsColor : color

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

另请参阅 PdfSearchModel .


selectionColor : color

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

另请参阅 PdfSelection .