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
4
#
include
"qdesigner_objectinspector_p.h"
5
6
QT_BEGIN_NAMESPACE
7
8
namespace
qdesigner_internal
{
9
10
QDesignerObjectInspector
::
QDesignerObjectInspector
(
QWidget
*
parent
,
Qt
::
WindowFlags
flags
) :
11
QDesignerObjectInspectorInterface
(
parent
,
flags
)
12
{
13
}
14
15
void
QDesignerObjectInspector
::
mainContainerChanged
()
16
{
17
}
18
19
void
Selection
::
clear
()
20
{
21
managed
.
clear
();
22
unmanaged
.
clear
();
23
objects
.
clear
();
24
}
25
26
bool
Selection
::
empty
()
const
27
{
28
return
managed
.
isEmpty
() &&
unmanaged
.
isEmpty
() &&
objects
.
isEmpty
();
29
}
30
31
QObjectList
Selection
::
selection
()
const
32
{
33
QObjectList
rc
(
objects
);
34
for
(
QObject
*
o
:
managed
)
35
rc
.
push_back
(
o
);
36
for
(
QObject
*
o
:
unmanaged
)
37
rc
.
push_back
(
o
);
38
return
rc
;
39
}
40
}
41
42
QT_END_NAMESPACE
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
qdesigner_internal
Auxiliary methods to store/retrieve settings.
Definition
buddyeditor.cpp:66
qttools
src
designer
src
lib
shared
qdesigner_objectinspector.cpp
Generated on Sat Sep 21 2024 00:50:35 for Qt by
1.12.0