Commit Graph

2 Commits

Author SHA1 Message Date
Kai Köhne f47c18d6b1 calqlatr: Reformat .qml files
Do use qmlformat to make sure that the .qml files in
the example are uniform. Just leave out some changes that
make lines like

      case Qt.Key_0: digitPressed("0"); break;

unneccessarily long.

Store the restriction to 100chars in a .qmlformat.ini file
for other examples.

Pick-to: 6.10
Change-Id: I3f77efa83b2d5e01f1497687763e5c327da71ff2
Reviewed-by: Semih Yavuz <semih.yavuz@qt.io>
Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io>
2025-06-30 11:22:15 +02:00
Ed Cooke 697eaa086a Rewrite the calqlatr example to use responsive layouts
Implement the new design for the calqlatr example, including a
scientific/landscape mode. The animation controller has been removed for
practicality. Responsive layouts now handle changing between a portrait
and a landscape layout.

Fixes: QTBUG-118519
Change-Id: I1a33b1825a877b2b45afedc3a019a906c3f45d29
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
2023-12-13 17:17:22 +01:00