Which GUI toolkit creating tool to measure distance/area on image - kboortz - Aug-28-2020
I'm new to GUI programming in Python. My first project would be a tool where you load an image (like a house plan) and can draw lines and polygons on to it to measure distances and areas.
A bit like a very very simplified vector drawing tool, you should be able to add/remove corners in the polygons and drag anchor points to change the shape.
What GUI toolkit do you think is best suited?
The requirements
- Work on macOS and Windows (Linux would be nice to have too).
- The possibility to create a stand-alone application, user can just download and run it.
- A free license for non commercial distribution and use.
- Would be nice if it has widgets that do most of the work with anchor points, dragging etc, i.e. I don't have to write pages of code just to catch the click and drag.
- A bonus if learning this toolkit allows me to write mobile apps later.
RE: Which GUI toolkit creating tool to measure distance/area on image - Larz60+ - Aug-29-2020
the two that I would look at are:- QT5: https://www.qt.io/download - This is a very comprehensive package from which
you can create very complex applications. Personally, beware that there is a cost
involved if you plan on selling your product. This is not a huge cost for small
business at $499 per year, but may come into play as your business grows.
- For this reason (and it's my own personal one), I choose wxpython phoenix. It
has a huge widget set, and is capable of applications on the same order as Qt.
The demo program is great, having three tabs on it's presentation GUI, one for a
description of the widget, one with an interactive demo of the widget, and a third
for the code that created the demo (very useful). See images below.
It's 100% free,(but contributions are welcome) and aims to remain so.
There is a sidebar which contains categorized by widget type and then by widgets
with 100% coverage of all widgets, or nearly that.
[attachment=975]
[attachment=973]
[attachment=974]
|