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
qaxwidgetplugin.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 ACTIVEXPLUGIN_H
5#define ACTIVEXPLUGIN_H
6
7#include <QtUiPlugin/customwidget.h>
8#include <QtCore/qobject.h>
9
10QT_BEGIN_NAMESPACE
11
12class QDesignerFormEditorInterface;
13
15{
16 Q_OBJECT
17 Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QDesignerCustomWidget" FILE "activeqt.json")
19public:
20 explicit QAxWidgetPlugin(QObject *parent = nullptr);
21
22 QString name() const override;
23 QString group() const override;
24 QString toolTip() const override;
25 QString whatsThis() const override;
26 QString includeFile() const override;
27 QIcon icon() const override;
28 bool isContainer() const override;
29 QWidget *createWidget(QWidget *parent) override;
30 bool isInitialized() const override;
31 void initialize(QDesignerFormEditorInterface *core) override;
32 QString domXml() const override;
33
34private:
35 QDesignerFormEditorInterface *m_core = nullptr;
36};
37
38QT_END_NAMESPACE
39
40#endif
QString toolTip() const override
QString group() const override
bool isInitialized() const override
bool isContainer() const override
QString includeFile() const override
QString whatsThis() const override
QIcon icon() const override
QString domXml() const override
QWidget * createWidget(QWidget *parent) override
QString name() const override
void initialize(QDesignerFormEditorInterface *core) override
Combined button and popup list for selecting options.