PdfLinkDelegate QML Type
PDF 페이지의 하이퍼링크를 장식하는 구성 요소입니다. 더 보기...
Import Statement: | import QtQuick.Pdf |
Inherits: |
신호
- contextMenuRequested(link)
- tapped(link)
상세 설명
PdfLinkDelegate는 QML 기반 PDF 뷰어가 각 PDF 페이지에 있는 각 하이퍼링크 위에 인스턴스화하는 구성 요소를 제공합니다.
이 구성 요소는 하이퍼링크가 이미 고유한 방식으로 서식이 지정되어 있는 경우가 많으므로 시각적 장식을 제공하지 않지만 마우스 커서를 가져가면 Qt::PointingHandCursor 로 변경되고 잠시 후 툴팁이 나타납니다. 클릭하면 링크가 내부 링크인 경우 goToLocation() 신호가 발생하고, 링크에 URL이 포함된 경우 Qt.openUrlExternally()가 호출됩니다.
PdfPageView, PdfScrollablePageView, PdfMultiPageView 를참조하십시오 .
신호 문서
contextMenuRequested(link) |
마우스 오른쪽 클릭 또는 터치 길게 누를 때 발생합니다. link 인수는 하이퍼링크에 대한 정보가 포함된 QPdfLink 의 인스턴스입니다.
참고: 해당 핸들러는 onContextMenuRequested
입니다.
tapped(link) |
마우스 클릭 또는 터치 탭 시 발생합니다. link 인수는 하이퍼링크에 대한 정보가 포함된 QPdfLink 의 인스턴스입니다.
참고: 해당 핸들러는 onTapped
입니다.
© 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.