Commit Graph

24 Commits

Author SHA1 Message Date
Thiago Marcos P. Santos
b8564299e5 [Qt] Simplify setTransitionOptions 2017-01-03 16:52:24 -02:00
Bruno de Oliveira Abinader
11281d15e9 [qt] Use QOpenGLWidget instead of QGLWidget from Qt 5.4 onwards 2016-11-28 18:18:42 +02:00
Bruno de Oliveira Abinader
bc48cb777b [qt] Defer MapWindow's QMapboxGL init to initializeGL() 2016-11-28 18:18:42 +02:00
Bruno de Oliveira Abinader
b81255e5da [qt, macos] Consume GL_INVALID_OPERATION from Qt 2016-11-28 18:18:42 +02:00
Konstantin Käfer
a4d259c33f [core] move gl::Context to Backend and refactor View 2016-10-25 13:52:36 -07:00
Bruno de Oliveira Abinader
cff5360280 [qt] Fix macOS Qt demo app with Qt4.x 2016-10-24 21:38:12 +03:00
Thiago Marcos P. Santos
a03e6c14b6 [Qt] Add a more compelling runtime style example 2016-09-23 16:43:37 +03:00
Thiago Marcos P. Santos
8f965b2c25 [Qt] Add map pitch support on the example app 2016-09-23 16:43:37 +03:00
Bruno de Oliveira Abinader
d5679b07be [qt] Initial style from MAPBOX_STYLE_URL if set 2016-09-22 15:23:43 +03:00
Bruno de Oliveira Abinader
fdd114d275 [qt] Separate transition options accessors from class API 2016-09-13 13:00:24 +03:00
Thiago Marcos P. Santos
9605cac3e9 [Qt] setStyleURL and setStyleJSON name review
Qt uses URL as Url and JSON as Json.
2016-08-26 15:52:16 +03:00
Thiago Marcos P. Santos
462137a536 [Qt] Bind 'L' on the example app to runtime style example 2016-07-11 17:01:32 +03:00
Bruno de Oliveira Abinader
760a692378 [Qt] Added QMapbox::TransitionOptions to style class functions 2016-06-20 13:01:59 +03:00
Bruno de Oliveira Abinader
26a425fa6d [Qt] QMapboxGLPrivate::getPixelRatio() cleanup 2016-05-26 17:52:34 +03:00
Bruno de Oliveira Abinader
64064088af [Qt] Cycle debug options in Qt example app 2016-05-24 19:58:24 +03:00
Bruno de Oliveira Abinader
c1dde52c73 [Qt] Fix map aspect ratio
Take QGuiApplication::devicePixelRatio() in consideration when resizing
the map.

Fixes #4889.
2016-05-13 17:29:36 +03:00
Bruno de Oliveira Abinader
d36111abed [Qt] Initialize GL extensions on MapWindow
QMapboxGL relies on its embedding widget to call for the GL extensions
initialization function.

Fixes #5024.
2016-05-13 13:28:49 +03:00
Thiago Marcos P. Santos
a02686447a [Qt] Set the test application icon
The super cool Mapbox logo.
2016-05-02 16:06:41 +03:00
Thiago Marcos P. Santos
d00f55de41 [Qt] Do not use non-Qt headers 2016-04-25 15:00:14 +03:00
Thiago Marcos P. Santos
19e1129367 [Qt] Add the QMapbox header with QMapbox datatypes 2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
f83b8d8ea4 [Qt] Do not use Mapbox GL animations
Let animations to QPropertyAnimation so it can sync with other
Qt animations and let the user define the easing curve Qt-style.
2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
cb52a78542 [Qt] Define the viewport size before rendering 2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
b9bbe68fe0 [Qt] Introduce --test
Run a simple test and print some stats.
2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
7a44b95627 [Qt] Add a Qt app example
Should build and run with `make run-qt`

Signed-off-by: Bruno Abinader <bruno@mapbox.com>
Signed-off-by: Thiago Marcos P. Santos <thiago@mapbox.com>
2016-04-20 20:55:51 +03:00