Author Topic: Integrate a desk calculator into vnl  (Read 4252 times)

0 Members and 1 Guest are viewing this topic.

Offline Carsten

  • Regular QuantumATK user
  • **
  • Posts: 11
  • Country: dk
  • Reputation: 1
    • View Profile
Integrate a desk calculator into vnl
« on: October 24, 2014, 11:50 »
Hi,
I often find myself in situations where I need to make a quick numeric calculation, e.g. sqrt, exp, divisions, summation of whatever quantities. Here, a little calculator app would be handy that sits in the sidebar
and can be launched directly from within vnl.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5405
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: Integrate a desk calculator into vnl
« Reply #1 on: October 24, 2014, 23:15 »
Would you prefer something that looks like an actual calculator, or more a Python command line version? I have the latter as a plugin I made already, I can send it to you :)

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5405
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: Integrate a desk calculator into vnl
« Reply #2 on: October 24, 2014, 23:17 »
As an exercise, maybe we can include this code in VNL as an addon :)
http://thecodeinn.blogspot.se/2013/07/tutorial-pyqt-calculator.html

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5405
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: Integrate a desk calculator into vnl
« Reply #3 on: October 25, 2014, 00:04 »
Like this? Install with AddOn manager. Not perfect, no exp or sin/cos/tan etc - but delivered pretty fast, eh? :)

Offline Carsten

  • Regular QuantumATK user
  • **
  • Posts: 11
  • Country: dk
  • Reputation: 1
    • View Profile
Re: Integrate a desk calculator into vnl
« Reply #4 on: December 2, 2014, 09:34 »
yep, that's what i meant.of course, more functions would be nice...