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