This is a basic PyQt based scientific calculator
-
You need to install pyqt4 dependency which can be installed as
sudo apt-get install python-qt4.
-
Run
logic.py
for running the calculator.This contains the basic evaluation code and the logic behind the calculator. -
calculator.ui
is the UI design used which can be created by PyQt Designer GUI. For UI modification you can install PyQt designer which can be installed as given here . -
calculator.py
is extract code of the UI using PyQt. -
Any
input.ui
file can be converted tooutput.py
bypyuic4 input.ui -o output.py
for pyqt4 dependencies. -
You can also go through these set of videos for understanding the framework and functioning of qt designer. Click here.