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
qquickpane_p_p.h
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
4
#ifndef QQUICKPANE_P_P_H
5
#define QQUICKPANE_P_P_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#include <QtQuickTemplates2/private/qquickcontrol_p_p.h>
19
20
QT_BEGIN_NAMESPACE
21
22
class
QQuickPane
;
23
24
class
Q_QUICKTEMPLATES2_EXPORT
QQuickPanePrivate
:
public
QQuickControlPrivate
25
{
26
public
:
27
Q_DECLARE_PUBLIC(
QQuickPane
)
28
29
void
init
();
30
31
virtual
QQmlListProperty<QObject> contentData();
32
virtual
QQmlListProperty<QQuickItem> contentChildren();
33
virtual
QList<QQuickItem *> contentChildItems()
const
;
34
virtual
QQuickItem
*getFirstChild()
const
;
35
36
QQuickItem
*getContentItem()
override
;
37
38
qreal
getContentWidth()
const override
;
39
qreal
getContentHeight()
const override
;
40
41
void
itemImplicitWidthChanged(
QQuickItem
*
item
)
override
;
42
void
itemImplicitHeightChanged(
QQuickItem
*
item
)
override
;
43
void
itemDestroyed(
QQuickItem
*
item
)
override
;
44
45
void
contentChildrenChange();
46
47
void
updateContentWidth();
48
void
updateContentHeight();
49
50
bool
handlePress(
const
QPointF
&point,
ulong
timestamp)
override
;
51
52
bool
hasContentWidth =
false
;
53
bool
hasContentHeight =
false
;
54
qreal
contentWidth = 0;
55
qreal
contentHeight = 0;
56
QQuickItem
*firstChild =
nullptr
;
57
};
58
59
QT_END_NAMESPACE
60
61
#endif
// QQUICKPANE_P_P_H
QPointF
\inmodule QtCore\reentrant
Definition
qpoint.h:217
QQuickControlPrivate
Definition
qquickcontrol_p_p.h:42
QQuickItem
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
Definition
qquickitem.h:63
QQuickPanePrivate
Definition
qquickpane_p_p.h:25
QQuickPane
Definition
qquickpane_p.h:26
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
init
static QT_BEGIN_NAMESPACE void init(QTextBoundaryFinder::BoundaryType type, QStringView str, QCharAttributes *attributes)
Definition
qtextboundaryfinder.cpp:10
ulong
unsigned long ulong
Definition
qtypes.h:35
qreal
double qreal
Definition
qtypes.h:187
item
QGraphicsItem * item
Definition
src_gui_graphicsview_qgraphicsitem.cpp:107
qtdeclarative
src
quicktemplates
qquickpane_p_p.h
Generated by
1.10.0