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
spacer_propertysheet.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
"spacer_propertysheet.h"
6
#
include
"qdesigner_widget_p.h"
7
#
include
"formwindow.h"
8
#
include
"spacer_widget_p.h"
9
10
#
include
<
QtDesigner
/
qextensionmanager
.
h
>
11
12
#
include
<
QtWidgets
/
qlayout
.
h
>
13
14
QT_BEGIN_NAMESPACE
15
16
using
namespace
Qt::StringLiterals;
17
18
namespace
qdesigner_internal
19
{
20
SpacerPropertySheet
::SpacerPropertySheet(Spacer *object, QObject *parent)
21
: QDesignerPropertySheet(object, parent)
22
{
23
clearFakeProperties();
24
}
25
26
SpacerPropertySheet
::~
SpacerPropertySheet
() =
default
;
27
28
bool
SpacerPropertySheet
::
isVisible
(
int
index)
const
29
{
30
return
propertyGroup(index) ==
"Spacer"_L1
;
31
}
32
33
void
SpacerPropertySheet
::
setProperty
(
int
index,
const
QVariant &value)
34
{
35
QDesignerPropertySheet::setProperty(index, value);
36
}
37
38
bool
SpacerPropertySheet
::
dynamicPropertiesAllowed
()
const
39
{
40
return
false
;
41
}
42
}
43
44
QT_END_NAMESPACE
qdesigner_internal::SpacerPropertySheet
Definition
spacer_propertysheet.h:17
qdesigner_internal::SpacerPropertySheet::setProperty
void setProperty(int index, const QVariant &value) override
Definition
spacer_propertysheet.cpp:33
qdesigner_internal::SpacerPropertySheet::~SpacerPropertySheet
~SpacerPropertySheet() override
qdesigner_internal::SpacerPropertySheet::dynamicPropertiesAllowed
bool dynamicPropertiesAllowed() const override
Definition
spacer_propertysheet.cpp:38
qdesigner_internal::SpacerPropertySheet::isVisible
bool isVisible(int index) const override
Definition
spacer_propertysheet.cpp:28
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
components
formeditor
spacer_propertysheet.cpp
Generated on
for Qt by
1.16.1