Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Sync GUIs between network
Forum Updated to NodeBB v4.3 + New Features

Sync GUIs between network

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 3 Posters 403 Views 2 Watching
  • 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.
  • N Offline
    N Offline
    n34rt
    wrote on last edited by
    #1

    Suppose I have a Qt application that contains a GUI running on machine A, and I run the same application/GUI on machine B, how I could sync all editable widgets (checkbox, edit, combo box, etc) between these two machines?

    Does Qt have any module in could help sync these GUIs between different networks?

    JonBJ 1 Reply Last reply
    0
    • N n34rt

      Suppose I have a Qt application that contains a GUI running on machine A, and I run the same application/GUI on machine B, how I could sync all editable widgets (checkbox, edit, combo box, etc) between these two machines?

      Does Qt have any module in could help sync these GUIs between different networks?

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @n34rt
      You cannot.

      Unless perchance you can do something of this ilk with Qt Remote Objects.

      C 1 Reply Last reply
      2
      • JonBJ JonB

        @n34rt
        You cannot.

        Unless perchance you can do something of this ilk with Qt Remote Objects.

        C Offline
        C Offline
        CPPUIX
        wrote on last edited by CPPUIX
        #3

        @JonB's suggestion's useful, reading just this introduction could inspire a lot of ideas.

        I also found QtDataSync, it could provide some inspiration as well.

        JonBJ 1 Reply Last reply
        0
        • C CPPUIX

          @JonB's suggestion's useful, reading just this introduction could inspire a lot of ideas.

          I also found QtDataSync, it could provide some inspiration as well.

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by JonB
          #4

          @Abderrahmene_Rayene
          I just don't think widgets could be transferred/synchronised. For one thing they must have a lot of attributes/states which are not even visible to the outside world. For another --- and this is only minor but illustrates the kind of problem --- the screen dimensions could differ so how could you even transfer/sync coordinates.

          N C 2 Replies Last reply
          0
          • JonBJ JonB

            @Abderrahmene_Rayene
            I just don't think widgets could be transferred/synchronised. For one thing they must have a lot of attributes/states which are not even visible to the outside world. For another --- and this is only minor but illustrates the kind of problem --- the screen dimensions could differ so how could you even transfer/sync coordinates.

            N Offline
            N Offline
            n34rt
            wrote on last edited by
            #5

            @JonB by "sync" I'm referring just to the editable button states.
            For example, check a checkbox on the GUI of machine A, and the checkbox on the GUI on machine B also would be checked.

            1 Reply Last reply
            0
            • JonBJ JonB

              @Abderrahmene_Rayene
              I just don't think widgets could be transferred/synchronised. For one thing they must have a lot of attributes/states which are not even visible to the outside world. For another --- and this is only minor but illustrates the kind of problem --- the screen dimensions could differ so how could you even transfer/sync coordinates.

              C Offline
              C Offline
              CPPUIX
              wrote on last edited by
              #6

              @JonB

              not actual widgets, that would take a huge effort and amount of expertise in not just Qt itself.

              if I have the application executed on both machines from their separate executables, I don't think widgets need to be transferred, only the data on those widgets (which is still a mystery to me), but I figure it would be a lot easier to achieve, and it would mimic widgets being transferred from a device to another. This is assuming it's only checkbox, edit, combo box, etc, because the data on them would not need that much (converting?) from a device to another.

              JonBJ 1 Reply Last reply
              0
              • C CPPUIX

                @JonB

                not actual widgets, that would take a huge effort and amount of expertise in not just Qt itself.

                if I have the application executed on both machines from their separate executables, I don't think widgets need to be transferred, only the data on those widgets (which is still a mystery to me), but I figure it would be a lot easier to achieve, and it would mimic widgets being transferred from a device to another. This is assuming it's only checkbox, edit, combo box, etc, because the data on them would not need that much (converting?) from a device to another.

                JonBJ Offline
                JonBJ Offline
                JonB
                wrote on last edited by
                #7

                @Abderrahmene_Rayene
                For just the data in editable widgets, this should be doable via some model and then that could potentially be synced I guess. That might be supported by your QtDataSync link, it mentions "Qt "model" class (QAbstractListModel) to view store data in item views".

                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