I successfully transferred the stored JSON data from a text file to the mscolab server, enabling us to effortlessly store and retrieve layouts from the database. Additionally, I've begun the process of implementing the ability to store multiple top, side, and linear views simultaneously.
have addressed the issues with the fs-filepicker test and have been actively addressing the bugs identified by Reimer. Concurrently, I am examining the current handling of connections in the mscolab file to gain insight into its dynamics. This will enable me to transmit the text file containing position data to the mscolab server and subsequently retrieve it when needed.
I have created a pull request that introduces a feature allowing us to restore the layout from the configuration file using a button press or when transitioning between operations. During the restoration process, if a view widget is closed, it will be automatically reopened, and its position and size will revert to what was stored originally.
Proceeded with the utilization of the
geometry().getRect() method approach, which now successfully retains the positions of all windows from the
allowed_widget_names variable in the text file in the .config folder. I have been actively engaged in the process of reinstating/restoring the layout through a button press, and subsequently, implementing an automatic operation switch for the same.
Accomplished the creation of a preliminary pull request (PR) that introduces the capability to retrieve all pertinent PyQt windows within the MSS along with their associated child components such as comboboxes and push buttons. These collected elements are then saved into a text file within the .config folder. The subsequent task involves recording the coordinates of these windows on the screen. This can be achieved either by utilizing the geometry().getRect() method or by leveraging the pyautogui library. Subsequently, this data will be harnessed to relocate all windows back to their original positions upon a change in operation or re-opening, while simultaneously reinstating the state of their child objects.