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
qquicklabsplatformmenuseparator.cpp
Go to the documentation of this file.
1
// Copyright (C) 2017 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
include
"qquicklabsplatformmenuseparator_p.h"
6
7
QT_BEGIN_NAMESPACE
8
9
/*!
10
\qmltype MenuSeparator
11
\inherits MenuItem
12
//! \nativetype QQuickLabsPlatformMenuSeparator
13
\inqmlmodule Qt.labs.platform
14
\since 5.8
15
\brief A native menu separator.
16
17
The MenuSeparator type is provided for convenience. It is a MenuItem
18
that has the \l {MenuItem::}{separator} property set to \c true by default.
19
20
\image qtlabsplatform-menubar.png
21
22
\labs
23
24
\sa Menu, MenuItem
25
*/
26
27
QQuickLabsPlatformMenuSeparator
::
QQuickLabsPlatformMenuSeparator
(
QObject
*
parent
)
28
:
QQuickLabsPlatformMenuItem
(
parent
)
29
{
30
setSeparator(
true
);
31
}
32
33
QT_END_NAMESPACE
34
35
#
include
"moc_qquicklabsplatformmenuseparator_p.cpp"
QObjectData::parent
QObject * parent
Definition
qobject.h:73
QObject
\inmodule QtCore
Definition
qobject.h:105
QQuickLabsPlatformMenuItem
Definition
qquicklabsplatformmenuitem_p.h:36
QQuickLabsPlatformMenuSeparator
Definition
qquicklabsplatformmenuseparator_p.h:24
QPlatformGraphicsBufferHelper
\inmodule QtGui
qtdeclarative
src
labs
platform
qquicklabsplatformmenuseparator.cpp
Generated on
for Qt by
1.14.0