Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquickmenuseparator.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
5#include "qquickcontrol_p_p.h"
6
8
13
36class Q_QUICKTEMPLATES2_EXPORT QQuickMenuSeparatorPrivate : public QQuickControlPrivate
37{
38 Q_DECLARE_PUBLIC(QQuickMenuSeparator)
39
40public:
42};
43
48
53
54#if QT_CONFIG(accessibility)
55QAccessible::Role QQuickMenuSeparator::accessibleRole() const
56{
57 return QAccessible::Separator;
58}
59#endif
60
62
63#include "moc_qquickmenuseparator_p.cpp"
\reentrant
Definition qfont.h:22
The QPalette class contains color groups for each widget state.
Definition qpalette.h:19
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
Definition qquickitem.h:63
Separates a group of items in a menu from adjacent items.
QPalette defaultPalette() const override
QFont defaultFont() const override
QQuickMenuSeparator(QQuickItem *parent=nullptr)
static QPalette palette(Scope scope)
static QFont font(Scope scope)
Combined button and popup list for selecting options.