##// END OF EJS Templates
Removed APBUartPlugin bug (when switching between debug and non debug link)....
Removed APBUartPlugin bug (when switching between debug and non debug link). Added APBUart Python wrapper.

File last commit:

r25:8fdbbdd7a3a4 default
r34:ccd56e93ef09 default
Show More
gr_esb_ui.cpp
31 lines | 920 B | text/x-c | CppLexer
Jeandet Alexis
Started GR-ESB driver.
r22 #include "gr_esb_ui.h"
#include "ui_gr_esb_ui.h"
Jeandet Alexis
Sync
r24 #include <QWebView>
Jeandet Alexis
Started GR-ESB driver.
r22
GR_ESB_ui::GR_ESB_ui(QWidget *parent) :
QWidget(parent),
ui(new Ui::GR_ESB_ui)
{
ui->setupUi(this);
Jeandet Alexis
Sync
r24 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)));
Jeandet Alexis
Some work on GRESB driver for spwplugin.
r25 connect(this->ui->connectQpb,SIGNAL(clicked()),this,SIGNAL(connectClicked()));
Jeandet Alexis
Started GR-ESB driver.
r22 }
Jeandet Alexis
Sync
r24 void GR_ESB_ui::changeIp(QString ip)
Jeandet Alexis
Started GR-ESB driver.
r22 {
Jeandet Alexis
Sync
r24 this->ui->WebView->load(QUrl("http://"+ip));
emit this->ipchanged(ip);
Jeandet Alexis
Started GR-ESB driver.
r22 }
Jeandet Alexis
Sync
r24
Jeandet Alexis
Some work on GRESB driver for spwplugin.
r25 void GR_ESB_ui::lock(bool lock)
{
this->ui->GRESB_IP_lineEdit->setDisabled(lock);
this->ui->GRESB_LinkNum_CmBx->setDisabled(lock);
this->ui->GRESB_Vlink_CmBx->setDisabled(lock);
if(lock)
this->ui->connectQpb->setText("Disconnect");
else
this->ui->connectQpb->setText("Connect");
}