Andy Sweet bb43cd7fad Searchable tree widget from a mapping (#158)
* 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>
2023-04-20 19:15:26 -04:00
2023-03-27 12:57:58 -04:00
2023-03-12 00:01:42 -05:00
2021-06-26 16:29:59 -04:00
2023-03-27 12:57:58 -04:00
2023-03-12 00:01:42 -05:00
2023-03-27 12:57:58 -04:00

tiny superqt!

License PyPI Python
Version Test codecov

"missing" widgets and components for PyQt/PySide

This repository aims to provide high-quality community-contributed Qt widgets and components for PyQt & PySide that are not provided in the native QtWidgets module.

Components are tested on:

  • macOS, Windows, & Linux
  • Python 3.7 and above
  • PyQt5 (5.11 and above) & PyQt6
  • PySide2 (5.11 and above) & PySide6

Documentation

Documentation is available at https://pyapp-kit.github.io/superqt/

Widgets

superqt provides a variety of widgets that are not included in the native QtWidgets module, including multihandle (range) sliders, comboboxes, and more.

See the widgets documentation for a full list of widgets.

range sliders range sliders range sliders

Utilities

superqt includes a number of utilities for working with Qt, including:

See the utilities documentation for a full list of utilities.

Contributing

We welcome contributions!

Please see the Contributing Guide

Description
Missing widgets and components for Qt-python
Readme BSD-3-Clause 6.1 MiB
Languages
Python 100%