Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. backend
    Log in to post

    • UNSOLVED Update texts in qml from python backend for Dummies
      Language Bindings • python qstring qml binding backend • • 2MJay  

      3
      0
      Votes
      3
      Posts
      138
      Views

      Thanks for the reply @SGaist. What I wanted was to update some data (in form of text) from python backend, most of the tutorials I saw were based on using signals and slots. were as I only needed a slot to read without any triggering signal. Though I've been able to finally figure it out and spending this much time actually made me understood it more. I used QTimer to refresh the backend function every half a second.
    • UNSOLVED C++ to QML: many variable to exchange - Best solution
      QML and Qt Quick • qml c++ variable backend data transfer • • TMJJ001  

      7
      0
      Votes
      7
      Posts
      268
      Views

      You could create a standardized set of mule objects based upon QObject that handle signals of different data types. Then add the appropriate ones to the classes that need them as members or inherit them. Create callbacks that are called by these mule objects with the behavior needed from each class or other structure. If you don't inherit from them you can still use templates on the objects that own the QObjects if you need to simply other boiler plate code. I needed the opposite the other day. I had templated classes I wanted to add signals to. So I created a data member mule QObject. Edit: One problem with this approach is that object properties would not be unique. Not sure how to get around that.
    • UNSOLVED Qt5.11 eglfs xcb on raspberry pi 3
      Mobile and Embedded • qt5 eglfs raspberry pi 3 xcb backend • • Saman19  

      4
      0
      Votes
      4
      Posts
      2886
      Views

      Topic locked for duplication