##// END OF EJS Templates
Sync
Sync

File last commit:

r24:f6b7bed80207 default
r24:f6b7bed80207 default
Show More
gr_esb_ui.cpp
19 lines | 519 B | text/x-c | CppLexer
#include "gr_esb_ui.h"
#include "ui_gr_esb_ui.h"
#include <QWebView>
GR_ESB_ui::GR_ESB_ui(QWidget *parent) :
QWidget(parent),
ui(new Ui::GR_ESB_ui)
{
ui->setupUi(this);
connect(this->ui->GRESB_IP_lineEdit,SIGNAL(textChanged(QString)),this,SLOT(changeIp(QString)));
connect(this->ui->GRESB_Vlink_CmBx,SIGNAL(currentIndexChanged(QString)),this,SIGNAL(vlinkchanged(QString)));
}
void GR_ESB_ui::changeIp(QString ip)
{
this->ui->WebView->load(QUrl("http://"+ip));
emit this->ipchanged(ip);
}