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
qwebview_plugin.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 QWEBPAGE_PLUGIN_H
6#define QWEBPAGE_PLUGIN_H
7
8#include <QtUiPlugin/customwidget.h>
9
10QT_BEGIN_NAMESPACE
11
12class QWebViewPlugin: public QObject, public QDesignerCustomWidgetInterface
13{
14 Q_OBJECT
15 Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QDesignerCustomWidgetInterface" FILE "qwebview.json")
16 Q_INTERFACES(QDesignerCustomWidgetInterface)
17public:
18 QWebViewPlugin(QObject *parent = 0);
19
20 QString name() const override;
21 QString group() const override;
22 QString toolTip() const override;
23 QString whatsThis() const override;
24 QString includeFile() const override;
25 QIcon icon() const override;
26 bool isContainer() const override;
27 QWidget *createWidget(QWidget *parent) override;
28 bool isInitialized() const override;
29 void initialize(QDesignerFormEditorInterface *core) override;
30 QString domXml() const override;
31
32private:
33 bool m_initialized;
34};
35
37
38#endif // QWEBPAGE_PLUGIN_H
Combined button and popup list for selecting options.
static constexpr auto toolTipC