TomographicImaging / eqt

A number of templates and tools to develop Qt GUI's with Python effectively.
Other
2 stars 3 forks source link

Save entries by default in the Form Dialog #97

Closed DanicaSTFC closed 10 months ago

DanicaSTFC commented 11 months ago

Closes #87

DanicaSTFC commented 10 months ago

@lauramurgatroyd when you are happy with the PR changes I will resolve the merge conflicts locally.

DanicaSTFC commented 10 months ago

I merged the code with main (remove widget PR already included). The remove widget is not compatible with the default states because it deletes the widgets and the default cannot be restored. In particular, when we remove widgets and we press cancel, there is no way to restore the default widgets. The remove widget method needs to be changed for this PR to be merged with main.

Week 27 Nov - 1 Dec

After discussions with @paskino, we decided that we will save the removed widgets in a new dictionary. Thus, the remove widgets method will only hide the widgets rather than deleting them completely.

In order to finalise this PR, we need to use the insert widget method (PR #109) and widget number to reinstate the widgets in the correct location in the layout (issue #105 and issue #95).

Week 04 Dec - 08 Dec

We decided to merge this PR and leave the remove widget example returning errors when cancel is clicked. We will fix the problem in the other PRs.

DanicaSTFC commented 10 months ago

@lauramurgatroyd

The remove widget example is currently returning an error when cancel is clicked. This will be fixed once PR #109 is merged and issues #95 and #105 are solved. As discussed in today's group meeting, can we please merge this PR so the whole process becomes easier? Thanks.