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
plugindialog_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3// Qt-Security score:significant reason:default
4
5#ifndef PLUGINDIALOG_H
6#define PLUGINDIALOG_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include "ui_plugindialog.h"
20
21QT_BEGIN_NAMESPACE
22
23class QFileInfo;
24
25class QDesignerFormEditorInterface;
26
27namespace qdesigner_internal {
28
29class PluginDialog : public QDialog
30{
32public:
34
35private slots:
37 void treeWidgetContextMenu(const QPoint &pos);
38
39private:
40 void populateTreeWidget();
41 QTreeWidgetItem* setTopLevelItem(const QString &itemName);
42 QTreeWidgetItem* setPluginItem(QTreeWidgetItem *topLevelItem,
43 const QFileInfo &file, const QFont &font);
44 QTreeWidgetItem *setItem(QTreeWidgetItem *pluginItem, const QString &name,
45 const QString &toolTip, const QString &whatsThis,
46 const QIcon &icon);
47
48 QDesignerFormEditorInterface *m_core;
49 QT_PREPEND_NAMESPACE(Ui)::PluginDialog ui;
50 QIcon interfaceIcon;
51 QIcon featureIcon;
52};
53
54}
55
56QT_END_NAMESPACE
57
58#endif
Combined button and popup list for selecting options.
Auxiliary methods to store/retrieve settings.
@ ErrorItemRole