MCPcopy Create free account
hub / github.com/KDAB/GammaRay / NetworkInterfaceWidget

Method NetworkInterfaceWidget

plugins/network/networkinterfacewidget.cpp:21–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19using namespace GammaRay;
20
21NetworkInterfaceWidget::NetworkInterfaceWidget(QWidget *parent)
22 : QWidget(parent)
23 , ui(new Ui::NetworkInterfaceWidget)
24{
25 ui->setupUi(this);
26
27 ui->interfaceView->setModel(ObjectBroker::model(QStringLiteral(
28 "com.kdab.GammaRay.NetworkInterfaceModel")));
29 ui->interfaceView->header()->setSectionResizeMode(QHeaderView::ResizeToContents);
30}
31
32NetworkInterfaceWidget::~NetworkInterfaceWidget() = default;

Callers

nothing calls this directly

Calls 1

setModelMethod · 0.45

Tested by

no test coverage detected