summaryrefslogtreecommitdiff
path: root/navit/gui
Commit message (Collapse)AuthorAgeFilesLines
* fix:gtk:Initialize Follow menu entry correctly. (#390)Charles Curley2018-01-081-0/+4
| | | | | | This should fix http://trac.navit-project.org/ticket/1357 I tested for follow_vehicle set to zero and one, and absent. modified: navit/gui/gtk/gui_gtk_action.c
* fix:gtk:Fix imperial factors. (#380)Charles Curley2017-12-021-1/+1
| | | | | Another go at fixing imperial measures. This is ready for testing on a different machine, but not for a pull request. Also, some improvements in some comments.
* fix:gtk:Fix imperial factors (#367)Charles Curley2017-11-111-2/+2
| | | | | | | | | | | | | * Use correct conversion factors for a more accurate display. Also, introduced some new conversion factors in navigation.h. modified: navit/gui/gtk/gui_gtk_statusbar.c modified: navit/navigation.h modified: navit/navit.c * Use the conversion factor #define instead of a hard coded value. modified: navit/vehicle/gpsd/vehicle_gpsd.c
* fix:doc:improved follow vehicle toggle doc function for GTK (#363)Charles Curley2017-11-031-2/+2
|
* add:gtk:add menu entry to toggle vehicle tracking (#362)Charles Curley2017-11-031-0/+23
|
* fix:gtk:fixed missing imperial units in the GTK ui. (#359)roadbook.imperial.fixCharles Curley2017-10-311-5/+23
|
* 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
* Fix:core:Fix warnings from -Wmissing-prototypesSebastian Leske2017-09-221-1/+1
|
* Moved xpm to icons (#307)jkoan2017-08-252-5/+5
|
* Fixes displaying the heightline route info (#294)Pierre GRANDIN2017-08-231-6/+6
| | | | | | | | | | | | * Fixes displaying the heightline route info * Use cached copy for libpng / tomtom (#276) * Update build_tomtom_plugin.sh * Update build_tomtom_minimal.sh * Renamed the Links to fit navit repo
* Fix:gui_internal:Add missing types to POI filter bus&train.Sebastian Leske2017-06-161-1/+1
|
* 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:gui_internal:New POI filter for bus&train.Sebastian Leske2017-05-121-0/+3
| | | | | | New filter entry "Bus&Train" for the POI menu of the internal GUI, to show only bus stops and train stations. Useful for finding nearby public transport options.
* 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.
* Fix: Don't crash if LANG environment not set (#232)R7447Stefan Wildemann2017-05-031-0/+4
| | | | Since getenv may return NULL if a variable is not set, current keyboard code crashes if LANG environment is not set.
* Add network info menu in gui/internal for Linux (#228)Pierre GRANDIN2017-04-291-1/+59
| | | | | | | | | | * Add network info menu in gui/internal for Linux * Ensures that ifaddrs.h is available before enabling network info code * Add network info to sailfish config as well * Prevent linker and undefined reference errors for non-unix builds
* keep active vehicle profile when deactivating vehicle (#217)R7393mcapdeville2017-04-191-4/+13
| | | | | | | | | | | | | | | | | | | | When deactivating vehicle, profile is choosen from "car" vehicle_profile or by default the first vehicle_profile in list. So, by example, car_avoid_tolls never work when manually selecting current position (and deactivate vehicle). Now, if there is a selected vehicle profile, we keep it as vehicle_profile (not changing it). Aditionnaly, in internal gui, selecting a vehicle profile when wehicle is deactivated, in gui_internal_cmd_set_active_profile(), call navit_set_vehicleprofile_name() with new vehicle_profile (by name) before setting vehicle_attr to NULL (like in gui_internal_cmd_set_position()). Now, we can switch profile when vehicle is deactivatied and route is update correctly. TO DO : Same in other gui TO TEST : with more than one vehicle enable
* Fix:gui_internal:Rename new option to hide_impossible_next_keysR7360Sebastian Leske2017-03-031-1/+1
|
* Hide impossible keys at the internal keyboard instead of highlighting the ↵R7358Robert Pohlink2017-03-025-13/+73
| | | | | | | | | | | | | | | | | | | | possible ones (leftover from PR5) (#210) * Add:gui_internal:In search, hide on-screen keys which will not find a result. During incremental search in the search dialog, hide keys on the on-screen keyboard which will not lead to any search result. Before, keys where highlighted if they would lead to a result. * Remap special characters in Search to standard characters to enable useful hide-key-functionality * Fix highlight (hide) possible next keys for search internal Now only shows possible keys, not the nth key of the searched item. Takes care of umlauts. * Add a switch attr for gui internal to decide to use hide_keys or the old highlight key behaviour usage: add the attr 'hide_next_possible_keys="1"' to <gui type="internal" [...] />
* Merge branch 'trunk' into trac/1341trac/1341Pierre Grandin2016-12-0114-117/+356
|\ | | | | | | | | | | | | Conflicts: navit/Makefile.am navit/xpm/Makefile.am po/Makefile.am
| * Refactor:core:For plugins, use term 'category' instead of 'type'.Sebastian Leske2016-10-314-4/+4
| | | | | | | | | | | | | | Use the term 'category' for all plugins with the same API (GUI plugins, map plugins etc.). This used to be called 'type', which was confusing, because in the XML config, 'type' refers to what is called 'name' in the code.
| * gui_internal: free heightlines and diagram_pointsR6785jandegr2016-09-161-3/+24
| |
| * gui_internal_heightprofilejandegr2016-09-051-5/+10
| | | | | | show a notification in heightprofile when no map is found providing heightlines
| * update docjandegr2016-09-041-4/+0
| |
| * gui_internal: fix occasional crash of heightprofilejandegr2016-09-041-21/+12
| |
| * Update gui_internal_command.cjandegr2016-09-011-0/+1
| |
| * gui internal : some more heightprofile fixesjandegr2016-09-011-25/+45
| |
| * CI triggerjandegr2016-08-301-1/+0
| |
| * gui_internal : fix heightprofilejandegr2016-08-301-9/+16
| |
| * Revert "Fix:gui_internal:Hide native keyboard when displaying POI search ↵R6702Michael Dankov2016-07-101-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | results" This reverts commit 53b333a617146bc304063f8ddd0dfe2927bb6064. That commit made POI filtering behave unexpectedly, returning empty result sets sometimes. I was able to reproduce it on x64 linux in following way: start POI filtering, then press "POIs" on the top to return to POI list, then press looking glass to start POI filter once again. I was unable to get non-empty results on my Android device. It also has introduced some valgrind warnings about accessing an already freed location after query text is entered and actual search is fired. Hope @mvglasow will take a closer look on this issue.
| * fix:gui_internal:Properly switch keyboard to lower/uppercaseR6698Michael Dankov2016-07-103-17/+36
| | | | | | | | | | | | Do the automatic switch in gui_internal_keypress_do instead of gui_internal_search_changed so that other text input widgets would benefit, e.g. poi search.
| * Fix:gui_internal:Fix Cyrillic caps switch buttonR6695Michael Dankov2016-07-101-1/+1
| |
| * Fix:gui_internal:Repair "Set distance to"/"Get more" menu items. Fixes #1342.Sebastian Leske2016-05-313-6/+12
| | | | | | | | | | | | | | | | | | During table rendering, do not disable off-screen table entries by toggling STATE_SENSITIVE. Doing so breaks the menu items "Set distance to"/ "Get more"; these must never be STATE_SENSITIVE, since their sub-widgets should receive clicks. Instead, use STATE_OFFSCREEN to mark off-screen entries and skip them during traversal with a rotary encoder.
| * Refactor:gui_internal:Remove out-ifdefed code and unused widget states.Sebastian Leske2016-05-313-17/+15
| |
| * Refactor:gui_internal:Code cleanup.Sebastian Leske2016-05-311-4/+3
| |
| * Fix:gui_internal:Hide native keyboard when displaying POI search resultsmvglasow2016-02-241-0/+4
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
| * Fix:gui_internal:Make native keyboard compatible with changes after R6421mvglasow2016-02-242-0/+9
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
| * Add:gui_internal:Support mode for native virtual keyboardmvglasow2016-02-241-0/+1
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
| * Fix:gui_internal:Further native keyboard refinementsmvglasow2016-02-241-23/+14
| | | | | | | | | | | | | | | | | | | | Allow graphics plugin to specify size occupied by keyboard Create placeholder for Android keyboard Show Android keyboard in landscape mode Skip keyboard logic if hardware keyboard is present on Android Add some documentation and comments Signed-off-by: mvglasow <michael -at- vonglasow.com>
| * Add:gui_internal:Rudimentary native on-screen keyboard implementationmvglasow2016-02-248-5/+126
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
| * Fix:gui_internal:Correctly handle fullscreen toggle on Android API 17+mvglasow2016-02-021-0/+6
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
| * Add:gui_internal:Use padding if supported by graphics drivermvglasow2016-02-021-6/+40
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
| * Refactor:gui_internal:Determine menu widget size based on parent sizemvglasow2016-02-021-6/+6
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
| * Refactor:gui_internal:Document gui_internal_menu.cR6550mvglasow2016-01-241-0/+15
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Removing autotools supportPierre GRANDIN2015-12-317-63/+0
|/
* Fix:gui_internal:Correct keyboard highlighting in search.R6427Sebastian Leske2015-12-191-5/+9
| | | | | | During search, clear the list of possible keys when the search input changes. Otherwise too many keys are highlighted if search input is changed while the search is still running.
* Refactor:gui_internal:Better variable names, some docs.R6424Sebastian Leske2015-12-172-30/+39
|
* Refactor:gui_internal:Remove dead or redundant code.Sebastian Leske2015-12-174-26/+2
|
* Fix:gui_internal:Simplify and fix gui_internal_keynav_find_prev.Sebastian Leske2015-12-171-19/+17
| | | | | | Simplify gui_internal_keynav_find_prev, and fix small bug: In the search menu, if the Prev/Next buttons are visible and the keyboard is hidden, going backwards with PgUp skips some widgets.