mirror of https://github.com/qt/qtdoc.git
In the process of preparing this example to become highlighted in Qt Creator, we want to update it to reflect how we think a modern qml application should be written. Some of the changes done here includes * Use QQC2 buttons, rather than a custom button component. * Update the CMake list to use qt_add_qml_module() * Some code refactoring (e.g const/let instead of var, switch/case, reduced binding spaghetti) Fixes: QTBUG-96460 Pick-to: 6.2 Change-Id: I6e6789038c053dac9528ba564431cef6c9168454 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Andrei Golubev <andrei.golubev@qt.io> |
||
---|---|---|
.. | ||
images | ||
CalculatorButton.qml | ||
Display.qml | ||
NumberPad.qml | ||
calculator.js |