15 #include <QFileDialog> 53 this->setParent(static_cast<QWidget*>(m_Window->GetShell()->GetControl()));
54 this->setText(
"&DICOM");
55 this->setToolTip(
"Open dicom tool");
61 this->connect(
this, SIGNAL(triggered(
bool)),
this, SLOT(
Run()));
68 if (m_Window->GetActivePage().
IsNull())
70 QString defaultPerspId = m_Window->GetWorkbench()->GetPerspectiveRegistry()->GetDefaultPerspective();
71 m_Window->GetWorkbench()->ShowPerspective(defaultPerspId, m_Window);
75 m_Window->GetActivePage()->OpenEditor(editorInput2,
"org.mitk.editors.dicomeditor");
virtual SmartPointer< IPreferences > GetSystemPreferences()=0
QmitkOpenDicomEditorAction(berry::IWorkbenchWindow::Pointer window)