File: qlargeintspinbox.md

package info (click to toggle)
superqt 0.7.8-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,328 kB
  • sloc: python: 9,162; makefile: 16; sh: 12
file content (23 lines) | stat: -rw-r--r-- 417 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# QLargeIntSpinBox

`QSpinBox` variant that allows to enter large integers, without overflow.

```python
from qtpy.QtCore import Qt
from qtpy.QtWidgets import QApplication

from superqt import QLargeIntSpinBox

app = QApplication([])

slider = QLargeIntSpinBox()
slider.setRange(0, 4.53e8)
slider.setValue(4.53e8)
slider.show()

app.exec_()
```

{{ show_widget(150) }}

{{ show_members('superqt.QLargeIntSpinBox') }}