remove the label attribute from the checkboxes
This commit is contained in:
@ -392,7 +392,7 @@ class SdrDeviceDescription(object):
|
||||
def getInputs(self) -> List[Input]:
|
||||
return [
|
||||
TextInput("name", "Device name"),
|
||||
CheckboxInput("enabled", "", "Enable this device", converter=OptionalConverter(defaultFormValue=True)),
|
||||
CheckboxInput("enabled", "Enable this device", converter=OptionalConverter(defaultFormValue=True)),
|
||||
NumberInput(
|
||||
"ppm",
|
||||
"Frequency correction",
|
||||
@ -401,8 +401,7 @@ class SdrDeviceDescription(object):
|
||||
),
|
||||
CheckboxInput(
|
||||
"always-on",
|
||||
"",
|
||||
checkboxText="Keep device running at all times",
|
||||
"Keep device running at all times",
|
||||
infotext="Prevents shutdown of the device when idle. Useful for devices with unreliable startup.",
|
||||
converter=OptionalConverter(defaultFormValue=False),
|
||||
),
|
||||
|
@ -26,8 +26,7 @@ class AirspyDeviceDescription(SoapyConnectorDeviceDescription):
|
||||
BiasTeeInput(),
|
||||
CheckboxInput(
|
||||
"bitpack",
|
||||
"",
|
||||
checkboxText="Enable bit-packing",
|
||||
"Enable bit-packing",
|
||||
infotext="Packs two 12-bit samples into 3 bytes."
|
||||
+ " Lowers USB bandwidth consumption, increases CPU load",
|
||||
converter=OptionalConverter(defaultFormValue=False),
|
||||
|
@ -87,8 +87,7 @@ class ConnectorDeviceDescription(SdrDeviceDescription):
|
||||
),
|
||||
CheckboxInput(
|
||||
"iqswap",
|
||||
"",
|
||||
checkboxText="Swap I and Q channels",
|
||||
"Swap I and Q channels",
|
||||
infotext="Swapping inverts the spectrum, so this is useful in combination with an inverting mixer",
|
||||
converter=OptionalConverter(defaultFormValue=False),
|
||||
),
|
||||
|
@ -42,14 +42,12 @@ class SdrplayDeviceDescription(SoapyConnectorDeviceDescription):
|
||||
BiasTeeInput(),
|
||||
CheckboxInput(
|
||||
"rf_notch",
|
||||
"",
|
||||
checkboxText="Enable RF notch filter",
|
||||
"Enable RF notch filter",
|
||||
converter=OptionalConverter(defaultFormValue=True),
|
||||
),
|
||||
CheckboxInput(
|
||||
"dab_notch",
|
||||
"",
|
||||
checkboxText="Enable DAB notch filter",
|
||||
"Enable DAB notch filter",
|
||||
converter=OptionalConverter(defaultFormValue=True),
|
||||
),
|
||||
DropdownInput(
|
||||
|
Reference in New Issue
Block a user