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
line_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
"line_propertysheet.h"
5
#
include
"formwindow.h"
6
7
// sdk
8
#
include
<
QtDesigner
/
qextensionmanager
.
h
>
9
10
#
include
<
QtWidgets
/
qlayout
.
h
>
11
#
include
<
QtCore
/
qmetaobject
.
h
>
12
#
include
<
QtCore
/
qdebug
.
h
>
13
14
QT_BEGIN_NAMESPACE
15
16
using
namespace
Qt::StringLiterals;
17
18
namespace
qdesigner_internal
{
19
20
LinePropertySheet
::LinePropertySheet(Line *object, QObject *parent)
21
: QDesignerPropertySheet(object, parent)
22
{
23
clearFakeProperties();
24
}
25
26
LinePropertySheet
::~
LinePropertySheet
() =
default
;
27
28
bool
LinePropertySheet
::
isVisible
(
int
index)
const
29
{
30
const
QString name = propertyName(index);
31
32
if
(name ==
"frameShape"_L1
)
33
return
false
;
34
return
QDesignerPropertySheet::isVisible(index);
35
}
36
37
void
LinePropertySheet
::
setProperty
(
int
index,
const
QVariant &value)
38
{
39
QDesignerPropertySheet::setProperty(index, value);
40
}
41
42
QString
LinePropertySheet
::
propertyGroup
(
int
index)
const
43
{
44
return
QDesignerPropertySheet::propertyGroup(index);
45
}
46
47
}
// namespace qdesigner_internal
48
49
QT_END_NAMESPACE
qdesigner_internal::LinePropertySheet
Definition
line_propertysheet.h:16
qdesigner_internal::LinePropertySheet::propertyGroup
QString propertyGroup(int index) const override
Definition
line_propertysheet.cpp:42
qdesigner_internal::LinePropertySheet::~LinePropertySheet
~LinePropertySheet() override
qdesigner_internal::LinePropertySheet::isVisible
bool isVisible(int index) const override
Definition
line_propertysheet.cpp:28
qdesigner_internal::LinePropertySheet::setProperty
void setProperty(int index, const QVariant &value) override
Definition
line_propertysheet.cpp:37
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
line_propertysheet.cpp
Generated on Sat Sep 21 2024 00:50:20 for Qt by
1.12.0