#include "DialogStartCaptur.h" #include "ui_DialogStartCaptur.h" DialogStartCaptur::DialogStartCaptur(QWidget* parent) : QDialog(parent), ui(new Ui::DialogStartCaptur) { ui->setupUi(this); } /*************************************************************************************************/ quint16 DialogStartCaptur::getPort() { return static_cast(ui->spinBox->value()); } /*************************************************************************************************/ QString DialogStartCaptur::getAddress() { return ui->lineEdit->text(); } DialogStartCaptur::~DialogStartCaptur() { delete ui; }