* style: use ruff format
* fix import
* disallow pyside 6.6.2
* pin in tests too
* pyside6.4 on windows
* fix greedy imports
* double quote
* run sliders last
* try 6.6.1 again
* Check min max vs value
* add test
* style: [pre-commit.ci] auto fixes [...]
* test min too
* check that max > min per Qt
* update test
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* feat: add QColorCombo
* more features
* test: add some tests
* fix: import the future
* more tests
* style: [pre-commit.ci] auto fixes [...]
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* add weakref information and test
* more information
* Update src/superqt/utils/_throttler.py
---------
Co-authored-by: Talley Lambert <talley.lambert@gmail.com>
* Implement throttling of methods
* style: [pre-commit.ci] auto fixes [...]
* fix line length
* chek if object instance is Qt object
* handle `self._name` being None or empty string
* fix throttling method
* handle staticmethod
* use descriptor
* try fix staticmethods
* move descriptor to a separate class
* move __set_name__
* simplify code and restore timer information
* inspire tlamber suggestions
* clean code
* add weakref dict as fallback
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* fix: use different approach
* test: apply fixes
* back to signature
* fix get_max_args
* IMPORT THE FUTURE
* try or return None
* check for callable
* Update test_utils.py
Co-authored-by: Grzegorz Bokota <bokota+github@gmail.com>
* style: [pre-commit.ci] auto fixes [...]
---------
Co-authored-by: Grzegorz Bokota <bokota+github@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Add QElidingLineEdit class for elidable QLineEdits
* Fix QElidingLineEdit tests on Linux and MacOS
* Testing
---------
Co-authored-by: Talley Lambert <talley.lambert@gmail.com>
* Crude searchable tree widget with example
* Add logging and fix hiding bug
* style: [pre-commit.ci] auto fixes [...]
* Add factory method
* Use regular expression instead
* Reduce API
* Make setData public
* Clear filter when setting data
* Visible instead of hidden
* Show item when parent is visible
* Add docs
* Empty commit to [skip ci]
* style: [pre-commit.ci] auto fixes [...]
* Empty commit to [skip ci]
* Add test coverage
* Improve readability of tests
* Use python not json names
* Simplify example
* Some optimizations
* Clean up tests
* Fix visible siblings
* Modify test to cover visible sibling
* style: [pre-commit.ci] auto fixes [...]
* fix lint
* Update src/superqt/selection/_searchable_tree_widget.py
Co-authored-by: Talley Lambert <talley.lambert@gmail.com>
* Search by value too
* Remove optimizations
* Clean up formatting
* style: [pre-commit.ci] auto fixes [...]
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Talley Lambert <talley.lambert@gmail.com>
* 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>
* build: unpin pyside6
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* fix: fix fonticon
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix entry points API
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 21.12b0 → 22.1.0](https://github.com/psf/black/compare/21.12b0...22.1.0)
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>