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