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// Qt-Security score:significant reason:default
4
7#include "formwindow.h"
8#include "formeditor.h"
9
10#include <QtDesigner/qextensionmanager.h>
11
12#include <QtWidgets/qlayout.h>
13
15
16using namespace Qt::StringLiterals;
17
18namespace qdesigner_internal {
19
20QLayoutWidgetPropertySheet::QLayoutWidgetPropertySheet(QLayoutWidget *object, QObject *parent)
21 : QDesignerPropertySheet(object, parent)
22{
23 clearFakeProperties();
24}
25
27
29{
30 if (propertyGroup(index) == "Layout"_L1)
31 return QDesignerPropertySheet::isVisible(index);
32 return false;
33}
34
35void QLayoutWidgetPropertySheet::setProperty(int index, const QVariant &value)
36{
37 QDesignerPropertySheet::setProperty(index, value);
38}
39
41{
42 return false;
43}
44
45} // namespace qdesigner_internal
46
47QT_END_NAMESPACE
void setProperty(int index, const QVariant &value) override
Combined button and popup list for selecting options.
Auxiliary methods to store/retrieve settings.