count_widget
frog.gui.measure_script.count_widget
¤
Provides a widget with a labelled QSpinBox.
Used in ScriptEditDialog in a couple of places.
Classes¤
CountWidget(label, initial_count=1)
¤
Bases: QWidget
A widget with labelled QSpinBox.
Create a new CountWidget.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
label
|
str
|
A string label for the control |
required |
initial_count
|
int
|
The initial value of the QSpinBox |
1
|
Source code in frog/gui/measure_script/count_widget.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
|