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
qgeorectangle_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 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 QGEORECTANGLE_P_H
5#define QGEORECTANGLE_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 "qgeoshape_p.h"
19#include "qgeocoordinate.h"
20
22
24{
25public:
30
31 bool isValid() const override;
32 bool isEmpty() const override;
33 bool contains(const QGeoCoordinate &coordinate) const override;
34
35 QGeoCoordinate center() const override;
36
37 QGeoRectangle boundingGeoRectangle() const override;
38
39 void extendRectangle(const QGeoCoordinate &coordinate);
40
41 QGeoShapePrivate *clone() const override;
42
43 bool operator==(const QGeoShapePrivate &other) const override;
44
45 size_t hash(size_t seed) const override;
46
49};
50
52
53#endif
\inmodule QtPositioning
QGeoCoordinate bottomRight
QGeoShapePrivate * clone() const override
QGeoCoordinate topLeft
void extendRectangle(const QGeoCoordinate &coordinate)
Extends the rectangle in the smallest possible way to include coordinate in the shape.
bool isEmpty() const override
QGeoRectangle boundingGeoRectangle() const override
bool operator==(const QGeoShapePrivate &other) const override
bool contains(const QGeoCoordinate &coordinate) const override
bool isValid() const override
QGeoCoordinate center() const override
\inmodule QtPositioning
QHash< int, QWidget * > hash
[35multi]
Combined button and popup list for selecting options.
static Q_CONSTINIT QBasicAtomicInteger< unsigned > seed
Definition qrandom.cpp:196
QSharedPointer< T > other(t)
[5]