summaryrefslogtreecommitdiff
path: root/navit/gui/qt5_qml
Commit message (Collapse)AuthorAgeFilesLines
* Fix:gui:qt5_qml: Fix -Wunused-variable for proxy.cBastian Koppelmann2022-08-301-1/+0
| | | | | | | | This fixes the warning: proxy.c:35:52: warning: unused variable ‘img’ [-Wunused-variable] 35 | struct graphics_image *img; |
* Fix:gui/qt5_qml: Fix -WreorderBastian Koppelmann2022-08-302-2/+2
| | | | | | | | | member variables ought to be initialized in the same order as they are declared. This fixes the warning: qml_poi.h:47:13: warning: ‘PoiObject::m_icon’ will be initialized after [-Wreorder] 47 | QString m_icon; | ^~~~~~
* Fix:gui:qt5_qml: Fix -Wunused-variableBastian Koppelmann2022-08-301-6/+1
| | | | | | | | this fixes the warnings: backend.cpp:176:25: warning: unused variable ‘nav’ [-Wunused-variable] 176 | struct navigation * nav = NULL; | ^~~
* Fix:gui:qt5_qml: Fix -Wwrite-strings warningBastian Koppelmann2022-08-302-7/+7
| | | | | | | | | | | We assign string constants to a char* which will lead to an error if anyone tries to write that pointer, as constant data is mapped read-only. This patch makes these const char* pointers. Fixes the warning: backend.cpp:588:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 588 | _current_street = "Enter Street"; | ^~~~~~~~~~~~~~
* fix:gui:qt5_qml: Fix -Wmissing-prototype warningBastian Koppelmann2022-08-301-0/+1
| | | | | | | get_icon() was declared in proxy.h, which we never included. This fixes: proxy.c:34:52: warning: unused variable ‘img’ [-Wunused-variable] 34 | struct graphics_image *img;
* fix:sailfish:enable sandboxing for sailfish OS. (#1182)Stefan Wildemann2022-05-233-3/+3
| | | | | | | | | | | | | | | * FIX:graphics:qt5 switch path of navit qml to org.navitproject Android uses org/navitproject/navit so do we on qt5 now * FEATURE:core: allow to configure linux home config dir * FIX:sailfish: configure to enable sailjail * CI: remove docker install step from sailfish * SAILFISH: bump release version to .2 * fix:sailfish: add Audio perrmission for espeak
* change:core:Remove unused argument from attr_searchjkoan2020-08-081-1/+1
|
* fix:all:fix compiler warnings (#935)Stefan Wildemann2019-10-291-3/+3
| | | * fix:core:remove many compiler warnings from core
* cleanup:qt:Whitespaces and blank lines cleanup according to cpplint (#930)Joseph Herlant2019-10-291-2/+0
| | | | | | | | | | | | * cleanup:qt:Whitespaces and blank lines cleanup according to cpplint * More blank lines * Yet another one [skip-ci] * Another few fixes * Weird use case. Do we need this protected declaration?
* Merging PR #724: Updating Navit logo according to proposal in issue #436lains2019-09-182-670/+118
| | | | | | | | * Updating navit logo for QT * Adding navit icon to GTK GUI's windows, using the black and white version of the icon in GTK GUI for better readability * Fixing memory leak in GTK geticon() * Adding source svg for all variations of the logo (integrating to the repo, the svg logo catalog that was last posted in #436 (https://github.com/navit-gps/navit/issues/436#issuecomment-450587935) Credits for logo design: redmusic27 and zintor
* Cleanup:global:force the re-attach the return type to the function ↵Joseph Herlant2018-05-301-16/+9
| | | | | | | | declaration (#605) * Cleanup:global:force the re-attach the return type to the function declaration * cleanup:global:some loose ends
* cleanup:cmake:remove trailing spacesJoseph Herlant2018-05-254-8/+8
|
* cleanup:global:Use astyle to reformat everythingJoseph Herlant2018-05-259-472/+413
|
* cleanup:general:Declaring war to control-MJoseph Herlant2018-05-0132-32/+32
|
* Fix:debug:Change line separators for dbg to work also on win* platform (#546)Joseph Herlant2018-04-262-44/+44
| | | | | | | | * 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
* Update:QML2:Various updates on the QML2 UI (#316)Pierre GRANDIN2017-10-0420-89/+697
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adding qt5/qml2 UI proof of concept * Code cleanup * Minor cleanup * Apply coding style by clang-format -style=WebKit For better diff tracking, I applied coding style once more. * Removed useless QtQuick.Controls dependency * QML2 : Minor work around POIs * QML2 : Use real POIs icons * More minor work around POIs. This commit adds a draft of POI display, and the possibility to set a POI as destination. Also sets the current position to wherever we clicked on the map, to simulate routing using the Demo vehicle * Renamed default skin to 'modern' This will allow us to easily create other skins and make the skin to load configurable * Added town search capability * Resize the QNavitQuick object when exiting the menu * Minor work on the qml2 gui * Implemented street search * Disabled virtual keyboard until it's ready * More modular default country code * Block draw operations when displaying the menu * Removed useless QML ressources * Prevents a segfault on country/town/street selection * Prevents segfault when changing country * Added bookmarks listing * Added basic vehicles and bookmarks menu * Removed useless QDebug * Removed useless QDebug * Added bookmarks list as a destination * Code cleanup * Switching to a reusable result list * Added basic vehicles and bookmarks menu * Added a basic bookmark QObject * Added basic vehicles and bookmarks menu * Added basic vehicles and bookmarks menu * Code cleanup * Use update path for icons assets
* Moved xpm to icons (#307)jkoan2017-08-251-4/+4
|
* Qt5 qml gui - POC update (#263)R7602Pierre GRANDIN2017-06-0447-199/+2091
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adding qt5/qml2 UI proof of concept * Code cleanup * Minor cleanup * Apply coding style by clang-format -style=WebKit For better diff tracking, I applied coding style once more. * Removed useless QtQuick.Controls dependency * QML2 : Minor work around POIs * QML2 : Use real POIs icons * More minor work around POIs. This commit adds a draft of POI display, and the possibility to set a POI as destination. Also sets the current position to wherever we clicked on the map, to simulate routing using the Demo vehicle * Renamed default skin to 'modern' This will allow us to easily create other skins and make the skin to load configurable * Added town search capability * Resize the QNavitQuick object when exiting the menu * Minor work on the qml2 gui * Implemented street search * Disabled virtual keyboard until it's ready * More modular default country code * Block draw operations when displaying the menu * Removed useless QML ressources
* QT5/qml2 UI proof of concept (#254)R7551Pierre GRANDIN2017-05-1539-13/+1539
| | | | | | | | | | | | | | * Adding qt5/qml2 UI proof of concept * Code cleanup * Minor cleanup * Apply coding style by clang-format -style=WebKit For better diff tracking, I applied coding style once more. * Removed useless QtQuick.Controls dependency
* Add Qt5 qml gui skeleton (#236)R7461Stefan Wildemann2017-05-044-0/+289
* 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.