Files
edgetx-gx12/companion/src/modeledit/mixerdialog.h
T
bsongis 50a73a3af5 Each ModelEdit window now has its own FirmwareInterface (it means that
we could open 2 ModelEdit windows on different firmwares)
2014-04-18 16:55:53 +02:00

40 lines
779 B
C++

#ifndef MIXERDIALOG_H
#define MIXERDIALOG_H
#include <QDialog>
#include "eeprominterface.h"
class GVarGroup;
class CurveGroup;
namespace Ui {
class MixerDialog;
}
class MixerDialog : public QDialog {
Q_OBJECT
public:
MixerDialog(QWidget *parent, ModelData & model, MixData *mixdata, GeneralSettings & generalSettings, FirmwareInterface * firmware);
~MixerDialog();
protected:
void changeEvent(QEvent *e);
private slots:
void valuesChanged();
void shrink();
private:
Ui::MixerDialog *ui;
ModelData & model;
GeneralSettings & generalSettings;
FirmwareInterface * firmware;
MixData *md;
bool lock;
GVarGroup * gvWeightGroup;
GVarGroup * gvOffsetGroup;
CurveGroup * curveGroup;
};
#endif // MIXERDIALOG_H