Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Freehand drawing tool PySide

    Showcase
    1
    1
    3818
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bootchk last edited by

      I wrote a freehand drawing tool using Qt, PySide, Python. See https://github.com/bootchk/freehandTool

      Input is pointer (mouse) events, output is a QGraphicsPathItem (i.e. vector graphics.)

      A component that could be adapted for a full app.

      Doesn't teach much about Qt, but it is a common concern for drawing apps.

      Uses fairly sophisticated algorithms from potrace. Shows use of Python generators in a filter pipe.

      The moderators will no doubt bust this to a different forum.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post