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
qlayoutwidget_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
"qlayoutwidget_propertysheet.h"
5
#
include
"qlayout_widget_p.h"
6
#
include
"formwindow.h"
7
#
include
"formeditor.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
QLayoutWidgetPropertySheet
::QLayoutWidgetPropertySheet(QLayoutWidget *object, QObject *parent)
20
: QDesignerPropertySheet(object, parent)
21
{
22
clearFakeProperties();
23
}
24
25
QLayoutWidgetPropertySheet
::~
QLayoutWidgetPropertySheet
() =
default
;
26
27
bool
QLayoutWidgetPropertySheet
::
isVisible
(
int
index)
const
28
{
29
if
(propertyGroup(index) ==
"Layout"_L1
)
30
return
QDesignerPropertySheet::isVisible(index);
31
return
false
;
32
}
33
34
void
QLayoutWidgetPropertySheet
::
setProperty
(
int
index,
const
QVariant &value)
35
{
36
QDesignerPropertySheet::setProperty(index, value);
37
}
38
39
bool
QLayoutWidgetPropertySheet
::
dynamicPropertiesAllowed
()
const
40
{
41
return
false
;
42
}
43
44
}
// namespace qdesigner_internal
45
46
QT_END_NAMESPACE
qdesigner_internal::QLayoutWidgetPropertySheet
Definition
qlayoutwidget_propertysheet.h:16
qdesigner_internal::QLayoutWidgetPropertySheet::isVisible
bool isVisible(int index) const override
Definition
qlayoutwidget_propertysheet.cpp:27
qdesigner_internal::QLayoutWidgetPropertySheet::setProperty
void setProperty(int index, const QVariant &value) override
Definition
qlayoutwidget_propertysheet.cpp:34
qdesigner_internal::QLayoutWidgetPropertySheet::~QLayoutWidgetPropertySheet
~QLayoutWidgetPropertySheet() override
qdesigner_internal::QLayoutWidgetPropertySheet::dynamicPropertiesAllowed
bool dynamicPropertiesAllowed() const override
Definition
qlayoutwidget_propertysheet.cpp:39
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
qlayoutwidget_propertysheet.cpp
Generated on Sat Sep 21 2024 00:50:21 for Qt by
1.12.0