summaryrefslogtreecommitdiffstats
path: root/src/input/frontend/qbuttonaxisinput_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Update commercial license headers"v5.15.3-lts-lgplTarja Sundqvist2021-03-231-20/+20
| | | | | | | | | | | This reverts commit 03e5f60e585701608c1181365faee484d7a1f14c. Revert of commercial license headers is required for Qt 5.15.3 opensource release. Task-number: QTBUG-91108 Change-Id: I359e89ed77b1b2750607617d138ebb6c316f0296 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Update commercial license headersTarja Sundqvist2021-02-021-20/+20
| | | | | | | | | | | | | | | | Updated header.COMM to the files in tqtc-qt3d. Examples, documentation files or tests are not updated. The commercial license header may contain some additional lines so that its line count equals with the earlier license header. Reason for this is that some autotests use hard coded line numbers and a change in the line count causes failures in tests. Task-number: QTQAINFRA-4155 Change-Id: I139c8ad72c042b0900239decc36cfed4bc1c4951 Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
* Have sane default for QButtonAxisInput::scaleKevin Ottens2016-09-281-1/+1
| | | | | | | | | It doesn't quite make sense to have a null scale by default. It basically forces to always touch the property to get something moving. Use a scale of 1 instead by default. Change-Id: I813997d23ffedf1a934f79868f1f71f886b0303f Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Linear scaling for key controlled axisColin Ogilvie2016-05-121-0/+6
| | | | | Change-Id: I429fc512a836d569a55f0ac6490d020f1e8c2808 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Bring more type safety to the buttons propertiesKevin Ottens2016-05-021-2/+2
| | | | | | | | | | | | | | | | The API uses QList<int> now to benefit from the default support for this type in QML. We internally store it as a QVector<int> though so that the whole backend uses QVector<int> for them. It means we still have a conversion going on but it's not really on any hot patch and those lists will be small anyway. This conversion could be eliminated by hacking qv4sequenceobject.cpp in qtdeclarative but we're close enough to deadline that it's not worth the effort IMHO. Change-Id: I7ef16ec351cc54cc418a8f5c340397f58422add3 Task-number: QTBUG-51467 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Turn QAxisInput into QAbstractAxisInputKevin Ottens2016-05-021-4/+4
| | | | | | Change-Id: If31fe8612c177b3383d63cf5f50c34d088f0d72b Task-number: QTBUG-51474 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Splitting of QAxisInputRobert Brock2016-05-021-0/+83
Placed buttons and scale into a new class named QButtonAxisInput Change-Id: I0e8407dc361d9d6eda38973a8950f77b17119467 Task-number: QTBUG-51474 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>