[Simulator] Add mixes display to Radio Outputs widget (#5811)
* [Simulator] Add mixes output display to RadioOutputsWidget (closes #2655). * Add proper limits reporting & representation for channel and mix values in RadioOutputsWidget.
This commit is contained in:
committed by
Andre Bernet
parent
7b12c99a0b
commit
9e4a0680ab
@@ -56,14 +56,15 @@ class RadioOutputsWidget : public QWidget
|
||||
protected slots:
|
||||
void saveState();
|
||||
void restoreState();
|
||||
void onChannelOutValueChange(quint8 index, qint32 value);
|
||||
void onChannelOutValueChange(quint8 index, qint32 value, qint32 limit);
|
||||
void onChannelMixValueChange(quint8 index, qint32 value, qint32 limit);
|
||||
void onVirtSwValueChange(quint8 index, qint32 value);
|
||||
void onGVarValueChange(quint8 index, qint32 value);
|
||||
void onPhaseChanged(qint32 phase, const QString &);
|
||||
|
||||
protected:
|
||||
void changeEvent(QEvent *e);
|
||||
void setupChannelsDisplay();
|
||||
void setupChannelsDisplay(bool mixes = false);
|
||||
void setupLsDisplay();
|
||||
void setupGVarsDisplay();
|
||||
QWidget * createLogicalSwitch(QWidget * parent, int switchNo);
|
||||
@@ -72,6 +73,7 @@ class RadioOutputsWidget : public QWidget
|
||||
Firmware * m_firmware;
|
||||
|
||||
QHash<int, QPair<QLabel *, QSlider *> > m_channelsMap; // m_channelsMap[chanIndex] = {QLabel*, QSlider*}
|
||||
QHash<int, QPair<QLabel *, QSlider *> > m_mixesMap; // m_mixesMap[chanIndex] = {QLabel*, QSlider*}
|
||||
QHash<int, QLabel *> m_logicSwitchMap; // m_logicSwitchMap[lsIndex] = QLabel*
|
||||
QHash<int, QHash<int, QLabel *> > m_globalVarsMap; // m_globalVarsMap[gvarIndex][fmodeIndex] = QLabel*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user