summaryrefslogtreecommitdiff
path: root/navit/gui/qt5_qml/backend.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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-301-3/+3
| | | | | | | | | | | 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: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?
* cleanup:global:Use astyle to reformat everythingJoseph Herlant2018-05-251-370/+361
|
* Fix:debug:Change line separators for dbg to work also on win* platform (#546)Joseph Herlant2018-04-261-29/+29
| | | | | | | | * 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-041-17/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-041-100/+428
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-151-0/+135
* 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