Qt_c++ calculator

 Hi , everyone ,  in this  article I'll be showing you  how to make a GUI Calculator using c++ in QT creator.



First of all , open your Qt and creat a new project .


           

Now that your project is created , you will be given the following files by default  :

* calculator pro file :is a list of all source files concerning the project . Those files  contain basic configuration and information .


* mainwindow.h : is the header filefor the main window class



* main.cpp : has our main function which creats our application and shows it 



* mainwindow.cpp : our implementation file



* main window UI file : the visual is a interface file for our GUI 






To sum up: 

 the MainWindow. ui file describes your UI design and MainWindow. h / MainWindow. cpp is the C++ object where you can manipulate the UI with code. ... This macro allows the class to define its own signals/slots and more globally Qt's meta-object system.


                                                ***************************


For  the following steps , click on the  link below to watch the full tutorial videos : 

https://www.youtube.com/watch?v=FhV1ZEVNK08&list=PLJ9GeMZoIma5UCFFehlPatmpBXmIqrVJE&index=1




To get the full code , click on the link below 

Commentaires