Releases: TomographicImaging/eqt
Releases · TomographicImaging/eqt
Version 2.0.1
- Remove unittest_parametrize from eqt_env recipe dependencies (#180)
Version 2.0.0
- Use
qtpyas virtual Qt binding package. GHA unit tests are run with PySide2 and PyQt5 (#146) - Add
pyqt_env.ymlandpyside_env.ymlenvironment files (#146) - Update
CONTRIBUTING.md,README.mdand add documentation file (#146) - Refactor
UISliderWidgetclass to supportQLineEditand layouts, update tests and examples (#168)- Breaks backwards compatability as
UISliderWidgetno longer accepts aQLabel
- Breaks backwards compatability as
Version 1.0.2
- Upgrade python to 3.8 in
test.yml(#171) - Rename
/scriptsdirectory to/recipe(#161) - Update
CONTRIBUTING.mdwith detailed installation and contribution instructions (#161) - Limit Python version to <3.12 in conda recipe (#161)
- Change SessionDirectorySelectionDialog
.open()call to.exec()(#163, #165)
Version 1.0.1
Version 1.0.0
Refer to changelog for more details.
Backward incompatibility:
getWidgetStateandapplyWidgetStateincludewidget_row.- The widget-states internal order changes.
- In
FormDialog, theOkbutton saves widget states and closes the dialog. - In
FormDialog, theCancelbutton retrieves default states, or previously saved states,
and closes the dialog. insertWidgetis renamedinsertWidgetToVerticalLayout.
The currentinsertWidgetinserts widgets in the form layout.- Deprecates
getWidgetStatesto begetSavedWidgetStates.
More details:
- Adds user-defined functionalities for
OkandCancelbuttons inFormDialog. - 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
addSpanningWidgetmethod toFormDockWidget. - Adds several unit tests and examples.
- Removes
_addWidget. - Simplifies conda environment configuration for development.
Version 0.7.1
- add code linting (#79)
- add config
- automated lint
- fix attribution
- manual fixes
- misc code tidy (#77)
- esp. reduce duplication in
- misc metadata updates
- migrate => (#77)
- fix & update some tests
- add CI tests & update workflows (#77 <- #11, #54)
- migrate => (#77)
- use SCM versioning
- drop unused dependency
- update README/CONTRIBUTING (#79)
- rename repo from https://github.com/paskino/qt-elements to https://github.com/TomographicImaging/eqt (#77)
- exclude from distribution (#79)
- add dependency (#77)
- minify licen[cs]e (#77)
- purge changelog (see https://github.com/paskino/qt-elements/releases or https://github.com/TomographicImaging/eqt/blob/main/CONTRIBUTING.md#changelog instead) (#77)
- enforce annotated tags for releases (#77)
- migrate => (#77)
Version 0.0.5
mainly just a github action
Version 0.7.0
- Adds
MainWindowWithProgressDialogsa base class for a main window, with a menu bar, and ability to create ProgressTimerDialogs. - Renames
SessionMainWindowtoMainWindowWithSessionManagement - Removed addToMenu method from
MainWindowWithProgressDialogs(and thereforeMainWindowWithSessionManagementwhich 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
- 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.pywhere 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 ofSessionsMainWindow.py
Version 0.5.0
- Add getWidgets method to FormWidget, FormDockWidget and FormDialog
- Add setWidgetVisibility method to FormWidget, FormDockWidget and FormDialog