QHelpSearchQueryWidget Class
QHelpSearchQueryWidgetクラスは、ユーザが標準化された入力マスクで検索語を入力できるように、シンプルな行編集または高度なウィジェットを提供します。詳細...
ヘッダ | #include <QHelpSearchQueryWidget> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Help) target_link_libraries(mytarget PRIVATE Qt6::Help) |
qmake: | QT += help |
継承: | QWidget |
パブリック関数
QHelpSearchQueryWidget(QWidget *parent = nullptr) | |
virtual | ~QHelpSearchQueryWidget() override |
void | collapseExtendedSearch() |
void | expandExtendedSearch() |
QString | searchInput() const |
void | setSearchInput(const QString &searchInput) |
シグナル
void | search() |
メンバー関数ドキュメント
[explicit]
QHelpSearchQueryWidget::QHelpSearchQueryWidget(QWidget *parent = nullptr)
与えられたparent で新しい検索クエリウィジェットを構築する。
[override virtual noexcept]
QHelpSearchQueryWidget::~QHelpSearchQueryWidget()
検索クエリウィジェットを破棄する。
void QHelpSearchQueryWidget::collapseExtendedSearch()
デフォルトの検索フィールドだけが表示されるように、検索クエリウィジェットを折りたたみます。
void QHelpSearchQueryWidget::expandExtendedSearch()
拡張検索フィールドが表示されるように、検索クエリウィジェットを拡張します。
[signal]
void QHelpSearchQueryWidget::search()
このシグナルは、ユーザが検索ボタンを押したときに発せられます。このシグナルを受け取った後、QHelpSearchEngine::search()関数に渡す検索入力をQHelpSearchQueryWidget 。
QString QHelpSearchQueryWidget::searchInput() const
QHelpSearchEngine::search(constQString &searchInput) 関数と組み合わせて使用する検索フレーズを返します。
setSearchInput()も参照してください 。
void QHelpSearchQueryWidget::setSearchInput(const QString &searchInput)
QHelpSearchQueryWidget 入力フィールドをsearchInput で指定された値に設定します。
注意: 実際の検索を行うには、QHelpSearchEngine::search(constQString &searchInput) 関数を呼び出す必要があります。
searchInput()も参照してください 。
© 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.