Sync GUIs between network
-
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?
-
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?
-
@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.
-
@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.
@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. -
@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. -
@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.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.
-
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.
@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".