Python Forum
Which GUI toolkit creating tool to measure distance/area on image
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Which GUI toolkit creating tool to measure distance/area on image
#1
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.
Reply
#2
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.
   
   
   

Attached Files

Thumbnail(s)
   
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [gtk] Image area and DND cyrille 0 1,258 Dec-06-2020, 01:17 PM
Last Post: cyrille
  Which GUI toolkit to use if less resource consumption is a priority. NIHILIST 1 2,320 Aug-28-2020, 08:03 PM
Last Post: jefsummers
  How can I measure progress and display it in the progress bar in the interface? Matgaret 2 5,879 Dec-11-2019, 03:30 PM
Last Post: Denni
  Best GUI toolkit to learn Vicolas 4 3,188 Jan-24-2019, 07:59 PM
Last Post: Larz60+
  Trying to use code from WxPython GUI Toolkit Barrowman 3 4,089 Jun-26-2018, 05:43 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020