##// END OF EJS Templates
Sync
jeandet -
r19:3d3921dcdd34 default
parent child
Show More
@@ -35,12 +35,13 spwplugin::spwplugin(QWidget *parent):so
35 this->mainGroupBox = new QGroupBox("SpaceWire Plugin Configuration",this);
35 this->mainGroupBox = new QGroupBox("SpaceWire Plugin Configuration",this);
36 this->bridgeSelector = new QComboBox(this);
36 this->bridgeSelector = new QComboBox(this);
37 this->mainTabWidgt = new QTabWidget(this);
37 this->mainTabWidgt = new QTabWidget(this);
38 this->mainTabWidgt->addTab(this->mainGroupBox,"Bridge Configuration")
38 this->mainTabWidgt->addTab(this->mainGroupBox,"Bridge Configuration");
39 this->mainTabWidgt->addTab(this->tcpServer,"TCP Server");
39 this->mainLayout = new QGridLayout(this->mainGroupBox);
40 this->mainLayout = new QGridLayout(this->mainGroupBox);
40 this->mainLayout->addWidget(new QLabel("Select SpaceWire bridge",this),0,0,1,1,Qt::AlignCenter);
41 this->mainLayout->addWidget(new QLabel("Select SpaceWire bridge",this),0,0,1,1,Qt::AlignCenter);
41 this->mainLayout->addWidget(this->bridgeSelector,0,1,1,1);
42 this->mainLayout->addWidget(this->bridgeSelector,0,1,1,1);
42 this->mainGroupBox->setLayout(this->mainLayout);
43 //this->mainGroupBox->setLayout(this->mainLayout);
43 this->setWidget(this->mainGroupBox);
44 this->setWidget(this->mainTabWidgt);
44 this->bridgeSelector->addItem("none");
45 this->bridgeSelector->addItem("none");
45 this->bridgeSelector->addItem("STAR-Dundee Spw USB Brick");
46 this->bridgeSelector->addItem("STAR-Dundee Spw USB Brick");
46 connect(this->bridgeSelector,SIGNAL(currentIndexChanged(QString)),this,SLOT(bridgeSelectionChanged(QString)));
47 connect(this->bridgeSelector,SIGNAL(currentIndexChanged(QString)),this,SLOT(bridgeSelectionChanged(QString)));
General Comments 0
You need to be logged in to leave comments. Login now