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
qquickstyleitemscrollviewcorner.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 QQUICKSTYLEITEMSCROLLVIEWCORNER_H
5#define QQUICKSTYLEITEMSCROLLVIEWCORNER_H
6
7#include "qquickstyleitem.h"
8#include <QtQuickTemplates2/private/qquickscrollbar_p.h>
9
11{
13 QML_NAMED_ELEMENT(ScrollViewCorner)
14
15protected:
16 void paintEvent(QPainter *painter) const override;
18
19private:
20 void initStyleOption(QStyleOptionSlider &styleOption) const;
21};
22
23#endif // QQUICKSTYLEITEMSCROLLVIEWCORNER_H
The QPainter class performs low-level painting on widgets and other paint devices.
Definition qpainter.h:46
void paintEvent(QPainter *painter) const override
#define QML_NAMED_ELEMENT(NAME)
#define Q_OBJECT
QPainter painter(this)
[7]