summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
...
* Cleanup unneeded filesDominik Holland2018-02-071-77/+0
| | | | | Change-Id: I582e8c4c9aa137c6497594433ab751cd961d05f4 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* doc: Improve the ivigenerator exampleDominik Holland2018-01-184-192/+0
| | | | | | | | | Add better step by step explanations. Make sure also the qface and yaml files are listed in the example Removed the copright headers from the project files Change-Id: I7f7480809efa52fae63a93a8724f86548fa160f6 Reviewed-by: Antti Hölttä <ahoelttae@luxoft.com>
* Update all Pelagicore copyright headers to 2018Dominik Holland2018-01-1617-17/+17
| | | | | Change-Id: I408c855d9619e20f481a592dc1f514b90af642f9 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Document how a missing ivigenerator can be handled in user project filesDominik Holland2018-01-112-0/+6
| | | | | Change-Id: I602e0202457533cc9e6cfa8706577e1e951340e0 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Improve the build system to be more modularDominik Holland2017-11-091-1/+1
| | | | | | | | | | | | | | | | | The configure output is improved to now show whether a specific module is build or not. Either by showing the summary of features which are build for this module, or by hiding the section and Showing "Module... No" Dependencies between the modules have been added to the configure system to make it possible to disable specific modules and by that also disable all the modules depending on that. The build system has been changed to enable building only the modules which has been selected to be build. Change-Id: Ic70f23c159eee3fe7ce6c63aa6f785c8b754ce31 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Change the examples folder structure to match the module namingDominik Holland2017-11-0336-11/+11
| | | | | | | | | core -> ivicore media -> ivimedia vehiclefunctions -> ivivehiclefunctions Change-Id: Icd8d7c45f2dbf0e18de1eea775398b45f8ff78f8 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* change the targetTemperature from int -> realLukáš Tinkl2017-08-171-2/+2
| | | | | | | | | rationale: neptune-ui always allowed for fractional temperatures but due to a bug this has never really worked properly Change-Id: If2833463644cfb4cee97f74c5e7ae308c943b92d Reviewed-by: Nedim Hadzic <nedim.hadzic@pelagicore.com> Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Update the example to use a uppercase module nameDominik Holland2017-07-272-16/+16
| | | | | | | Otherwise the module class name is lowercase. Change-Id: Ic3c5f5afc3899373e32e78cd12966ee87545ac73 Reviewed-by: Mike Krus <mike.krus@kdab.com>
* Fix all vehiclefunctions examples to use the new APIDominik Holland2017-07-275-142/+63
| | | | | Change-Id: I2446ac002f509646a5736f3a2c40150fc572a448 Reviewed-by: Mike Krus <mike.krus@kdab.com>
* Change the QIviVehicleFunctions module to be autogeneratedDominik Holland2017-07-271-1/+1
| | | | | | | | | Disable the vehiclefunctions tests and examples until they are ported to the new API. Task-number: QTAUTO-297 Change-Id: Ief94dadfe60efa0afbbc73400450382db5a99004 Reviewed-by: Mike Krus <mike.krus@kdab.com>
* Fix the qface-ivi-climate exampleDominik Holland2017-07-171-1/+1
| | | | | | | The QML component was renamed to UiClimateControl some time ago Change-Id: I647c5eecc8294587a98115e06164d98c5f67e024 Reviewed-by: Mike Krus <mike.krus@kdab.com>
* Use the new configure system for detecting python3 and the packagesDominik Holland2017-07-041-1/+3
| | | | | | | | | | | | | | The python3 excutable and the version checking is now done in a special test function inside configure.pri. For python3 packages a separate test function has been written, which checks whether the requested packages are installed. The configuration summary prints the used python executable as well as its version. Task-number: QTAUTO-458 Change-Id: I1280ba0acaf3393dcb83132aaa19572a75d97d22 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fix example qface file to work also on fedoraDominik Holland2017-06-201-1/+1
| | | | | | | On fedora PyYAML reports the missing space as an error Change-Id: I3723d71aff0a2a4e3ed6fb90b521de1aee6a3118 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Make the qface-ivi-climate example work on all platformsDominik Holland2017-06-144-6/+10
| | | | | | Task-number: QTAUTO-469 Change-Id: Ifecdd99064e4a068973d0c5f17c1547f398384be Reviewed-by: Mike Krus <mike.krus@kdab.com>
* Provide a way to specify interface alias name used from QMLVadim Popov2017-06-131-1/+1
| | | | | | | | | | For the IDL to be able to specify the name of the class under which it should be available from QML, there has been added a new annotation named "qml_type" Task-number: QTAUTO-291 Change-Id: Ia9d8beeffa8284b041b4dc095e00e9485ba300fd Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Fix the qface-ivi-climate example to work out of the boxDominik Holland2017-06-093-2/+8
| | | | | | | | The backend plugin needs to be named correctly and placed into a qtivi folder. Change-Id: Ib1469d2dadc138fd454ae9e9db00c47c683b71ee Reviewed-by: Mike Krus <mike.krus@kdab.com>
* Change the qface-ivi-climate example to use the ivigenerator qmake integrationDominik Holland2017-05-2912-9/+21
| | | | | | | | Moved the example into a core folder to indicate that this is part of the qtivi core module and keep the structure of the other examples. Change-Id: Ief69e0446125f5dc975d15ebeba746c69820b7c8 Reviewed-by: Mike Krus <mike.krus@kdab.com>
* Move the existing qface integration into it's new homeDominik Holland2017-05-241-1/+1
| | | | | | | It is now called ivigenerator and part of the tools folder Change-Id: If68b3ad04d4db98bb971f557bd5afdab5c56c556 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add support for specify ranges and valid valuesMike Krus2017-05-192-16/+22
| | | | | | | | | | | | Add range, minimum, maximum, domain to the @config_simulator tag. Renamed default_value tag to default (for consistency). Add default_system_value to specify the default for a type (0, false, "") Updated documentation Change-Id: If997488ccbbe228e6082385e137fe1d826b7923a Reviewed-by: Vadim Popov <vadim.popov@pelagicore.com> Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Add documentation to generated front end codeMike Krus2017-05-021-5/+8
| | | | | | | | | | Also using formating macro to produce the output. Unfortunately doesn't appear to be a way to share template files between folders. Task-number: QTAUTO-339 Change-Id: I3d150475a4c4ba20afe2d0e18fd1af05820a1281 Reviewed-by: Vadim Popov <vadim.popov@pelagicore.com>
* Sample qface based projectMike Krus2017-04-2810-0/+708
| | | | | Change-Id: I61567acb3d3be81e175a3a0af50fc04ebedac0e6 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* C++11 cleanupDominik Holland2017-04-052-2/+2
| | | | | | | Task-number: QTAUTO-322 Change-Id: I80accb5e7a5996c9b7b1a3baeb4cfbb93703a622 Reviewed-by: Vadim Popov <vadim.popov@pelagicore.com> Reviewed-by: Kevin Funk <kevin.funk@kdab.com>
* Documentation improvementsDominik Holland2017-02-074-8/+29
| | | | | | | | | | | * Clarified how the QIviProperty signals are relayed for QML * Added documentation for the ivimedia examples * Added an qtivi examples page to show the examples of all sub modules * Added documentation for the geniviextras example Task-number: QTAUTO-188 Change-Id: Ic53742923584c327974cfaf4bf56f0e439381b98 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Updated copyright headersDominik Holland2017-02-0315-15/+15
| | | | | Change-Id: I3886fa569f304c509023db1226deb70d9af9eaa3 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Move qtivi over to the new config systemDominik Holland2017-02-011-7/+3
| | | | | | | | | | | | | | | | | Use the new configuration system to define external libraries, configure tests and features. Don't use pkg-config outside of the configuration step. The geniviextras-only CONFIG option has now been replaced with a command-line option and can be used by passing it to qmake after '--'. E.g. 'qmake -- --geniviextras-only'. Removed adding DLT into the rpath. Similar to all other Qt modules, it is now expected that packages found using pkg-config can be found by the dynamic linker. Change-Id: If46cd1b79413cd7571ee1068898848d9871e61ba Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Support removing the current Track in the mediaplayer exampleDominik Holland2017-01-121-3/+3
| | | | | Change-Id: Id0e8401a5071db08e643ce5f87d7b05364400841 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* media_simulator: Emit currentIndexChanged on insert/remove/moveDominik Holland2017-01-121-1/+1
| | | | | Change-Id: Ieb26460afa2bec79d5b49f39d1a9709e0bdcb08f Reviewed-by: Johan Thelin <johan.thelin@pelagicore.com>
* Make the currentIndex property of QIviPlayQueue writableDominik Holland2017-01-121-1/+2
| | | | | Change-Id: I87b3fbb880fac8008d387bb6d0e0e5c89b331402 Reviewed-by: Johan Thelin <johan.thelin@pelagicore.com>
* Add a geniviextras-only config option to only build qtgeniviextrasDominik Holland2017-01-091-2/+4
| | | | | Change-Id: I60c57ea414bc835c3996fc36e6c42119589bc5be Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Merge branch '5.7' into devDominik Holland2016-10-191-0/+1
|\ | | | | | | Change-Id: I5e601ba33cf50596f873e746e9b107a560c45018
| * Make sure the compile the climate_widget example with c++11Dominik Holland2016-08-101-0/+1
| | | | | | | | | | | | | | | | Also added a check for a minimum Qt version Task-number: AUTOSUITE-2 Change-Id: Ida94ffa50bf0094ed81631c0ba0c2aaa342f7648 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* | Fixed coding style issuesDominik Holland2016-07-272-5/+5
| | | | | | | | | | Change-Id: Ib1812eac61ffa163dd50eeacfc0097881ca277f4 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* | Use the config check output instead of qtHaveModuleDominik Holland2016-07-271-1/+2
| | | | | | | | | | Change-Id: Id7bed250d50592555477e0b680a0611c15d30272 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* | QIviMedia: Renamed the ItemRole of the DiscoveryModel to ServiceObjectRoleDominik Holland2016-07-151-2/+2
| | | | | | | | | | Change-Id: Ie243bf6eafc2cf8bec99fc76fa8c2f67d592b1d8 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* | Added an async indexOf function to the SearchAndBrowseModelDominik Holland2016-07-111-0/+16
| | | | | | | | | | | | | | | | | | | | It takes a JS functor as the second argument, which will be executed once the result is returned from the backend. Started to use this method in the tuner example and backend Change-Id: I11794e1dbc8f182f1ba06e10423fc937ceae8909 Reviewed-by: Johan Thelin <johan.thelin@pelagicore.com>
* | Fixed insert,move,remove in the mediplayer and tuner examples and backendsDominik Holland2016-07-112-16/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The mediaplayer backend is now correctly updating the internal sql database for the queue and also updating the model thru the dataChanged signal. The mediaplayer ui got improved to support moving and remove items in the queue. The tuner backend was improved to now also support a preset list, which supports editing (insert, move, remove) and the example was improved to add stations to the presets list and organizing it Change-Id: I5ff8ba1dbbbb7ed40b3f441845dbe40641ac6f54 Reviewed-by: Johan Thelin <johan.thelin@pelagicore.com>
* | AmFmTuner: Made the API more completeDominik Holland2016-07-051-0/+39
| | | | | | | | | | | | | | | | | | | | | | Added properties for minimum and maximum Frequency as well as the stepSize of the current band. Added functions and properties to support scanning (seeking throuh all stations and stay there for a few seconds) Change-Id: Ib13d98432b1a8c1aeced5e11dd0b4ae607d4cb95 Task-number: QTAUTO-60 Reviewed-by: Johan Thelin <johan.thelin@pelagicore.com>
* | Refactored the Q_GADGET based ItemsDominik Holland2016-07-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | The base class was moved into it's own header. The class and all derived classes are now using QSharedData and have a proper copy constructor as well as assignment and compare operators. Changed the QIviAmFmTuner class to use the refactored classes. Change-Id: I334c44e7d0fa49e8e634067a0ece1a1c2b8b789c Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* | Added a basic AmFmTunerDominik Holland2016-07-045-1/+240
| | | | | | | | | | | | | | | | Including a basic tuner QML example and a simulation backend Change-Id: I46985d26a5eaa6ab84f19384ef8f08d6206570aa Task-number: QTAUTO-60 Reviewed-by: Johan Thelin <johan.thelin@pelagicore.com>
* | Extended the mediaplayer example and the media simulator pluginDominik Holland2016-06-091-4/+71
| | | | | | | | | | | | | | | | | | | | | | | | The Mediaplayer shows now the discovered media devices and the list can be used to navigate thru the device content. The media_simulator uses a QFileSystemWatcher to watch for changes in a specific folder and every new folder acts as a detected USBMediaDevice which can be browsed using a SearchAndBrowseModel Change-Id: Ibef7447d4e43eb8b622cf90f4c6fb01c24caab7e Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* | Added a MediaPlayer example and a simulation backendDominik Holland2016-06-086-1/+302
|/ | | | | | | | | | | | The simulation backend starts to implement the mediaplayer functionality but is not yet fully complete. It also provides a backend for the SearchAndBrowseModel to browse thru to available media content and select a track for playback Task-number: QTAUTO-87 Task-number: QTAUTO-88 Change-Id: Iffc6abdfd10bfa58933347512fe7866f662ad0b6 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Renamed the classes and imports to match the Qt conventionsDominik Holland2016-05-2411-53/+53
| | | | | | | | | | | | | | | | | | | QML: import QtIVICore 1.0 -> import QtIvi 1.0 import QtIVIVehicleFunctions 1.0 -> import QtIvi.VehicleFunctions 1.0 On C++ side: Includes: - #include <QtIviCore/QIviAbstractFeature> - #include <QtIviVehicleFunctions/QIviClimateControl> The renaming of the files will be done in separate commit to make the diffs easier to read Task-number: QTAUTO-40 Task-number: QTAUTO-41 Change-Id: I2efdaf1f4a15e09481532df1333fa9883e82d1fb Reviewed-by: Johan Thelin <johan.thelin@pelagicore.com>
* Added install targets for all examplesDominik Holland2016-05-244-0/+16
| | | | | Change-Id: I69d87bac20883496ec055ec9107b5b9847bcd0c3 Reviewed-by: Johan Thelin <johan.thelin@pelagicore.com>
* Added a WindowControl classDominik Holland2016-05-106-1/+410
| | | | | | | | | | This class is intended to control all available physical windows(glass) in the car. It supports to open and close the windows as well as controlling the window heating system and controlling the sun blends Change-Id: I7083f0b3263e62a1c8ec7b7d18a98cb12e2f99c6 Task-number: QTAUTO-108 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Made the ClimateControl API more completeDominik Holland2016-04-263-10/+28
| | | | | | | | | | | | | | Changed the recirculationMode from being a bool to a enum. Added support for: * outsideTemperature * zoneSynchronization * defrost * recirculationSensitivityLevel * climateMode * automaticClimateFanIntensityLevel Change-Id: Ia8f5189aaba34546fbcc40893e316a8c91e1ad2b Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Changed the AirflowDirection to be Flags instead of a enumDominik Holland2016-04-234-87/+60
| | | | | | | | Also renamed the values to make it possible to use all commonly used combinations of AirflowDirections Change-Id: If0447be66a618925deb0d249c3171f1b16ed2984 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Use the same license wording for GPL3 as the standard Qt 5.7 license.Robert Griebl2016-04-118-72/+72
| | | | | Change-Id: Id4a3c96495d97e666f0273671c231dbbd4beeaff Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Fix license headers to comply with Qt 5.7 standards.Robert Griebl2016-04-078-94/+263
| | | | | | | | | | | | | | | src -> LGPL3/GPL3/GPL2/Commercial tests -> GPL-EXCEPT examples -> BSD qdoc files -> FDL (or BSD if documenting examples) pro/pri files -> no copyright header Also removed the LGPL2.1 option from GeniviExtras, since it doesn't make sense anymore when linking against a LGPL3 only QtCore library. Change-Id: I9299cf86cf37c1dfbbe997686b624084f27c9149 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Added support for detection and loading of simulation backendsDominik Holland2016-02-231-1/+1
| | | | | | | | | | | | | | By default the Feature's autodetection tries to load a production backend first and if not available falls back to a simulation backend. This behavior can be controlled by the AutoDiscoveryMode. Which backend type got loaded can be checked with the AutoDiscoveryResult. The QtIVIServiceManager got improved by adding a SearchFlag to the find method, which controls what type of backends should be included Change-Id: Ife3bb3672f21d2fb5b2d7236099de1df17487530 Reviewed-by: Johan Thelin <johan.thelin@pelagicore.com>
* climate_widget: inline pointless setupUI() functionMarc Mutz2016-02-052-12/+5
| | | | | | | | | This function is only called from the contstructor. It also doesn't set up the UI, that's what ui->setupUi() does. Most certainly, the function has no business being public. Change-Id: I32737a9865ad561447ffa3fd7a7780a7fbd38a1b Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>