SXXXXXXX_PyBusMonitor1553/cpp/GrifoScope/QgScope/qgnetworkconnectiondialog.h
2025-12-17 07:59:30 +01:00

48 lines
874 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 hostName() 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);
void on_gbNetSettings_toggled(bool arg1);
private:
Ui::QgNetworkConnectionDialog *ui;
QString preferedNetwork;
bool privateSubnet;
};
#endif // QGDSPTESTCONNECTIONDIALOG_H