Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
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
21
QT_BEGIN_NAMESPACE
22
23
class
QFileInfo;
24
25
class
QDesignerFormEditorInterface;
26
27
namespace
qdesigner_internal
{
28
29
class
PluginDialog
:
public
QDialog
30
{
31
Q_OBJECT
32
public
:
33
explicit
PluginDialog
(
QDesignerFormEditorInterface
*
core
,
QWidget
*
parent
=
nullptr
);
34
35
private
slots
:
36
void
updateCustomWidgetPlugins
();
37
void
treeWidgetContextMenu(
const
QPoint &pos);
38
39
private
:
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
56
QT_END_NAMESPACE
57
58
#
endif
qdesigner_internal::PluginDialog
Definition
plugindialog_p.h:30
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qdesigner_internal
Auxiliary methods to store/retrieve settings.
Definition
buddyeditor.cpp:67
ErrorItemRole
@ ErrorItemRole
Definition
plugindialog.cpp:34
qttools
src
designer
src
lib
shared
plugindialog_p.h
Generated on
for Qt by
1.18.0