| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
There is a "misconception" in qt5 graphics about how to draw transparent stuff causing transparent items on the map to not correctly work. This PR changes qt5 graphics to force-clear overlays on starting to draw them instead of force clearing the shape of a transparent item. While this imposes the limitation that the content of an overlay cannot be drawn in multiple runs, it allows to draw transparent stuff on the map.
Luckily I don't know of any overlay item yet that is not drawn in one run. So this seems to work OK.
|
| |
|
|
|
|
|
| |
This commit adds calculating a scaling factor out of the virtual_dpi assumed when the layout was created, and the real_dpi value of the hardware. It is activated if "virtual_dpi" tag is set into the "graphics" tag on navit.xml.
Currently only qt5 graphics implment returning the hardware dpi. But this can be simulated and overwritten by setting "real_dpi" tag to "graphics" tag on navit.xm on all available graphics.l
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove unnecessary moc includes.
This commit removes moc file includes for some classes which do not
define new qt classes. This caused a long standing warning which seems
to be treated as error on some setups.
* Make (in)sanity check happy.
Here you got your bloody spaces. Uber picky, isn't it?
* Remove QAudio::interruptedState again
Sailfish version of QT doesn't feature this yet.
|
| |
|
| |
|
|
|
|
| |
Only disable "all" overlays, if root pane got disabled.
|
|
|
|
|
|
| |
Use astyle --indent=spaces=4 --style=attach -n --max-code-length=120 -xf -xh
to obey styling rules. Btw. a big hurdle for newbies to just fix !one
line" if one needs to restyle a whole module for ci...
|
|
|
|
|
| |
Sometimes it happeenes that resize is called, but the new size equals
the old one. This change keeps the contents intact if that happens.
|
|
|
|
|
|
| |
This commit keeps the internal pixmap of an overlay intact if resize is
called for the overlay, but the actual size was not changed. This keeps
icons and so on intact as they are not repainted after resize.
|
|
|
|
|
|
|
|
| |
declaration (#605)
* Cleanup:global:force the re-attach the return type to the function declaration
* cleanup:global:some loose ends
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* Fix:debug:Change line separators for dbg to work also on win* platform
* Fix:debug:Break multiline dbg statements to use the new model
* Fix:debug:Move the EOL into debug_vprintf
|
|
|
|
|
|
| |
* Fix:add missing watchEvent slot implementation
* Fix:add missing watchEvent slot implementation
|
|
|
|
| |
Now cursor is drawn right with qml and qwidgets
|
| |
|
|
|
|
|
|
| |
Welcome to Qt5 compatibility hell. Seems like the
Screen.orientationUpdateMask property is only valid from Qt5.4 and
beyond. To make this compatible down to Qt5.2, i introduce a QML
JavaScript workaround/hack.
|
|
|
|
|
| |
Now the QML qt5 graphics happily rotates according to screen
orientation. At least on Sailfish. Should do on other QML hardware as
well. Hard to test, as PC's usually don't have screen rotation support.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix: Have nice font shadow as freetype has
If using QT font rendering, a white (or black) outline as if rendered
with freetype is shown.
* qt5: Port font guessing and matrix transformation
Select font using the same algorithm than in freetype.
Transform font using the same matrix than in freetype.
* Sailfish: switch to QT font rendering
* Fix: remove SubPxelAntiAliasing hint,
Sailfish's QT version is too old for this
* Fix: fix bbox calculation for qt5 fonts
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Initial parts of qt5 qml graphics based on graphics/qt5_qml
* Qt5 QML gui: working handover
The hand over of the QML engine between the graphics and the gui part is
working now. The gui can load it's own QML component and embed the navit
widget inside other QML code.
* Remove unneeded moc include
* Fix: Apply coding style
* Fix:extern "C" the navit includes in graphics qt5
Seems the navit includes are not fully "c++" aware, so extern "C" them in the
c++ parts.
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix: Enable keyboard on graphics_qt5:QML
* Fix: Enable keyboard on graphics_qt5:QWidget
* Fix: register the QML RRC.
To not let the resources be optimized out if you compile navit without
modules, they need to be registered on module init.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Qt5: Add navit callbacks to private
Add navit callbacks to private data, to prepare qt5 graphics
transition to QML 2.0 instead of QWidget.
* Qt5: use only one widget
Refactor qt5 code to use only one widget. Overlays won't have their own
widgets anymore. This is in peparation for converting qt4 graphics to
QML 2.0
* initial addition of QML to qt5 graphics.
* Add first (bogus) qml file.
This commit adds the qml file for the qt5 qml graphics if used with
internal gui. And it alters the cmake scripts to istall it.
* Add inital Quick component
Now this has it's own c++ Quick component included. Additionally the
qml file gets embedded into the plugin.
* Small cleanup, qml package name correction.
* Convert to QGuiApplication to remove QWidget dep.
* First time working QQuick Navit
* Lower qml import versions, as sailfish uses old ones.
* Add header to QtQuick item.
* Add new attr qt5_widget to qt5
* Add qt5 variants to test
* Correct mistake in running test for qt5
* Fix: Tomtom libpng version bump to 1.6.29
The libpng version 1.6.28 was removed from
ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng16/
* Fix: Make window as big as possible if w and h are not given
* Fix navit config for run_linux_test, complete test separation.
* Fix xdotools use separatelog dir
* Fix: correct mess generated with last commit
* Convert from CMAKE_AUTORRC to old macros
We want to support old cmake, that doesn't have AUTORRC
* Fix: Add qml modules to build in order to allow QML graphics to run
* Fix: Use trusty packages instead.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
60bc2797f0bd71d87a4eece306e2368afe2a8866
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|