refactor(cpn): Support JSON radio hardware definitions (#4406)
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user