summaryrefslogtreecommitdiffstats
path: root/src/interfaceframework/qifserviceobject.h
Commit message (Collapse)AuthorAgeFilesLines
* Register more QML types and their dependencies part 2Dominik Holland2024-08-071-0/+10
| | | | | | | | | | * Register QList<QIfServiceObject*> as a container for QML * Register QIfServiceHandle as a QML value type * Register generated structs as QML value type Pick-to: 6.8 6.7 6.5 Change-Id: I2bc75be08521d6428c3e83fe1629879e79efae60 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Register more QML types and their dependenciesDominik Holland2024-07-261-0/+2
| | | | | | | | | | * Link against QtQmlModels to resolve QModelIndex related type errors * Add a dependency towards QtQuick * Register the QIfServiceObject type Pick-to: 6.8 6.7 6.5 Change-Id: I76e8cb3d6d7528e1147db0bb4bfda41bfd49cfaf Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Mark properties exposed to QML as FINAL to prevent shadowingDominik Holland2023-07-181-3/+3
| | | | | | Pick-to: 6.6 Change-Id: Ief99e708d61dcb49c63fd089fb7a1b81ab6a849a Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Also specify the major version in all REVISION statementsDominik Holland2022-12-091-3/+3
| | | | | Change-Id: Ib42fe9fd1a89743610e2c1762ddf9daf63e9d535 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Improve the auto discovery systemDominik Holland2022-12-071-1/+1
| | | | | | | | | | | | | | | | | | | | The auto discovery system works fine when only a single production or a single simulation backend were found. In case multiple backends were found the first backend was used, which was not always the desired backend. The QIfServiceManager can now also use an additional list of preferred backends. This list can contain wildcards and tries to find a single matching backend. A new preferredBackends property is also added to QIfAbstractFeature and QIfAbstractFeatureListModel. Task-number: QTBUG-99081 Task-number: QTBUG-99082 Change-Id: Ic5834c826f157d9b457dea769ef88c29ab90f617 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Add a new QIfConfiguration classDominik Holland2022-12-071-0/+9
| | | | | | | | | | | | | | | | | | | | | | | This class provides a way to store and update settings for ServiceObjects, Features and the SimulationEngine. The configurationId of an Object decides to which configuration group it belongs. Default values for Configurations are loaded from a ini file and can be overridden using environment variables. This first commit adds the API for storing service settings. Those service settings are passed to the matching ServiceObjects. This can be used for backend specific settings e.g. a server url for the autogenerated remote objects backends. Fixes: QTBUG-99078 Task-number: QTBUG-99079 Task-number: QTBUG-99081 Change-Id: I814335af1944b87921ecde7873f035d71d183721 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Use SPDX license identifiersDominik Holland2022-06-151-40/+4
| | | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Files that have to be modified by hand are modified. License files are organized under LICENSES directory. Change-Id: I601c778c0e88c61cda97ef3bd0259faf39b915e5 Pick-to: 6.4 Task-number: QTBUG-67283 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Rename all files to match the new module nameDominik Holland2021-06-161-0/+69
This is a follow-up of the previous commit. Task-number: AUTOSUITE-1633 Change-Id: I6feb63a346a4c94c434df83cd1255904fe8acc68 Reviewed-by: Robert Griebl <robert.griebl@qt.io>