mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-05 06:25:16 +00:00
PC Application: partial firmware update dialog
This commit is contained in:
parent
8c8749accd
commit
07ba714f1f
134 changed files with 13954 additions and 7 deletions
38
Software/PC_Application/Traces/traceexportdialog.h
Normal file
38
Software/PC_Application/Traces/traceexportdialog.h
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
#ifndef TRACEEXPORTDIALOG_H
|
||||
#define TRACEEXPORTDIALOG_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <QComboBox>
|
||||
#include "tracemodel.h"
|
||||
#include <QSignalMapper>
|
||||
|
||||
namespace Ui {
|
||||
class TraceExportDialog;
|
||||
}
|
||||
|
||||
class TraceExportDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit TraceExportDialog(TraceModel &model, QWidget *parent = nullptr);
|
||||
~TraceExportDialog();
|
||||
bool setTrace(int portFrom, int portTo, Trace *t);
|
||||
bool setPortNum(int ports);
|
||||
|
||||
private slots:
|
||||
void on_buttonBox_accepted();
|
||||
void on_sbPorts_valueChanged(int ports);
|
||||
void selectionChanged(QComboBox *w);
|
||||
|
||||
private:
|
||||
Ui::TraceExportDialog *ui;
|
||||
TraceModel &model;
|
||||
std::vector<std::vector<QComboBox*>> cTraces;
|
||||
|
||||
unsigned int points;
|
||||
double lowerFreq, upperFreq;
|
||||
bool freqsSet;
|
||||
};
|
||||
|
||||
#endif // TRACEEXPORTDIALOG_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue