I wonder if it is possible using a custom form  for field calculation to be carried out by means of a calculate button. 

I have 4 input fields, I enter in two fields manualy a number, after pressing the button the rest of the fields are calculated.


Example: 

    Pulse: 100-> By user
    average:-> calculation of Pulse/3 
    Steps: 234-> By user
    quantity:-> calculation of Average * Steps 


Is this possible to make with QT such a form?