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
Talley Lambert
17ad1079a8
chore: changelog v0.6.7
v0.6.7
2024-06-07 16:39:41 -04:00
pre-commit-ci[bot]
6bb050c499
ci: [pre-commit.ci] autoupdate ( #250 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.3...v0.4.7 )
- [github.com/abravalheri/validate-pyproject: v0.16 → v0.18](https://github.com/abravalheri/validate-pyproject/compare/v0.16...v0.18 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-07 16:36:52 -04:00
Talley Lambert
1f4d9081b9
fix: prevent qthrottled and qdebounced from holding strong references with bound methods ( #247 )
...
* finish
* linting
* done
* use weakmethod, add signature
* add test for warning
2024-06-03 10:24:03 -04:00
Daniel Althviz Moré
7b1aefd119
Prevent computing full document content highlight and only parse current block content for performance ( #246 )
2024-05-28 07:11:57 -04:00
Talley Lambert
0ec5cd3a2f
chore: changelog v0.6.6
v0.6.6
2024-05-12 11:11:56 -04:00
Talley Lambert
8f62b0b00d
perf: improve paint time for QColormapLineEdit ( #245 )
2024-05-12 10:32:59 -04:00
pre-commit-ci[bot]
4a0aaca2e9
ci: [pre-commit.ci] autoupdate ( #244 )
...
* ci: [pre-commit.ci] autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.3.5 → v0.4.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.5...v0.4.3 )
- [github.com/pre-commit/mirrors-mypy: v1.9.0 → v1.10.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.9.0...v1.10.0 )
* style: [pre-commit.ci] auto fixes [...]
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-05-06 19:18:03 -04:00
Talley Lambert
2d49e77c3d
chore: changelog v0.6.5
v0.6.5
2024-05-06 17:45:31 -04:00
Talley Lambert
ba495a5e72
fix: fix a number of issues with Labeled and Range Sliders, add LabelsOnHandle mode. ( #242 )
...
* fix: remove processEvents
* merge in fixes
* remove comment
* fix hint
* fix napari
* change pyqt6
* fix: fix range slider styles
2024-05-06 17:43:53 -04:00