Pam 7b2d8bfb2d Change icon used in Collapsible widget (#140)
* 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>
2022-11-30 20:45:07 -05:00
2021-06-26 16:29:59 -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 utitlities 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%