1 #include "InterfacePropertiesWindow.h"
3 #include "ConnectedInterface.h"
5 InterfacePropertiesWindow::InterfacePropertiesWindow(InterfaceItem *_inter, QWidget *parent) :
10 layout = new QGridLayout;
13 layout->addWidget(new QLabel("Interface properties"), 0, 0);
14 layout->addWidget(new QLabel(" "), 1, 0);
16 layout->addWidget(new QLabel("Name :"), 2, 0);
17 layout->addWidget(new QLabel(inter->getName()), 2, 1);
18 layout->addWidget(new QLabel("Width :"), 3, 0);
19 layout->addWidget(new QLabel(inter->refInter->getWidth()), 3, 1);
20 layout->addWidget(new QLabel("Direction :"), 4, 0);
21 layout->addWidget(new QLabel(inter->refInter->getDirectionString()), 4, 1);
22 layout->addWidget(new QLabel("Purpose :"), 5, 0);
23 layout->addWidget(new QLabel(inter->refInter->getPurposeString()), 5, 1);
24 this->setLayout(layout);