separate background decoding
This commit is contained in:
20
owrx/controllers/settings/backgrounddecoding.py
Normal file
20
owrx/controllers/settings/backgrounddecoding.py
Normal file
@ -0,0 +1,20 @@
|
||||
from owrx.controllers.settings import SettingsFormController, Section
|
||||
from owrx.form import CheckboxInput, ServicesCheckboxInput
|
||||
|
||||
|
||||
class BackgroundDecodingController(SettingsFormController):
|
||||
def getTitle(self):
|
||||
return "Background decoding"
|
||||
|
||||
def getSections(self):
|
||||
return [
|
||||
Section(
|
||||
"Background decoding",
|
||||
CheckboxInput(
|
||||
"services_enabled",
|
||||
"Service",
|
||||
checkboxText="Enable background decoding services",
|
||||
),
|
||||
ServicesCheckboxInput("services_decoders", "Enabled services"),
|
||||
),
|
||||
]
|
@ -203,15 +203,6 @@ class GeneralSettingsController(SettingsFormController):
|
||||
),
|
||||
Q65ModeMatrix("q65_enabled_combinations", "Enabled Q65 Mode combinations"),
|
||||
),
|
||||
Section(
|
||||
"Background decoding",
|
||||
CheckboxInput(
|
||||
"services_enabled",
|
||||
"Service",
|
||||
checkboxText="Enable background decoding services",
|
||||
),
|
||||
ServicesCheckboxInput("services_decoders", "Enabled services"),
|
||||
),
|
||||
]
|
||||
|
||||
def handle_image(self, data, image_id):
|
||||
|
Reference in New Issue
Block a user