Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. How to organize custom diagraming project with PyQt5?
QtWS25 Last Chance

How to organize custom diagraming project with PyQt5?

Scheduled Pinned Locked Moved Unsolved Language Bindings
python
3 Posts 2 Posters 1.8k Views
  • 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.
  • P Offline
    P Offline
    patrickkidd
    wrote on last edited by A Former User
    #1

    Hello! I am starting into a custom diagraming tool which uses a specific set of symbols and graph connection rules, and am trying to get up to speed on the best way to do that in Qt these days:

    Family Diagram

    I have been a C++, python, and Qt programmer for many years, but am only familiar with Qt up to about 4.2 when MVC was the new thing. I want to use PyQt for this project and it will end up on desktop and mobile (specifically iPad). It will avoid typical GUI elements in favor of a more tablet-like feel as seen in Adobe Sketchbook for iPad (see below), although instead of drawing it will be more of a symbol template like MS Visio was.

    Adobe Sketchbook Pro for iPad:
    Adobe Skechbook for iPad

    What is the best way to design a custom diagraming canvas in Qt-5.8?QWidget or Quick with PyQt plugins? Is the latter even possible? What about multitouch gestures like pinch to zoom? What about animations? Am I shooting myself in the foot trying to impose my desire for PyQt? For example does Quick with JavaScript replace PyQt for the most part or is it still restricted to basic declarative attr structures and event handlers?

    Thanks!

    https://alaskafamilysystems.com/

    jsulmJ 1 Reply Last reply
    0
    • P patrickkidd

      Hello! I am starting into a custom diagraming tool which uses a specific set of symbols and graph connection rules, and am trying to get up to speed on the best way to do that in Qt these days:

      Family Diagram

      I have been a C++, python, and Qt programmer for many years, but am only familiar with Qt up to about 4.2 when MVC was the new thing. I want to use PyQt for this project and it will end up on desktop and mobile (specifically iPad). It will avoid typical GUI elements in favor of a more tablet-like feel as seen in Adobe Sketchbook for iPad (see below), although instead of drawing it will be more of a symbol template like MS Visio was.

      Adobe Sketchbook Pro for iPad:
      Adobe Skechbook for iPad

      What is the best way to design a custom diagraming canvas in Qt-5.8?QWidget or Quick with PyQt plugins? Is the latter even possible? What about multitouch gestures like pinch to zoom? What about animations? Am I shooting myself in the foot trying to impose my desire for PyQt? For example does Quick with JavaScript replace PyQt for the most part or is it still restricted to basic declarative attr structures and event handlers?

      Thanks!

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @patrickkidd PyQt on mobile?
      I would first check whether it is possible to use Python on iOS and Android at all.
      As far as I know both do not provide Python and at least Apple is very restrictive when it comes to interpreters.
      Your app would need to provide Python - this would make it bigger and probably prevent it from being accepted by Apple (but I'm not an expert when it comes to Python on mobile, so I could be wrong).

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      P 1 Reply Last reply
      0
      • jsulmJ jsulm

        @patrickkidd PyQt on mobile?
        I would first check whether it is possible to use Python on iOS and Android at all.
        As far as I know both do not provide Python and at least Apple is very restrictive when it comes to interpreters.
        Your app would need to provide Python - this would make it bigger and probably prevent it from being accepted by Apple (but I'm not an expert when it comes to Python on mobile, so I could be wrong).

        P Offline
        P Offline
        patrickkidd
        wrote on last edited by
        #3

        @jsulm PyQt does indeed deploy to iOS. Acceptance is another issue. But aside from this, my question is really regarding best use of the Qt API for my project.

        https://alaskafamilysystems.com/

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved