| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| | |
This now triggers compile errors on macOS.
Change-Id: I412dd1e3157fd5bf68d0f5fdc125d6eff9d704e7
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This will allow moving the visible map area to a subregion
of the viewport, allowing to maintain the desired visible
region visible when overlaying controls on top of the map.
Task-number: QTBUG-68966
Change-Id: Idf4b30f7c1e4062e5e1c0ddc01a31bc856c0bc0c
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Call function templates with explicit type to force call using double
precision arguments even when qreal is defined as float.
Change-Id: Ida5004cdcba9b984a897e2eb7ae15044080d6adc
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
|\ \
| |/
| |
| | |
Change-Id: I749522d1f277159d4ee222c59b07044e954c3926
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
labs\qsg\qmappolylineobjectqsg.cpp(103): warning C4138: '*/' found outside of comment
labs\qsg\qmappolygonobjectqsg.cpp(81): warning C4138: '*/' found outside of comment
labs\qsg\qqsgmapobject.cpp(53): warning C4138: '*/' found outside of comment
Change-Id: I5c000dbd40e59af6504b52303bd4ae4a1b782dc9
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This way pages can be changed without resetting the model.
To achieve this, new members into QPlaceSearchRequestPrivate
are introduced, to keep the relationship between a request
for one page, and the previous or the next page.
In this way sparse population of the model becomes possible.
Change-Id: Ic8db0281408f3500ba83f78c7e152ee0b68cd099
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
In this way these transitions can now be customized
by the user.
Change-Id: I949d0caab65b0e71012bf77baee9c847c8f415a0
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
| |
| |
| |
| |
| |
| | |
Change-Id: I37fd81cfaf2599859581e2a359f87f15b772db98
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
|\ \
| |/
| |
| | |
Change-Id: I2a881d8b9d29539735071a2d76d774e629a5c8c0
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This property tells whether the Navigator should control the Map camera
to keep track of position source updates. This property is enabled by
default, and setting it to false is useful in cases where e.g. the user
starts gesturing over the map area.
Task-number: QTBUG-69031
Change-Id: I86157f69890f8cf0eb60d457d0f9c4134e2befb0
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-68086
Change-Id: Idce724314777f0edc0ffefcea6cc838757800067
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|/
|
|
|
|
|
| |
So that deep comparisons can be performed in QML too
Change-Id: I484644d4ddf3334c16321e5fc361504e9de105b2
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-68933
Change-Id: Ie7863b196363022c0bb7c1fa4f258c4700b5abb3
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
|
|
|
|
|
|
|
|
|
| |
Closing parenthesis was in the wrong place.
Change-Id: I41acade226f46ba830b3f44fe310d87f5d9bdd7c
Reviewed-by: Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>
Reviewed-by: Bruno de Oliveira Abinader <brunoabinader@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
| |
Perform deep comparison using the already implemented
QGeoRouteRequestPrivate::operator== if pointers aren't the same.
Change-Id: I03260596753677054283d8381108a67ed8999ff4
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QDeclarativeNavigator::setRoute takes a QDeclarativeGeoRoute.
This type is not COW, and could be destroyed by the user or the route
model.
This patch stores it inside a QPointer.
It also stores the contained QGeoRoute, that is what the navigation
engines are supposed to use to perform navigation, and is COW.
Task-number: QTBUG-68536
Change-Id: I73fb79faeb3ac9efefcbd778ee106d29fbf26658
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
| |
The return type should be Variant.
Change-Id: I78ecf4e0048d28c92e032b65c2fa2f7c75805177
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
| |
Asynchronous incubation caused messing up with internal index.
Task-number: QTBUG-68366
Change-Id: I9d9edbe42b7ace488c1a7f8728214ae1061caa26
Reviewed-by: Peter Staab <peter.staab76@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
| |
qdeclarativegeoroute_p.h(102): error #68: integer conversion resulted in a change of sign
void initSegments(unsigned int lastIndex = -1);
^
Change-Id: I052407b777ec43f78378fffd15311bd2bb1cdfdc
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
| |
Call delegateModel.cancel if the object is still incubating
Change-Id: Iee4af5530b6a00981280b9531cc3c1643db71d03
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
|
|
|
|
| |
Change-Id: I4c2712ce9acc4c5144b259a9f6b0f902ea6c5623
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-68121
Change-Id: Ica6bbd875777aa5689a683127937c594f4ff05f8
Reviewed-by: Thiago Marcos P. Santos <tmpsantos@gmail.com>
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
|
|
|
|
| |
Change-Id: I4bba86863bb902b26f493bd0104dbe87579de9e6
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When these objects get added to a map but aren't immediately visible
(meaning are outside the visible region entirely), their respective
QSGNodes will be marked as blocked.
However, this isn't handled gracefully in qsgbatchrenderer.
Renderer::nodeWasAdded discards nodes that are blocked.
Meaning that when they will become unblocked, the node will
result in being unallocated.
This patch makes sure that a node is not instantiated at all
if it would result in a blocked node.
Change-Id: I8e174ba1d317e1d0c4006d993ec558bdad8a5b39
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
| |
GL_LINES aren't used anymore. Remove the related note.
Task-number: QTBUG-63223
Change-Id: Ic309b3ad4626506151b20f69e5f11a3f1d7cc888
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
QtLocation: WARNING: qtlocation/src/location/qlocationglobal.h includes qlocation.h when it should include QtLocation/qlocation.h
QtLocation: WARNING: qtlocation/src/location/labs/qsg/qqsgmapobject_p.h does not have the "We mean it." warning
Amends 2782765e20ba3bc6af92375574456fd54d4243f7.
Change-Id: I6c225c8af70ebc5753b3b20aec1900efd1bc2c5c
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
|\
| |
| |
| | |
Change-Id: I0bb00d16c891856cfbe1042ce166bbd156e9f41b
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
qobject_cast ing to QGeoServiceProviderFactory when the instance is a
QGeoServiceProviderFactoryV2 returns 0.
Use factoryV2 in this case.
Task-number: QTBUG-68062
Change-Id: Ibed1902749b6d06c905d309514c3750e75b75626
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Reviewed-by: Bruno de Oliveira Abinader <brunoabinader@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QDeclarativeNavigator should call QNavigatorManager::start() inside
QDeclarativeNavigator::start(), however because we were already updating
m_active in QDeclarativeNavigator::setActive(), the call for
QNavigationManager::start() never happens.
Task-number: QTBUG-68066
Change-Id: I486381fdec7fc77ac977ee46683fabd2465cf799
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| |
| |
| |
| |
| |
| | |
Change-Id: Id80bf6b1919f0c6d6f96a315289f67ddad220f2f
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
setVisible was neither changing the visibility nor
triggering repaint.
Pimpls weren't removing themselves in their destructors when
dynamically added/removed via QGeoMapObjectView
add/removeMapObject.
This patch also factors out the duplicated QGeoMapObject support
from QGeoTiledMapLabs and QGeoMapObjectsOverlay and moves it
into an own class, QGeoMapObjectQSGSupport.
To properly flush the scene graph nodes upon object removal,
a pointer to the QSGNode is added to the MapObject struct,
now moved inside QGeoMapObjectQSGSupport.
Change-Id: Ie8c6d54f8f340ba3867717d9620791d3fe8021cc
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
The whole type got introduced only in 5.11.
Change-Id: I4368c95dc6c0d39da0088e0aed6b72d3b34c2bc9
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: Ie7493cbb33e656c270ef522fa26460461215e145
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
| |\
| | |
| | |
| | | |
Change-Id: I93bd8e6bdd86795e5a52a9fc6e65fd3f0b9fc6ba
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I846f00703b2c6c173e445bf053a92098626db8e2
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I5c3e45a5d44f3f7f5c3ecda6823035aae07ae825
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This fixes error: unused variable 'kClipperScaleFactorInv' in dev on
macOS.
Change-Id: I37dda7aca1c20797b2aede291a425fd327670655
Reviewed-by: Liang Qi <liang.qi@qt.io>
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| | |
This patch does not include a fix for the degenerated cases:
- circle including one pole
- circle including both poles
Change-Id: I78d9a29bf1071ab3b3405179f34f42a71c0a79a5
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
The geometry now considers the line width, so that, when enabling
layers, the item won't be incorrectly clipped at the borders.
Change-Id: I14578adb2fc393983a3c1be901241d78949c9dde
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
QTriangulatingStroker does apparently not use the clip argument, so
the patch removes the code that calculates it.
Change-Id: I14eeb2e7aac38e3f066d4d33c68ceae63555944d
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch makes QGeoMapItemGeometry::contains virtual, and overrides
it in QGeoMapPolylineGeometry, so that it can be used in items
that have QGeoMapPolylineGeometry for borders.
This patch fixes the issue of map polygons not being interactive
on their borders.
Task-number: QTBUG-67765
Change-Id: I7c571e57b9f1d26203f3e5857d47e85380281b28
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|/
|
|
|
|
|
| |
Regression introduced in f0bc0db15ed262a8f31bb07b3b46a5cdf9277e79
Change-Id: I4c4a3cb2302daeb825be21f9e2f6c235d2cb7c93
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|
|
|
|
|
|
|
| |
This patch fixes a regression introduced with commit
f0bc0db15ed262a8f31bb07b3b46a5cdf9277e79
Change-Id: Ie974b7a95d8ecd5f6affafc070848d289f7afa06
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
| |
Change-Id: I4e48d8e8b5c75bec620e7bdab3666a2f5c4e357e
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
| |
This to adjust for potentially large item borders, whose extent
is not considered when clipping the item itself.
Change-Id: I9ec11fbc8ce48870608378e7618721899bc0b4dc
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
| |
Add the missing CONSTANT to the border property.
Change-Id: Id70335511716e798247c0dfcb6dd4653e99af2c2
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Prepend module name, which is required for generating
Qt for Python bindinds.
Task-number: PYSIDE-487
Change-Id: I84614bae08efa74393c4048bc16196eb730f0e6b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/location/declarativemaps/qgeomapobject.cpp
src/location/declarativemaps/qgeomapobject_p_p.h
src/plugins/geoservices/itemsoverlay/qgeomapitemsoverlay.h
Change-Id: Iab847e16011b2095d307e2a3610bf9157ae7b92d
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since QDeclarativeNavigatorPrivate is what gets passed to the engine,
a QParameterizableObject *q becomes necessary in order to extract
and connect the QGeoMapParameters in the engines.
Change-Id: Id4a8a99f2287faab9c7e67e5355e9c90c33eaa8f
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch introduces a reference implementation for
the QGeoMapObject subclasses in the locationlabs module.
If this module is built, all current plugins, with
the exception of mapboxgl, will also be able to render
map objects.
The current reference implementation of map objects
is not optimized, but it can be useful for both testing
and feature parity (so that switching between plugins
will give the same result).
Change-Id: I830ebb3813f219e42c085f450952a2b4327361cd
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|