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