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
qquickstyleitemframe.h
Go to the documentation of this file.
1
// Copyright (C) 2020 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
4
#ifndef QQUICKSTYLEITEMFRAME_H
5
#define QQUICKSTYLEITEMFRAME_H
6
7
#include "
qquickstyleitem.h
"
8
#include <QtQuickTemplates2/private/qquickframe_p.h>
9
10
QT_BEGIN_NAMESPACE
11
12
class
QQuickStyleItemFrame
:
public
QQuickStyleItem
13
{
14
Q_OBJECT
15
QML_NAMED_ELEMENT
(Frame)
16
17
protected
:
18
void
paintEvent
(
QPainter
*
painter
)
const override
;
19
StyleItemGeometry
calculateGeometry
()
override
;
20
21
private
:
22
void
initStyleOption(
QStyleOptionFrame
&styleOption)
const
;
23
};
24
25
QT_END_NAMESPACE
26
27
#endif
// QQUICKSTYLEITEMFRAME_H
QPainter
The QPainter class performs low-level painting on widgets and other paint devices.
Definition
qpainter.h:46
QQC2::QStyleOptionFrame
Definition
qquickstyleoption.h:85
QQuickStyleItemFrame
Definition
qquickstyleitemframe.h:13
QQuickStyleItemFrame::paintEvent
void paintEvent(QPainter *painter) const override
Definition
qquickstyleitemframe.cpp:23
QQuickStyleItemFrame::calculateGeometry
StyleItemGeometry calculateGeometry() override
Definition
qquickstyleitemframe.cpp:8
QQuickStyleItem
Definition
qquickstyleitem.h:126
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
QML_NAMED_ELEMENT
#define QML_NAMED_ELEMENT(NAME)
Definition
qqmlintegration.h:60
qquickstyleitem.h
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:119
painter
QPainter painter(this)
[7]
StyleItemGeometry
Definition
qquickstyleitem.h:81
qtdeclarative
src
quicknativestyle
items
qquickstyleitemframe.h
Generated by
1.10.0