QPdfPageSelector Class
PDFページを選択するためのウィジェット。詳細...
Header: | #include <QPdfPageSelector> |
Since: | Qt 6.6 |
Inherits: | QWidget |
プロパティ
- currentPage : int
- currentPageLabel : const QString
- document : QPdfDocument*
パブリック機能
QPdfPageSelector(QWidget *parent) | |
virtual | ~QPdfPageSelector() override |
int | currentPage() const |
QString | currentPageLabel() const |
QPdfDocument * | document() const |
void | setDocument(QPdfDocument *document) |
パブリックスロット
void | setCurrentPage(int index) |
シグナル
void | currentPageChanged(int index) |
void | currentPageLabelChanged(const QString &label) |
void | documentChanged(QPdfDocument *document) |
詳しい説明
QPdfPageSelector は、QPdfDocument からページラベルを選択するためのウィジェットです。
QPdfDocument::pageLabel()も参照してください 。
プロパティの説明
currentPage : int
このプロパティは、文書内の現在のページのインデックス(0
-ベース)を保持します。
アクセス関数:
int | currentPage() const |
void | setCurrentPage(int index) |
通知シグナル:
void | currentPageChanged(int index) |
[read-only]
currentPageLabel : const QString
このプロパティは、ドキュメントの現在のページに対応するページラベルを保持する。
これはユーザに表示されるテキストである。
アクセス関数:
QString | currentPageLabel() const |
Notifierシグナル:
void | currentPageLabelChanged(const QString &label) |
QPdfDocument::pageLabel()も参照 。
document : QPdfDocument*
このプロパティは、閲覧する文書を保持する。
アクセス関数:
QPdfDocument * | document() const |
void | setDocument(QPdfDocument *document) |
通知シグナル
void | documentChanged(QPdfDocument *document) |
メンバ関数ドキュメント
[explicit]
QPdfPageSelector::QPdfPageSelector(QWidget *parent)
親ウィジェットparent を持つPDFページセレクタを構築します。
[override virtual noexcept]
QPdfPageSelector::~QPdfPageSelector()
ページセレクタを破壊する。
© 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.