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
4#ifndef QHELPSEARCHRESULTWIDGET_H
5#define QHELPSEARCHRESULTWIDGET_H
6
7#include <QtHelp/qhelp_global.h>
8#include <QtHelp/qhelpsearchengine.h>
9
10#include <QtWidgets/qwidget.h>
11
13
15class QPoint;
16class QUrl;
17
18class QHELP_EXPORT QHelpSearchResultWidget : public QWidget
19{
20 Q_OBJECT
21
22public:
23 ~QHelpSearchResultWidget() override;
24 QUrl linkAt(const QPoint &point);
25
26Q_SIGNALS:
27 void requestShowLink(const QUrl &url);
28
29private:
30 friend class QHelpSearchEngine;
31
32 QHelpSearchResultWidgetPrivate *d;
33 QHelpSearchResultWidget(QHelpSearchEngine *engine);
34 void changeEvent(QEvent *event) override;
35};
36
37QT_END_NAMESPACE
38
39#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:25
Combined button and popup list for selecting options.