* 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>
* 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>
* add threadworker and tests
* add type
* update typing
* keep runtime types
* update
* remove slot
* remove order
* remove signalinstance hint
* fix old import error
* remove unneeded order
* try something
* comment
* timeout
* add qapp to everything
* verbose
* also add -s
* print lots
* move to bottom
* use sigint after time
* use wraper for future object
* remove temporary stuff
* undo move
* move again
* delete reference after return result
* add back sigint after time
* add print
* change scope
* add more prints
* change f string
* timtout
* no sigint again
* print more
* bump
* try without object thread tests
* just skip
* modify skips
* undo ensure thread changes
* verbose
Co-authored-by: Grzegorz Bokota <bokota+github@gmail.com>
* move to src layout
* fix manifest and version
* fix test structure
* undo
* undo
* undo change
* remove pyargs
* waitsignal
* update label test
* soften eliding test
* another fix
* update again
* more fixes
* more skips
* stupid fixes