PdfStyle QML Type
PDF 浏览器组件的样式界面。更多
Import Statement: | import QtQuick.Pdf |
Inherits: |
属性
- currentSearchResultStrokeColor : color
- currentSearchResultStrokeWidth : real
- pageSearchResultsColor : color
- selectionColor : color
详细描述
PdfStyle 提供了修改PdfMultiPageView,PdfScrollablePageView, 和PdfPageView 外观的属性。
提供的默认样式与 Qt Quick Controls 中的样式相匹配。文件选择器用于加载与正在使用的控件样式相对应的 PDF 样式。可使用不同的file selectors 自定义样式。
属性文档
currentSearchResultStrokeColor : color |
currentSearchResultStrokeWidth : real |
pageSearchResultsColor : color |
与search string 相匹配的文字上覆盖的半透明矩形的颜色。
另请参阅 PdfSearchModel 。
selectionColor : color |
覆盖在selected text 上的半透明矩形的颜色。
另请参阅 PdfSelection 。
© 2025 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.