My Second Ever Useful GUI Program
By EricMesa
- 2 minutes read - 255 wordsA while ago I wrote about my first ever useful GUI program. And in one of the series of posts that followed I explained that the reason I hadn’t made a useful GUI program before now is because all the typical stuff has already been made over and over. We don’t need any more tetris clones, word processors, or music programs. Recently I had reason to create my second program. A while ago I created a an amortization calculator in python which you can find here.
My wife was asking me to run some numbers and I wanted to make it nice and easy for her to do it without needed to specify commandline options. So I created this GUI for her. It only required a slight modification to my Python code which I think I’ll be able to merge back into the commandline code and just have one codebase. Once I get things cleaned up I’ll have the code up on that page I linked to before.
[caption id=“attachment_5656” align=“aligncenter” width=“500”] Amortization gui in QML[/caption]
The awesome thing about QML is that it only took me about an hour to code up a GUI to my python program and I think that’s awesome! If I could have one wishlist item for QML it would be an easy way to make QT widgets that fit in with KDE. And maybe it exists and I just haven’t come across the right documentation or tutorials, but I’d prefer if my “calculate” button looks like a regular button.