SXXXXXXX_PyDownloadFwViaSRIO/_OLD/Vecchia_app/FpgaBeamMeUp/Qg/qgnetworkconnectiondialog.h
2026-01-22 17:10:05 +01:00

45 lines
835 B
C++

#ifndef QGDSPTESTCONNECTIONDIALOG_H
#define QGDSPTESTCONNECTIONDIALOG_H
#include <QDialog>
namespace Ui {
class QgNetworkConnectionDialog;
}
class QgNetworkConnectionDialog : public QDialog
{
Q_OBJECT
public:
explicit QgNetworkConnectionDialog(const QString& prefered_net=QString(), QWidget *parent = 0);
~QgNetworkConnectionDialog();
//void setPreferedNetwork(const QString &net);
QString hostNetworkName() const;
QString hostAddress() const;
QString targetAddress(int n) const;
unsigned int adapterIndex() const;
int jumboFrame() const;
int txWindow() const;
int rxWindow() const;
void addWidget(QWidget* w);
private slots:
void hostInterfaceChanged(int);
private:
Ui::QgNetworkConnectionDialog *ui;
QString preferedNetwork;
bool privateSubnet;
};
#endif // QGDSPTESTCONNECTIONDIALOG_H