Talley Lambert
b927159f49
feat: add addKey method to QIconifyIcon ( #218 )
...
* feat: addKey method to Iconify
* style: [pre-commit.ci] auto fixes [...]
* remove breakpoint
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-08 12:52:41 -05:00
Talley Lambert
61e7409b1c
fix: better default size policy for qcollapsible ( #217 )
...
* fix: better default size policy for qcollapsible
* fix: fix annotations
2023-11-07 07:44:19 -05:00
Talley Lambert
c9103e3dd8
ci: use reusable test workflow ( #215 )
...
* ci: try resuable
* style: [pre-commit.ci] auto fixes [...]
* remove x
* fix cov
* update
* update
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-06 18:36:36 -05:00
pre-commit-ci[bot]
570c261368
ci: [pre-commit.ci] autoupdate ( #216 )
...
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0 )
- [github.com/psf/black: 23.9.1 → 23.10.1](https://github.com/psf/black/compare/23.9.1...23.10.1 )
- [github.com/astral-sh/ruff-pre-commit: v0.0.292 → v0.1.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.292...v0.1.4 )
- [github.com/abravalheri/validate-pyproject: v0.14 → v0.15](https://github.com/abravalheri/validate-pyproject/compare/v0.14...v0.15 )
- [github.com/pre-commit/mirrors-mypy: v1.5.1 → v1.6.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.5.1...v1.6.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-06 16:36:08 -05:00
Talley Lambert
bd6899133f
feat: icon.name() ( #213 )
2023-10-23 11:20:59 -04:00
Talley Lambert
3efafd7aa8
fix: remove old dep ( #212 )
2023-10-10 16:52:08 -04:00
Talley Lambert
0fd25aa665
chore: changelog v0.6.1
v0.6.1
2023-10-10 13:27:07 -04:00
Talley Lambert
a5740f0109
feat: add QIcon backed by iconify ( #209 )
...
* feat: add iconify
* update docs
* update docs
* rearrange
* update example
* update test deps
* importorskip
* Update src/superqt/iconify/__init__.py
Co-authored-by: Grzegorz Bokota <bokota+github@gmail.com >
* Update src/superqt/iconify/__init__.py
Co-authored-by: Grzegorz Bokota <bokota+github@gmail.com >
* merge
* change test
* bump dep
* change doc
* Update src/superqt/iconify/__init__.py
Co-authored-by: Grzegorz Bokota <bokota+github@gmail.com >
* pragma and bump version
---------
Co-authored-by: Grzegorz Bokota <bokota+github@gmail.com >
2023-10-09 09:20:42 -04:00
Talley Lambert
65a4a6e17c
ci: test python 3.12 ( #181 )
...
* ci: test 3.12
* ci: try pyqt6
* update pyproject
* test: try macos
2023-10-08 14:15:49 -04:00
pre-commit-ci[bot]
6f74c6905e
ci: [pre-commit.ci] autoupdate ( #210 )
...
* ci: [pre-commit.ci] autoupdate
updates:
- [github.com/psf/black: 23.7.0 → 23.9.1](https://github.com/psf/black/compare/23.7.0...23.9.1 )
- [github.com/astral-sh/ruff-pre-commit: v0.0.287 → v0.0.292](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.287...v0.0.292 )
* style: [pre-commit.ci] auto fixes [...]
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-10-03 18:35:12 +02:00
Talley Lambert
d8211493ab
chore: v0.6.0
v0.6.0
2023-09-25 13:17:08 -04:00
Grzegorz Bokota
1c80109e92
Add support for flag enum ( #207 )
...
* add support for flag enum
* fix flag selection
* more edge cases
* remove obsolete test and add explanation
2023-09-25 13:10:10 -04:00
Talley Lambert
0b984c21e8
fix: don't reuse text in qcollapsible ( #204 )
2023-09-24 15:07:23 -04:00
Grzegorz Bokota
50bff8ea61
add restart_timer argument to GenericSignalThrottler.flush ( #206 )
2023-09-23 18:29:41 -04:00
Grzegorz Bokota
830fe38fb9
Fix IntEnum for python 3.11 ( #205 )
2023-09-23 18:23:39 -04:00
Talley Lambert
409d19e5c2
fix: sliderMoved event ( #200 )
2023-09-12 13:54:59 -04:00
Talley Lambert
df2034d5dc
docs: add cmap and QSearchableTreeWidget to docs ( #199 )
2023-09-12 13:47:15 -04:00
Talley Lambert
bace50fbb8
docs: update fonticon docs ( #198 )
2023-09-12 11:24:55 -04:00
Talley Lambert
66da7113e9
refactor: Labeled slider updates ( #197 )
...
* refactor: some slider updates
* fix tests
* finish
* finish
* import future
2023-09-12 08:08:23 -04:00
Talley Lambert
717b7e3d96
ci: add hatch matrix
2023-09-11 13:12:40 -04:00
dependabot[bot]
1e3cc27686
ci(dependabot): bump actions/checkout from 3 to 4 ( #196 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [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/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
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>
2023-09-11 08:56:46 -04:00
Talley Lambert
658995a0b4
feat: add QColorComboBox for picking single colors ( #194 )
...
* feat: add QColorCombo
* more features
* test: add some tests
* fix: import the future
* more tests
* style: [pre-commit.ci] auto fixes [...]
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-09-11 08:56:37 -04:00
Talley Lambert
60f442789f
Add colormap combobox and utils ( #195 )
...
* feat: add colormap combobox
* working on styles
* add comment
* style: [pre-commit.ci] auto fixes [...]
* progress on combo
* style: [pre-commit.ci] auto fixes [...]
* decent styles
* move stuff around
* adding tests
* add numpy for tests
* add cmap to tests
* fix type
* fix for pyqt
* remove topointf
* better lineedit styles
* better add colormap
* increate linux atol
* cast to int
* more tests
* tests
* try fix
* try fix test
* again
* skip pyside
* test import
* fix lineedit
* add checkerboard for transparency
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-09-10 19:59:11 -04:00
pre-commit-ci[bot]
6993c88311
ci: [pre-commit.ci] autoupdate ( #193 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.281 → v0.0.287](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.281...v0.0.287 )
- [github.com/abravalheri/validate-pyproject: v0.13 → v0.14](https://github.com/abravalheri/validate-pyproject/compare/v0.13...v0.14 )
- [github.com/pre-commit/mirrors-mypy: v1.4.1 → v1.5.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.4.1...v1.5.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-09-05 09:30:56 -04:00
Talley Lambert
8525efd98c
chore: changelog v0.5.4
v0.5.4
2023-08-31 09:56:01 -04:00
Talley Lambert
f676d7e171
fix: fix mysterious segfault ( #192 )
2023-08-31 09:54:39 -04:00
Talley Lambert
599dff7d02
chore: changelog v0.5.3
v0.5.3
2023-08-21 17:14:13 -04:00
Talley Lambert
ed960f4994
feat: add error exceptions_as_dialog
context manager to catch and show Exceptions ( #191 )
...
* feat: add error messagebox context
* typing
* Update src/superqt/utils/_errormsg_context.py
Co-authored-by: Grzegorz Bokota <bokota+github@gmail.com >
* add tests
* style: [pre-commit.ci] auto fixes [...]
* docs: add docs
* test button result
* format doc
* docs: update docs
* docs
* add dialog example
* pass flags
* skip mac ci pyside6
---------
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>
2023-08-21 17:12:39 -04:00
Talley Lambert
7fcba7a485
fix: remove dupes/aliases in QEnumCombo ( #190 )
...
* fix: remove dupes/aliases in QEnumCombo
* test: add test
2023-08-20 09:52:14 -04:00
Talley Lambert
619daae13f
chore: changelog v0.5.2
v0.5.2
2023-08-18 15:00:16 -04:00
Grzegorz Bokota
462eeada93
fix: Add descriptive exception when fail to add instance to weakref dictionary ( #189 )
...
* add weakref information and test
* more information
* Update src/superqt/utils/_throttler.py
---------
Co-authored-by: Talley Lambert <talley.lambert@gmail.com >
2023-08-18 14:20:11 -04:00
Grzegorz Bokota
8457563f49
Implement throttling of methods ( #188 )
...
* Implement throttling of methods
* style: [pre-commit.ci] auto fixes [...]
* fix line length
* chek if object instance is Qt object
* handle `self._name` being None or empty string
* fix throttling method
* handle staticmethod
* use descriptor
* try fix staticmethods
* move descriptor to a separate class
* move __set_name__
* simplify code and restore timer information
* inspire tlamber suggestions
* clean code
* add weakref dict as fallback
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-18 13:30:03 -04:00
Talley Lambert
504adf8bd0
chore: changelog v0.5.1
v0.5.1
2023-08-17 11:37:37 -04:00
Talley Lambert
64dfb43d9e
fix: fix callback of throttled/debounced decorated functions with mismatched args ( #184 )
...
* fix: fix throttled inspection
* build: change typing-ext deps
* fix: use inspect.signature
* use get_max_args
* fix: fix typing
2023-08-17 11:05:02 -04:00
Talley Lambert
1da26ce7c2
test: change wait pattern ( #187 )
...
* test: change wait pattern
* style: [pre-commit.ci] auto fixes [...]
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-17 10:51:53 -04:00
Talley Lambert
41ea4e8907
docs: document signals blocked ( #186 )
2023-08-17 09:40:06 -04:00
Talley Lambert
39b6a0596f
fix: fix parameter inspection on ensure_thread decorators (alternate) ( #185 )
...
* 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>
2023-08-17 09:20:11 -04:00
Talley Lambert
9ff01e757b
build: misc updates to repo ( #180 )
2023-08-16 12:08:13 -04:00
Talley Lambert
dd9af3bfed
chore: changelog v0.5.0
v0.5.0
2023-08-06 09:03:14 -04:00
Talley Lambert
7b964beb89
feat: add stepType to largeInt spinbox ( #179 )
2023-08-06 08:57:22 -04:00
Talley Lambert
0407fdc4bd
build: unpin pyside6.5 ( #178 )
2023-08-05 19:01:25 -04:00
Daniel Althviz Moré
9119336de5
Add QElidingLineEdit
class for elidable QLineEdit
s ( #154 )
...
* Add QElidingLineEdit class for elidable QLineEdits
* Fix QElidingLineEdit tests on Linux and MacOS
* Testing
---------
Co-authored-by: Talley Lambert <talley.lambert@gmail.com >
2023-08-03 11:08:12 -04:00
pre-commit-ci[bot]
6318675a8c
ci: [pre-commit.ci] autoupdate ( #173 )
...
* ci: [pre-commit.ci] autoupdate
updates:
- [github.com/psf/black: 23.3.0 → 23.7.0](https://github.com/psf/black/compare/23.3.0...23.7.0 )
- https://github.com/charliermarsh/ruff-pre-commit → https://github.com/astral-sh/ruff-pre-commit
- [github.com/astral-sh/ruff-pre-commit: v0.0.270 → v0.0.281](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.270...v0.0.281 )
- [github.com/pre-commit/mirrors-mypy: v1.3.0 → v1.4.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.3.0...v1.4.1 )
* style: [pre-commit.ci] auto fixes [...]
* fix: fix precommit
* typing
---------
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-08-03 09:30:36 -04:00
Talley Lambert
efa2757111
fix: focus events on QLabeledSlider ( #175 )
...
* fix: focus events on QLabeledSlider
* style: [pre-commit.ci] auto fixes [...]
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-10 11:11:28 -04:00
Grzegorz Bokota
402d237bc4
set parent of timer ( #171 )
2023-06-08 21:01:08 -04:00
pre-commit-ci[bot]
dc255bdeac
ci: [pre-commit.ci] autoupdate ( #170 )
2023-06-06 07:40:44 -04:00
Talley Lambert
ae186df2ae
build: pin pyside ( #169 )
2023-05-30 14:14:24 -04:00
Talley Lambert
0002d5ee37
fix: fix double slider label editing ( #168 )
2023-05-30 13:24:36 -04:00
Talley Lambert
f990fea78c
test: add qtbot to test to fix windows segfault ( #165 )
...
* test: fix windows test
* test on windows
* try ubuntu
* remove ubuntu
2023-05-20 15:53:45 -04:00
Talley Lambert
1fb46854d4
test: fixing tests [wip] ( #164 )
2023-05-19 20:43:52 -04:00