You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add functionality of default saving in a new example
* Save states and restore states as a default in FormDialog
* Add all widgets to example 3 and set state method
* Add unit test for state changes in form dialog --- not finished
* Unit tests working
* Modify and tidy example
* Add minor changes
* Add changes from pre-commit
* Fix first cancel call bug
* Save default values one by one in `_addWidget`
* Close dialog when Ok is clicked and add example file for methods
* Add example state to tests, add docstring to set_state
* ii changed to i in test set_state
* Improve applyDefaultWidgetValuesToState with docstring and new name
* Change docstring to restoreAllSavedWidgetStates
* Pre-commit run
* add insert widget working with add row and extra example
* Fix issues with unit tests
* Fix issues with session label
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fix formatting
* Remove unused imports
* remove prints
* Working example and improved insert methods
* Add unit test
* Improve unit test
* Improve docstring etc
* run pre-commit
* delete temporary example for testing
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Changed pre-commit suggestions
* Add default widget state as a larger dictionary
* Polish test_dialog_buttons_default_behaviour
* pre-commit run
* improve docstring and other minor things
* Attempt to make remove widget and save default states compatible, not working yet
* Polish code and run pre-commit
* Change method name and remove qlabel from default state dictionary
* Add unit test for insertWidgetToVerticalLayout
* Change dictionaries
* Add dictionary for widget number
* Widget number dictionary works well
* Modify various methods so remove widgets works
* modify unit test to meet new widget number
* Some polishing of the code
* Improve docstrings and namings
* Improve formatting
* Minor change
* Add widget number to label state
* Num_widgets as a property
* Add reviewers changes
* Fix save state example
* Copy docstring 3 times
* Modify example insert widgets and fix problems with default states
* Add remove widget and get widget from vertical layout in form dialog
* Add unit tests for some methods
* temporary commit
* correct qlabel widget in applywidgetstates
* Add test for apply widgets remove and insert
* Add test for apply widgets remove and insert
* Delete extra example
* Change applywidgetstates and add adaptFormToStates
* Change example insert widget with adaptFormToStates
* Add advanced dialog to form dialog and its example file
* Add button argument to advanced dialog
* Improve docstrings and other minor things
* Change pop widget number dictionary dictionary arguments
* Fixed insert widget example
* Delete _addwidget and other changes from 2nd review
* Run pre-commit
* Change docstring in insert widget
* Change docstring remove widget
* Change error message
* Change insert widget docstring
* Change test list
* Update changelog
* Delete removed widget dict and widget number dict and change getWidgetNumber
* Change docstring
* Change docstring
* Update changelog
* fixup docstrings
* misc tidy
* more whitespace fixes
* Change docstring
* Fix tests
* Change docstring
* Merge the removed methods and change example. Change widget number to widget row
* run pre-commit
* commit string
Co-authored-by: Edoardo Pasca <[email protected]>
* Update changelog
* Add tests for remove widgets from vertical layout
* Change names to remove widget and insert widget
* Change getNameAndRoleFromWidget error
* run pre-commit
* run pre-commit
* fix flake8
---------
Co-authored-by: lauramurgatroyd <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Casper da Costa-Luis <[email protected]>
Co-authored-by: Edoardo Pasca <[email protected]>
0 commit comments