i have used an LcdNumber display in my calculator,but dont know to implement the squareroot button in it using a QPushButton..
requesting ur help on this
with regards
Shashank
simulating a calculator using Qthow to implement the suareroot button in the calculator?
Page 1 of 1
1 Replies - 5188 Views - Last Post: 01 August 2010 - 09:38 AM
Replies To: simulating a calculator using Qt
#2
Re: simulating a calculator using Qt
Posted 01 August 2010 - 09:38 AM
So can we assume that you've managed to use a button to implement say "addition"?
If so, then all you seem to need is that sqrt() is a function in math.h.
Or is it "how do I draw a square-root symbol on a button" ?
If so, then all you seem to need is that sqrt() is a function in math.h.
Or is it "how do I draw a square-root symbol on a button" ?
Page 1 of 1

New Topic/Question
Reply




MultiQuote



|