Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qhelpsearchresultwidget.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5#ifndef QHELPSEARCHRESULTWIDGET_H
6#define QHELPSEARCHRESULTWIDGET_H
7
8#include <QtHelp/qhelp_global.h>
9#include <QtHelp/qhelpsearchengine.h>
10
11#include <QtWidgets/qwidget.h>
12
14
16class QPoint;
17class QUrl;
18
19class QHELP_EXPORT QHelpSearchResultWidget : public QWidget
20{
21 Q_OBJECT
22
23public:
24 ~QHelpSearchResultWidget() override;
25 QUrl linkAt(const QPoint &point);
26
27Q_SIGNALS:
28 void requestShowLink(const QUrl &url);
29
30private:
31 friend class QHelpSearchEngine;
32
33 QHelpSearchResultWidgetPrivate *d;
34 QHelpSearchResultWidget(QHelpSearchEngine *engine);
35 void changeEvent(QEvent *event) override;
36};
37
38QT_END_NAMESPACE
39
40#endif // QHELPSEARCHRESULTWIDGET_H
The QHelpSearchEngineCore class provides access to index and search documentation.
QHelpSearchResultWidget * resultWidget
QHelpSearchQueryWidget * queryWidget
QHelpSearchEngineCore m_searchEngine
The QHelpSearchQueryWidget class provides a simple line edit or an advanced widget to enable the user...
The QHelpSearchResultWidget class provides a text browser to display search results.
\inmodule QtCore\reentrant
Definition qpoint.h:30
Combined button and popup list for selecting options.