LibreVNA/Software/PC_Application/Calibration/frequencycaldialog.h
Kiara Navarro 2fbe6e84be
mode: move responsabilities from mode to modehandler
- Pass the following responsabilities from mode to mode handler:
   - active / deactive target mode
   - get active mode
   - create new modes

- Move back setting averaging mode when settings are
updated using getModes() method instead of handling
logic in mode handler.
2022-07-11 19:33:28 -05:00

28 lines
476 B
C++

#ifndef FREQUENCYCALDIALOG_H
#define FREQUENCYCALDIALOG_H
#include "Device/device.h"
#include "modehandler.h"
#include "mode.h"
#include <QDialog>
namespace Ui {
class FrequencyCalDialog;
}
class FrequencyCalDialog : public QDialog
{
Q_OBJECT
public:
explicit FrequencyCalDialog(Device *dev, ModeHandler *handler, QWidget *parent = nullptr);
~FrequencyCalDialog();
private:
Ui::FrequencyCalDialog *ui;
Device *dev;
};
#endif // FREQUENCYCALDIALOG_H