Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace QSpinBox with QLargeIntSpinBox #572

Merged
merged 5 commits into from
Aug 12, 2023

Conversation

gselzer
Copy link
Contributor

@gselzer gselzer commented Jul 28, 2023

The range of QSpinBox is limited to a 32-bit signed integer - Python integers can go much larger than that. By using QLargeIntSpinBox instead, we enable larger range options!

The range of QSpinBox is limited to a 32-bit signed integer - Python
integers can go much larger than that. By using QLargeIntSpinBox
instead, we can go much larger
Copy link
Member

@tlambert03 tlambert03 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM assuming everything passes

@codecov
Copy link

codecov bot commented Aug 6, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (4f10a99) 89.05% compared to head (fb6f839) 89.05%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #572   +/-   ##
=======================================
  Coverage   89.05%   89.05%           
=======================================
  Files          38       38           
  Lines        4466     4466           
=======================================
  Hits         3977     3977           
  Misses        489      489           
Files Changed Coverage Δ
src/magicgui/backends/_qtpy/widgets.py 88.22% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tlambert03
Copy link
Member

ok, this is pretty much ready to go. The failing napari/stardist/partseg tests are all because napari installs are failing at the moment, and unrelated to magicgui. The ubuntu-latest (3.9) pyqt5 is a legitimate superqt issue, but since it only appears to (repeatedly) happen on the specific combination of ubuntu/pyqt5/python3.9, it's a bit hard to test and fix. might just skip it

Copy link
Member

@tlambert03 tlambert03 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @gselzer!

@tlambert03 tlambert03 merged commit 6271dd2 into pyapp-kit:main Aug 12, 2023
32 checks passed
@tlambert03 tlambert03 added the enhancement New feature or request label Aug 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants