refactor(cpn): Support JSON radio hardware definitions (#4406)

This commit is contained in:
Neil Horne
2024-02-04 15:59:04 +10:00
committed by GitHub
parent c6ae44f523
commit 83294613f6
63 changed files with 4166 additions and 2295 deletions
+5 -2
View File
@@ -26,6 +26,7 @@ class CompoundItemModelFactory;
class FilteredItemModelFactory;
class QGridLayout;
class AutoComboBox;
class ExclusiveComboGroup;
class HardwarePanel : public GeneralPanel
{
@@ -37,6 +38,7 @@ class HardwarePanel : public GeneralPanel
signals:
void internalModuleChanged();
void InputFlexTypeChanged();
private slots:
void on_internalModuleChanged();
@@ -55,15 +57,16 @@ class HardwarePanel : public GeneralPanel
AutoComboBox *antennaMode;
QList<QWidget *> *params;
int row;
ExclusiveComboGroup *exclFlexSwitchesGroup;
void addStick(int index);
void addPot(int index);
void addSlider(int index);
void addFlex(int index);
void addSwitch(int index);
void addLabel(QString text);
void addLine();
void addParams();
void addSection(QString text);
void setFlexTypeModel(AutoComboBox * cb, int index);
void updateSerialPortUSBVCP();
};