* add ability to change icon
* fix icon setting so it will load properly on start up
* remove check on icon length. not necessary anymore
* fix test
* reduce duplicate code. expose _COLLAPSED and _EXPANDED to user on creation of QCollapsible widget
* add ability to set icon with string or icon.
* add tests for adding, setting icons
* fix test.
* fix test for icons
* move file
* fix test
* remove hardcoded size. Use font size
* add test docstring
* fix test. chnage expanded/collapsed names
* remove unnecessary strings
* update example. add getter functions. remove lines. change function name
* put default string in init. add getter tests
* update test
* cleanup typing and fix set setCollapsedIcon
Co-authored-by: Talley Lambert <talley.lambert@gmail.com>
* add signal when toggle button is clicked
* emit signal when expand/collapse are called. emit bool. add to test.
* fix signal emission
Co-authored-by: Talley Lambert <talley.lambert@gmail.com>
* remove qtcompat
* change imports
* change codecov
* add dep
* run tests against dalthviz branch
* update
* more replace
* pin pyside6 for sake of test
* add deprecation
* drop qt 5.11
* unpin pyside6
* Update changelog to ingnore virtual environment
* wip
* wip
* Working animation
* WIP Implement tests
* All tests are passing
* convert to camalCase
* Change function name to match functionality
* convert pyside to qtcompat
* move animation utils to main module
* remove seperators
* protect util functions
* add example
* remove seperators from test file
* suggestions
* Passing tests and ability to initialize expansion
* Ensure that the test will be passed in any screen resolution
* replace quick functions with parameters
* Update src/superqt/collapsible/_collapsible.py
Fix initial text
Co-authored-by: Talley Lambert <talley.lambert@gmail.com>
* Update src/superqt/collapsible/_collapsible.py
Remote WindowFlags to prevent compatiblity issue.
Co-authored-by: Talley Lambert <talley.lambert@gmail.com>
* merge internal expand and collapse into one function
* Update src/superqt/collapsible/_collapsible.py
* Update tests/test_collapsible.py
Co-authored-by: Talley Lambert <talley.lambert@gmail.com>