Skip to content

Releases: TomographicImaging/eqt

Version 1.0.1

11 Sep 07:10
c193f38
Compare
Choose a tag to compare
  • Add NoBorderScrollArea, example and tests (#155)
  • Edit next and prev in UIMultiStepWidget (#151)
  • Remove question mark from form dialog (#150)

Version 1.0.0

25 Apr 13:43
c6eb12d
Compare
Choose a tag to compare

Refer to changelog for more details.

Backward incompatibility:

  • getWidgetState and applyWidgetState include widget_row.
  • The widget-states internal order changes.
  • In FormDialog, the Ok button saves widget states and closes the dialog.
  • In FormDialog, the Cancel button retrieves default states, or previously saved states,
    and closes the dialog.
  • insertWidget is renamed insertWidgetToVerticalLayout.
    The current insertWidget inserts widgets in the form layout.
  • Deprecates getWidgetStates to be getSavedWidgetStates.

More details:

  • Adds user-defined functionalities for Ok and Cancel buttons in FormDialog.
  • Adds default widget states upon inserting widgets to a form.
  • Adds the class AdvancedDialogForm.
  • Adds methods to insert widgets and remove widgets in the forms.
  • Adds addSpanningWidget method to FormDockWidget.
  • Adds several unit tests and examples.
  • Removes _addWidget.
  • Simplifies conda environment configuration for development.

Version 0.7.1

07 Aug 14:29
6e2e519
Compare
Choose a tag to compare

Version 0.0.5

05 Mar 22:39
6228f84
Compare
Choose a tag to compare

mainly just a github action

Version 0.7.0

20 Apr 08:20
bc3c745
Compare
Choose a tag to compare
  • Adds MainWindowWithProgressDialogs a base class for a main window, with a menu bar, and ability to create ProgressTimerDialogs.
  • Renames SessionMainWindow to MainWindowWithSessionManagement
  • Removed addToMenu method from MainWindowWithProgressDialogs (and therefore MainWindowWithSessionManagement which inherits from it) as it didn't do anything, and the user can add their own method and call it if needed.
  • Check if session folder loaded from QSettings exists before writing to it.

Version 0.6.0

11 Apr 11:45
Compare
Choose a tag to compare
  • Use pip install in the conda recipe, instead of setup.py install
  • Adds the following new methods to UIFormWidget, FormWidget, FormDialog and FormDockWidget:
    • saveAllWidgetStates - Saves the state of all widgets in the form. This can be used to restore the state of the widgets using the restoreAllSavedWidgetStates method.
    • restoreAllSavedWidgetStates - Restores the state of all widgets in the form to the state saved by the saveAllWidgetStates method. If the saveAllWidgetStates method has not been called, this method will do nothing.
    • getAllWidgetStates - Returns a dictionary of the state of all widgets in the form.
    • getWidgetState - Returns the state of the widget.
    • applyWidgetState - Applies the given state to the widget with the given name.
    • applyWidgetStates - Applies the given state to the widgets in the form given by the keys of the state dictionary.
  • Adds an example of a FormDialog: dialog_save_state_example.py where all of the widgets are saved and restored if you press "Ok", whereas the previous values of the dialog are restored if you press "Cancel".
  • Adds unit tests to cover: saveAllWidgetStates, restoreAllSavedWidgetStates, getAllWidgetStates, getWidgetState, applyWidgetState, applyWidgetStates
  • setup.py:
    • Always normalise the version from git describe to pep440
  • Adds SessionsMainWindow.py - which is a base class for our apps which create a session folder where any files generated in the app are saved, and provides the ability to permanently save and reload sessions.
  • Adds SessionsMainWindow_example.py - an example of using the SessionsMainWindow - you can run this example, change the state of widgets in the form, save the session, reload the session and see the state of the widgets be restored.
  • Adds SessionsDialogs.py - the dialogs used by the SessionsMainWindow.py
  • Adds io.py - contains method for zipping a directory, used by SessionsMainWindow.py
  • Adds unit tests to cover SessionsDialogs.py, io.py, and a large proportion of SessionsMainWindow.py

Version 0.5.0

16 Jan 11:13
fa37f23
Compare
Choose a tag to compare
  • Add getWidgets method to FormWidget, FormDockWidget and FormDialog
  • Add setWidgetVisibility method to FormWidget, FormDockWidget and FormDialog

Version 0.4.0

09 Nov 11:40
b34e788
Compare
Choose a tag to compare
  • Add ReOrderableListWidget and ReOrderableListDockWidget
  • Add example of using the ReOrderableListWidget
  • Add getWidget method to FormWidget, FormDockWidget and FormDialog

Version 0.3.0

01 Aug 14:02
2e2f360
Compare
Choose a tag to compare
  • Add ProgressTimerDialog and example.
  • Delete ErrorObserver, as this is relevant to VTK, not Qt, so it has been moved to the CILViewer repo.

Version 0.2.2

05 Jul 11:56
2981fe8
Compare
Choose a tag to compare
  • By default, automatically number the tab titles in a StackedWidget