Skip to content

kounkou/Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published