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