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
qdesigner_objectinspector.cpp
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
#
include
"qdesigner_objectinspector_p.h"
6
7
QT_BEGIN_NAMESPACE
8
9
namespace
qdesigner_internal
{
10
11
QDesignerObjectInspector
::
QDesignerObjectInspector
(
QWidget
*
parent
,
Qt
::
WindowFlags
flags
) :
12
QDesignerObjectInspectorInterface
(
parent
,
flags
)
13
{
14
}
15
16
void
QDesignerObjectInspector
::
mainContainerChanged
()
17
{
18
}
19
20
void
Selection
::
clear
()
21
{
22
managed
.
clear
();
23
unmanaged
.
clear
();
24
objects
.
clear
();
25
}
26
27
bool
Selection
::
empty
()
const
28
{
29
return
managed
.
isEmpty
() &&
unmanaged
.
isEmpty
() &&
objects
.
isEmpty
();
30
}
31
32
QObjectList
Selection
::
selection
()
const
33
{
34
QObjectList
rc
(
objects
);
35
for
(
QObject
*
o
:
managed
)
36
rc
.
push_back
(
o
);
37
for
(
QObject
*
o
:
unmanaged
)
38
rc
.
push_back
(
o
);
39
return
rc
;
40
}
41
}
42
43
QT_END_NAMESPACE
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
qttools
src
designer
src
lib
shared
qdesigner_objectinspector.cpp
Generated on
for Qt by
1.16.1