MCPcopy Create free account
hub / github.com/MITK/MITK / init

Method init

Plugins/org.mitk.gui.qt.ext/src/QmitkOpenStdMultiWidgetEditorAction.cpp:42–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42void QmitkOpenStdMultiWidgetEditorAction::init(berry::IWorkbenchWindow::Pointer window)
43{
44 m_Window = window;
45 this->setParent(static_cast<QWidget*>(m_Window->GetShell()->GetControl()));
46 this->setText("Standard Display");
47 this->setToolTip("Open the standard multi widget editor");
48
49 this->connect(this, SIGNAL(triggered(bool)), this, SLOT(Run()));
50}
51
52void QmitkOpenStdMultiWidgetEditorAction::Run()
53{

Calls 4

RunFunction · 0.50
GetControlMethod · 0.45
GetShellMethod · 0.45
setTextMethod · 0.45

Tested by

no test coverage detected