Closed DanicaSTFC closed 7 months ago
@lauramurgatroyd
I insert widgets in the form layout and I then update the dictionary of widgets. At the moment, the items in the dictionary corresponding to the inserted widgets are added at the end of the dictionary. Do we want to reorder the dictionary or is it an unordered list for our usage?
The class FormDialog has the method
insertWidget
to insert a widget in a specific position in the layout. https://github.com/TomographicImaging/eqt/blob/ec2c5a11bd333452754f6931cb636bf237792649/eqt/ui/FormDialog.py#L110-L112This method should be added to the class
UIFormWidget
andFormDockWidget
too.