Talley Lambert
055a4fc1a7
update deploy ( #33 )
2021-10-15 12:59:59 -04:00
Talley Lambert
5983bd1552
Threadworker ( #31 )
...
* add threadworker and tests
* add type
* update typing
* keep runtime types
* update
* remove slot
* remove order
* remove signalinstance hint
* fix old import error
* remove unneeded order
* try something
* comment
* timeout
* add qapp to everything
* verbose
* also add -s
* print lots
* move to bottom
* use sigint after time
* use wraper for future object
* remove temporary stuff
* undo move
* move again
* delete reference after return result
* add back sigint after time
* add print
* change scope
* add more prints
* change f string
* timtout
* no sigint again
* print more
* bump
* try without object thread tests
* just skip
* modify skips
* undo ensure thread changes
* verbose
Co-authored-by: Grzegorz Bokota <bokota+github@gmail.com >
2021-10-15 12:05:44 -04:00
Talley Lambert
67035a0f0b
move to src layout ( #32 )
...
* move to src layout
* fix manifest and version
* fix test structure
* undo
* undo
* undo change
* remove pyargs
* waitsignal
* update label test
* soften eliding test
* another fix
* update again
* more fixes
* more skips
* stupid fixes
2021-10-13 09:33:46 -04:00
Grzegorz Bokota
8d76579122
use functools.wraps to expose more parameters of wraped functon ( #29 )
2021-10-08 15:14:35 -04:00
Grzegorz Bokota
c5658b353a
Propagate function name in ensure_main_thread
and ensure_object_thread
( #28 )
...
* propagate function name in decorators
* add __wrapped__ information for inspect module
2021-10-04 09:22:56 -04:00
Talley Lambert
5ab72a0c48
add changelog for 0.2.4 ( #25 )
v0.2.4
2021-09-13 13:25:30 -04:00
Talley Lambert
06da62811b
Add type stubs for ensure_thread decorator ( #23 )
...
* types
* udpate manifest
* remove unused
2021-09-11 07:59:24 -04:00
Grzegorz Bokota
bb538cda2a
Add ensure_main_tread
and ensure_object_thread
( #22 )
...
* initial implementation
* add tests
* add test for property
* add doc part 1
* same behavior for direct and indirect call
* allow use decorator without braces
* add documentation
* Update docs/decorators.md
* update docs
* update docs
* simplify
* remove obsolete timeout
* update docs for future
Co-authored-by: Talley Lambert <talley.lambert@gmail.com >
2021-09-10 21:21:33 -04:00
Talley Lambert
c8a40ba051
add mesage handler ( #21 )
2021-09-02 22:49:55 -04:00
Talley Lambert
ac1d8403fd
Fix warnings on eliding label for 5.12, test more qt versions ( #19 )
...
* more tests and eliding fix
* update tests
* tox env override
* remove ubuntu 16
* still trying to fix tests
* add backends
v0.2.3
2021-08-25 16:05:11 -04:00
Talley Lambert
ba20665d57
Add QElidingLabel ( #16 )
...
* wip
* single class implementation
* fix init
* improve implementation
* improve sizeHint
* wrap
* update docs
* rename
* remove overloads
* review changes
* docs and reformat
* remove width from _elided text
* add tests
v0.2.2
2021-08-17 11:03:57 -04:00
Grzegorz Bokota
939c5222af
Add Enum ComboBox ( #13 )
...
* enum combobox implementation
* add enunm()
* Update superqt/combobox/_enum_combobox.py
Co-authored-by: Talley Lambert <talley.lambert@gmail.com >
* add changes from review
* updates from review
* make current enum not raise exception from currentEnum
* improve checks in setCurrentEnum
* Update superqt/combobox/_tests/test_enum_comb_box.py
Co-authored-by: Talley Lambert <talley.lambert@gmail.com >
* fix test
* fix test call
* add class to top level __init__
* fix pre-commit mmissed call
* rename
* documentation first part
* Update docs/combobox.md
Co-authored-by: Talley Lambert <talley.lambert@gmail.com >
* add possibility to use Optional[Enum]
* add information about optional annotation
* change type annotation to additional parameter
* update docs
* change to EnumMeta
* add information about signal
Co-authored-by: Talley Lambert <talley.lambert@gmail.com >
2021-08-13 09:49:45 -04:00
Robert Haase
22beed7608
fix broken link ( #18 )
2021-08-06 19:02:22 -04:00
Talley Lambert
9a72d9d474
fix slider proxy ( #10 )
v0.2.1
2021-07-10 15:11:17 -04:00
Talley Lambert
5202aba6a8
Fix range slider with negative min range ( #9 )
...
* fix value from position for neg numbers
* smaller diff
2021-07-10 15:11:04 -04:00
Talley Lambert
7e64be7d9d
rename to superqt ( #3 )
v0.2.0
v0.2.0rc1
v0.2.0rc0
2021-06-26 16:29:59 -04:00
Talley Lambert
eeb4413678
Update README.md
2021-06-03 07:31:02 -04:00
Talley Lambert
f1cfe11c1a
Merge pull request #1 from tlambert-forks/intspin
2021-06-02 22:21:55 -04:00
Talley Lambert
5a55a74670
add spin
2021-06-02 21:11:42 -04:00
Talley Lambert
27bcfc4c8e
update readme
2021-06-02 20:36:23 -04:00
Talley Lambert
40b34213fb
Move to to qwidgets
...
commit 466fc7c19ace1343d23739e4058758cd21328511
Author: Talley Lambert <talley.lambert@gmail.com >
Date: Wed Jun 2 20:22:38 2021 -0400
add deploy cond
commit e9965e71490689935b61099225acc7f3bf5c2d48
Author: Talley Lambert <talley.lambert@gmail.com >
Date: Wed Jun 2 20:20:45 2021 -0400
more precommit
commit b39150b16d7d64a5530ec9a0e29e673e2b6ed0a4
Author: Talley Lambert <talley.lambert@gmail.com >
Date: Wed Jun 2 19:52:42 2021 -0400
updating precommit
commit d5018b38e7bc59f81cc161cca06fae829e493e3c
Author: Talley Lambert <talley.lambert@gmail.com >
Date: Wed Jun 2 19:42:32 2021 -0400
big reorg
2021-06-02 20:25:40 -04:00
Talley Lambert
297838e895
cov changes ( #6 )
...
* cov changes
* update yml
* undo test slider
2021-06-02 17:44:12 -04:00
Talley Lambert
15e3af4985
Generic slider ( #14 )
...
* good coverage
* merged classes
* working cross platform
* range slider tests working too
* many more fixes and unification
* type
* reorg
* working labels, better typing
* tests
* legacy compat
* update envlist
* skip mouse press not on mac
* fix getStyleOption
* fix again
* skip hover
* remove print
* add module docstring
2021-06-02 17:23:05 -04:00
pre-commit-ci[bot]
b12e5471a0
[pre-commit.ci] pre-commit autoupdate ( #11 )
...
updates:
- [github.com/pre-commit/pre-commit-hooks: v3.4.0 → v4.0.1](https://github.com/pre-commit/pre-commit-hooks/compare/v3.4.0...v4.0.1 )
- [github.com/asottile/pyupgrade: v2.15.0 → v2.19.0](https://github.com/asottile/pyupgrade/compare/v2.15.0...v2.19.0 )
- [github.com/psf/black: 21.5b1 → 21.5b2](https://github.com/psf/black/compare/21.5b1...21.5b2 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-05-31 13:37:01 -04:00
Talley Lambert
d93787e35a
Prevent handle and label overlap ( #7 )
...
* cov changes
* mostly good
* remove cov
* use int
* fix
* prevent label overlap
v0.1.3
2021-05-17 09:38:08 -04:00
pre-commit-ci[bot]
d04ca7a4b3
[pre-commit.ci] pre-commit autoupdate ( #8 )
...
updates:
- [github.com/asottile/pyupgrade: v2.13.0 → v2.15.0](https://github.com/asottile/pyupgrade/compare/v2.13.0...v2.15.0 )
- [github.com/psf/black: 21.4b0 → 21.5b1](https://github.com/psf/black/compare/21.4b0...21.5b1 )
- [github.com/PyCQA/flake8: 3.9.1 → 3.9.2](https://github.com/PyCQA/flake8/compare/3.9.1...3.9.2 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-05-17 09:35:54 -04:00
Talley Lambert
b6900b8b14
fix recursion ( #10 )
2021-05-17 09:35:45 -04:00
Talley Lambert
19779c6fb7
Update README.md
2021-05-17 09:32:42 -04:00
Talley Lambert
24b67d00e4
Fix slider signature overloads ( #9 )
...
* overload
* more sigs
2021-05-17 09:13:46 -04:00
Talley Lambert
10feb74656
remove annotation
2021-05-17 08:59:58 -04:00
Talley Lambert
96f9a5cd90
Mouse interaction tests ( #5 )
...
* tests
* skipmouse
2021-05-02 14:45:36 -04:00
Talley Lambert
f76cf6d126
FloatSlider ( #4 )
...
* decent point
* QLabeledDoubleRangeSlider
* update float add tests
* ugly but working
* fix validator
* flexible orientation
* horiz
* warnings are errors
* try convert
* fix signals
* skip signals test on windows pyqt6
v0.1.2
2021-05-02 14:30:55 -04:00
Talley Lambert
a27b388f3e
Labeled sliders ( #3 )
...
* good labels
* more options
* add to init
* reemit value changed
* remove pass
* refine positioning
* update example
* add docs
v0.1.1
2021-04-27 21:33:45 -04:00
Talley Lambert
21523dee82
more styles
2021-04-27 17:16:12 -04:00
Talley Lambert
9471796fe5
improve barColor brush
2021-04-27 16:54:52 -04:00
pre-commit-ci[bot]
a6b0518be5
[pre-commit.ci] pre-commit autoupdate ( #2 )
...
updates:
- [github.com/asottile/pyupgrade: v2.12.0 → v2.13.0](https://github.com/asottile/pyupgrade/compare/v2.12.0...v2.13.0 )
- [github.com/psf/black: 20.8b1 → 21.4b0](https://github.com/psf/black/compare/20.8b1...21.4b0 )
- [github.com/PyCQA/flake8: 3.9.0 → 3.9.1](https://github.com/PyCQA/flake8/compare/3.9.0...3.9.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-04-26 17:24:40 -04:00
Talley Lambert
592f0d75ba
option scroll adjusts gain
2021-04-26 12:53:27 -04:00
Talley Lambert
2897a18851
more style fixes
2021-04-26 12:26:20 -04:00
Talley Lambert
59c5dec044
Merge branch 'main' of https://github.com/tlambert03/PyQRangeSlider into main
2021-04-26 12:22:20 -04:00
Talley Lambert
1340bfa371
Fix scrolling bar past extremes ( #1 )
...
* ex
* add mouse drag
* more lenient values
* use tp ==
* skip mouse move windows CI
* fix dragging to edges
* fix for pyqt6
* comment out tests
2021-04-26 12:22:11 -04:00
Talley Lambert
7d0ab56d54
fix for pyqt6
2021-04-26 12:19:08 -04:00
Talley Lambert
4edcdf4941
Merge branch 'main' of https://github.com/tlambert03/PyQRangeSlider into main
2021-04-26 10:08:53 -04:00
Talley Lambert
b651e2b757
fix gradients in bar
2021-04-26 09:57:34 -04:00
Talley Lambert
7ad87f9dc6
Update issue templates
2021-04-25 17:42:41 -04:00
Talley Lambert
7d323240be
readme
v0.1.0
2021-04-25 17:26:19 -04:00
Talley Lambert
e56d96fa5a
new demo images
2021-04-25 17:04:08 -04:00
Talley Lambert
69203f878f
update for barColor property
2021-04-25 16:43:23 -04:00
Talley Lambert
e8594d8b40
move pytest-qt6 to tox
v0.1.0rc2
2021-04-25 14:27:11 -04:00
Talley Lambert
01f496bc18
pyproject
2021-04-25 14:20:47 -04:00
Talley Lambert
75b29bc600
undo default valuw
2021-04-25 11:45:22 -04:00