Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML and Qt Widgets (PyQtGraph)

QML and Qt Widgets (PyQtGraph)

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 2 Posters 1.5k 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.
  • B Offline
    B Offline
    Bits-n-Flips
    wrote on last edited by
    #1

    Hello everyone!

    I mainly use PyQt5 and I have been using it with QML (which works great!)

    I am working with pyqtgraph (http://pyqtgraph.org) and finding a way to integrate it into QML. I can't quite seem to find any consistent answers with using QtQuick and integrating Qt Widgets into a QML document.

    I would like to know if it's possible to integrate a QtWidget into a QML file/window. PyQtGraph offers widgets that can be used here: http://pyqtgraph.org/documentation/widgets/index.html#api-widgets

    If it's just not possible or too obtuse to implement, are there any graphing options to use with QML (other than the default QtCharts)?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You might want to check KDAB's DeclarativeWidgets project.

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • B Offline
        B Offline
        Bits-n-Flips
        wrote on last edited by
        #3

        @SGaist said in QML and Qt Widgets (PyQtGraph):

        Hi,

        You might want to check KDAB's DeclarativeWidgets project.

        Hope it helps

        Thank you SGaist!
        So there is nothing within QML / QtQuick that can allow for the integration of a QtWidget by default?
        The DeclarativeWidget project looks good! I will research more into it.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          No there's not, the two technologies are completely different. You can do it the other way, having a QQuickWidget to integrate Qt Quick into your widget based application.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1

          • Login

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