kounkou / Calculator

Simple Calculator using Qt Qml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Calculator

Simple Calculator using Qt Qml. The project shows how registering a C++ type with QML can be done. QtQml supports 3 other different patterns for communicating between C++ and Qml, namely

  • subclassing QQuickItem in C++ for creating a custom QML item
  • Exposing a C++ Property to QML root
  • Registering C++ Type to the QmlEngine
  • accessing QML objects through the object tree

Feature support

This calculator UI is inspired from the iOS fanous calculator design. Current the application only supports adding numbers. The other operations will be added at a later stage. Feel free to contribute, this project might involve some data structures, and design patterns for handling the operations. It can be a good opportunity to practice those.

Result

Screenshot 2023-03-05 at 5 25 40 PM

Compilation/running instruction

  1. Install Qt. For instruction on how to install :

https://www.qt.io/download

  1. Compile the project
qmake && make
  1. Launch the application
./Calculator

About

Simple Calculator using Qt Qml

License:MIT License


Languages

Language:QML 54.6%Language:C++ 32.6%Language:QMake 12.8%