Talley Lambert
5335004cfb
test: Add tests for slider behavior with equal min and max values ( #310 )
2025-10-13 13:09:52 -04:00
pre-commit-ci[bot]
b11b511c4b
ci: [pre-commit.ci] autoupdate ( #306 )
...
* ci: [pre-commit.ci] autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.12.7 → v0.13.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.7...v0.13.3 )
- [github.com/pre-commit/mirrors-mypy: v1.17.1 → v1.18.2](https://github.com/pre-commit/mirrors-mypy/compare/v1.17.1...v1.18.2 )
* style: [pre-commit.ci] auto fixes [...]
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-13 10:10:51 -04:00
dependabot[bot]
a801e80a31
ci(dependabot): bump actions/checkout from 4 to 5 ( #305 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-13 10:10:41 -04:00
dependabot[bot]
36cd206671
ci(dependabot): bump astral-sh/setup-uv from 6 to 7 ( #309 )
...
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv ) from 6 to 7.
- [Release notes](https://github.com/astral-sh/setup-uv/releases )
- [Commits](https://github.com/astral-sh/setup-uv/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-13 10:10:25 -04:00
Talley Lambert
f863842638
chore: changelog v0.7.6
v0.7.6
2025-08-12 12:58:20 -04:00
Grzegorz Bokota
0d3f9319fc
fix: Fix size of Slider label to not ocupy to much space ( #304 )
...
* fix: Fix size of Slider label to not ocupy to much space
* Update src/superqt/sliders/_labeled.py
---------
Co-authored-by: Talley Lambert <talley.lambert@gmail.com >
2025-08-12 12:56:44 -04:00
dependabot[bot]
246feb5a89
ci(dependabot): bump actions/download-artifact from 4 to 5 ( #303 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Talley Lambert <talley.lambert@gmail.com >
2025-08-12 12:55:38 -04:00
pre-commit-ci[bot]
4d748435fc
ci: [pre-commit.ci] autoupdate ( #302 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.12.3 → v0.12.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.3...v0.12.7 )
- [github.com/pre-commit/mirrors-mypy: v1.17.0 → v1.17.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.17.0...v1.17.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-12 10:38:46 -04:00
Talley Lambert
ff80ae29eb
build: support uv-based workflows, use on CI ( #301 )
...
* ci: [pre-commit.ci] autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.11.12 → v0.12.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.12...v0.12.2 )
- [github.com/pre-commit/mirrors-mypy: v1.16.0 → v1.16.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.16.0...v1.16.1 )
* style: [pre-commit.ci] auto fixes [...]
* pin pytestqt
* refactor: setup for uv
* fix workflow
* update deploy too
* pin pyside2 to numpy 2
* try uv-managed
* bump min qtpy
* change authors
* change pyside2
* change pyside2 spec
* update pyside2
* more pins
* update numpy version constraints for pyside2 and test dependencies
* pin pytest-qt for napari
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-24 21:46:35 -04:00
Talley Lambert
17fd211740
test: drop old napari test ( #296 )
2025-07-16 18:14:27 -04:00
pre-commit-ci[bot]
3b83a8a1e2
ci: [pre-commit.ci] autoupdate ( #299 )
...
* ci: [pre-commit.ci] autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.11.12 → v0.12.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.12...v0.12.2 )
- [github.com/pre-commit/mirrors-mypy: v1.16.0 → v1.16.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.16.0...v1.16.1 )
* style: [pre-commit.ci] auto fixes [...]
* pin pytestqt
---------
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 >
2025-07-16 18:14:01 -04:00
Talley Lambert
13e033e4a2
chore: changelog v0.7.5
v0.7.5
2025-06-17 20:24:57 -04:00
Grzegorz Bokota
55b66393c3
Use scientific notation for big values in labeled slider ( #226 )
...
* initial implementation
* fix formating labels
* add minimum number of decimals
* fix typo in function name
* add `decimals` method
* fix after napari src migration
* use --import-mode=importlib
* allow enforce decimals
* fix seting 0
* flexible set range for range labels
* better set range
* fix seting mode
* fix max calculation
---------
Co-authored-by: Talley Lambert <talley.lambert@gmail.com >
2025-06-17 20:20:30 -04:00
Talley Lambert
b495c70206
chore: changelog v0.7.4
v0.7.4
2025-06-10 10:23:25 -04:00
Lorenzo Gaifas
a9fa720577
Allow setting label position on labeled slider ( #294 )
2025-06-03 05:24:58 -04:00
pre-commit-ci[bot]
257d97ae0f
ci: [pre-commit.ci] autoupdate ( #297 )
2025-06-02 18:32:50 -04:00
Gabriel Selzer
7193480796
fix: Set SliderProxy range params to Any ( #290 )
...
* fix: Set SliderProxy range params to Any
When the types are ints, this raises mypy errors when e.g. setting the
range of a QDoubleSlider to float values.
This change aligns with the parameter typing of _SliderProxy.setValue
* Update src/superqt/sliders/_labeled.py
---------
Co-authored-by: Talley Lambert <talley.lambert@gmail.com >
2025-06-02 16:35:13 -04:00
pre-commit-ci[bot]
788d0f0325
ci: [pre-commit.ci] autoupdate ( #289 )
...
* ci: [pre-commit.ci] autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.9.9 → v0.11.8](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.9...v0.11.8 )
- [github.com/abravalheri/validate-pyproject: v0.23 → v0.24.1](https://github.com/abravalheri/validate-pyproject/compare/v0.23...v0.24.1 )
* style: [pre-commit.ci] auto fixes [...]
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-06-02 16:27:12 -04:00
Lorenzo Gaifas
935025eacc
Fix napari test ( #295 )
...
* move napari to src
* use importlib import for new test
2025-06-02 16:25:36 -04:00
Sandro
358d041c0d
Make qimage_to_array() work on big endian ( #288 )
...
* Make qimage_to_array() work on big endian
Make sure the returned ndarray is ordered the same as on little
endian systems.
Solves #287
* style: [pre-commit.ci] auto fixes [...]
* Update src/superqt/utils/_img_utils.py
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Grzegorz Bokota <bokota+github@gmail.com >
2025-04-06 23:44:07 -04:00
Talley Lambert
49a8114843
docs: document QToggleSwitch ( #286 )
...
* wip
* add toggleswitch
* style: [pre-commit.ci] auto fixes [...]
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-03-28 15:30:58 -04:00
Talley Lambert
c0c3a387bb
chore: changelog v0.7.3
v0.7.3
2025-03-28 15:18:47 -04:00
Hanjin Liu
5ce74b8198
feat: toggle switch ( #284 )
...
* implement toggle switch
* rename, inherit QCheckBox
* fix pyside6
* reimplement with QAbstractButton
* refactor methods
* fix sizeHint
* suggestions
* make sizes customizable
* parse as int
* Add doc to test function
Co-authored-by: Grzegorz Bokota <bokota+github@gmail.com >
---------
Co-authored-by: Talley Lambert <talley.lambert@gmail.com >
Co-authored-by: Grzegorz Bokota <bokota+github@gmail.com >
2025-03-28 15:09:59 -04:00
Peter Sobolewski
0b2602b460
Enh: Adds a filterable kwarg to ColormapComboBox enabling filtering (like Catalog) ( #278 )
2025-03-17 19:16:44 -04:00
Talley Lambert
f9bc334228
chore: changelog v0.7.2
v0.7.2
2025-03-17 08:53:11 -04:00
Talley Lambert
55732afa71
fix: less Slider signal renaming, make alternate signal types public ( #283 )
...
* fix: less signal renaming
* style: [pre-commit.ci] auto fixes [...]
* lint
* more renames
* style: [pre-commit.ci] auto fixes [...]
* warn napari
* lint
* add comment
* remove napari getattr
* style: [pre-commit.ci] auto fixes [...]
* add back values changed
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-03-17 08:51:50 -04:00
pre-commit-ci[bot]
22372f58a4
ci: [pre-commit.ci] autoupdate ( #282 )
...
* ci: [pre-commit.ci] autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.9.4 → v0.9.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.4...v0.9.9 )
- [github.com/pre-commit/mirrors-mypy: v1.14.1 → v1.15.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.14.1...v1.15.0 )
* style: [pre-commit.ci] auto fixes [...]
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-03-16 11:35:09 -04:00
pre-commit-ci[bot]
e990284bd1
ci: [pre-commit.ci] autoupdate ( #279 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.8.6 → v0.9.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.6...v0.9.4 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-21 13:05:43 -05:00
Peter Sobolewski
7850e53b61
Update CONTRIBUTING.md to include [test] and mention Qt backend ( #276 )
...
* Update CONTRIBUTING.md to include [test] and mention Qt backend
* add superqt[test,pyqt6] to dev, mention it in contributing guide
2025-01-26 16:15:57 -05:00
Peter Sobolewski
68bafaceaa
Update CONTRIBUTING.md to install .[dev] first then pre-commit ( #275 )
2025-01-26 14:34:22 -05:00
pre-commit-ci[bot]
0b1cd1b11a
ci: [pre-commit.ci] autoupdate ( #272 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.8.1 → v0.8.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.1...v0.8.6 )
- [github.com/pre-commit/mirrors-mypy: v1.13.0 → v1.14.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.13.0...v1.14.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-24 13:50:58 -05:00
Talley Lambert
646cb4ea48
docs: add iconify docs
2025-01-05 17:12:37 -05:00
Talley Lambert
03978cc37a
chore: changelog v0.7.1
v0.7.1
2025-01-05 16:34:27 -05:00
Hanjin Liu
048aaa45a7
Lazy-import pyconify ( #270 )
...
* lazy-import pyconify
* change import pattern
---------
Co-authored-by: Talley Lambert <talley.lambert@gmail.com >
2025-01-05 16:30:51 -05:00
Talley Lambert
3ff2d7ccce
feat: add QFlowLayout, for variable width widgets ( #271 )
...
* feat: add QLayout
* add to docs
2025-01-05 16:17:27 -05:00
Talley Lambert
6a7a731c5d
feat: Improve CodeSyntaxHighlight object ( #268 )
2024-12-25 07:57:13 -05:00
Talley Lambert
4da5ac262c
feat: allow chaining of QIconifyIcon.addKey ( #267 )
2024-12-21 12:46:01 -05:00
Talley Lambert
e471031f19
fix: better warning for download error ( #266 )
2024-12-14 15:29:19 -05:00
Talley Lambert
34b9851b36
chore: changelog v0.7.0
v0.7.0
2024-12-14 14:41:40 -05:00
Talley Lambert
8ede2a2f39
build: support py313 ( #264 )
...
* build: drop py38
* bump min typing ext
* add py313
* only use pyqt6
* fix ubunt
2024-12-14 12:37:26 -05:00
Hanjin Liu
df008464cc
Fix KeyError in CodeSyntaxHighlight ( #258 )
...
* use dict.get
* typing
* Update src/superqt/utils/_code_syntax_highlight.py
Co-authored-by: Grzegorz Bokota <bokota+github@gmail.com >
---------
Co-authored-by: Talley Lambert <talley.lambert@gmail.com >
Co-authored-by: Grzegorz Bokota <bokota+github@gmail.com >
2024-12-14 12:37:17 -05:00
Talley Lambert
e99adaac03
Revert "remove stylesheet on sliderLabel ( #254 )" ( #265 )
...
This reverts commit 7e92b81711 .
2024-12-14 12:36:48 -05:00
Talley Lambert
8a40170c89
build: drop py38 ( #263 )
...
* build: drop py38
* bump min typing ext
* ignore cleanup warning from pyside6
* change minreq
* bump min
* fix for pint again
2024-12-13 09:30:27 -05:00
Gabriel Selzer
2f3113f0f6
End painter when drawing colormap ( #262 )
...
* End painter when drawing colormap
* Only end painter if we created it
2024-12-12 19:27:54 -05:00
pre-commit-ci[bot]
c9528ff85a
ci: [pre-commit.ci] autoupdate ( #257 )
...
* ci: [pre-commit.ci] autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.9 → v0.8.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.9...v0.8.1 )
- [github.com/abravalheri/validate-pyproject: v0.20.2 → v0.23](https://github.com/abravalheri/validate-pyproject/compare/v0.20.2...v0.23 )
- [github.com/pre-commit/mirrors-mypy: v1.11.2 → v1.13.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.11.2...v1.13.0 )
* style: [pre-commit.ci] auto fixes [...]
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-03 11:03:25 -05:00
Gabriel Selzer
e7a87897f5
fix: minimum size hint for QElidingLabel ( #260 )
2024-11-26 16:53:12 -05:00
pre-commit-ci[bot]
952ac336bf
ci: [pre-commit.ci] autoupdate ( #253 )
...
* ci: [pre-commit.ci] autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.7 → v0.6.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.7...v0.6.3 )
- [github.com/abravalheri/validate-pyproject: v0.18 → v0.19](https://github.com/abravalheri/validate-pyproject/compare/v0.18...v0.19 )
- [github.com/pre-commit/mirrors-mypy: v1.10.0 → v1.11.2](https://github.com/pre-commit/mirrors-mypy/compare/v1.10.0...v1.11.2 )
* style: [pre-commit.ci] auto fixes [...]
* fix lint
* update
* no pyside 6.8
* update pins
* quotes
---------
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 >
2024-10-12 12:35:17 -04:00
Talley Lambert
7e92b81711
remove stylesheet on sliderLabel ( #254 )
2024-10-12 12:01:32 -04:00
Talley Lambert
ac4adf5234
chore: changelog v0.6.8
v0.6.8
2024-06-15 16:58:36 -04:00
Talley Lambert
5f68795a82
feat: graceful offline fallback for qiconify ( #251 )
2024-06-15 07:54:40 -04:00