00001 /*========================================================================= 00002 00003 Program: Medical Imaging & Interaction Toolkit 00004 Language: C++ 00005 Date: $Date: 2009-07-07 16:57:15 +0200 (Di, 07 Jul 2009) $ 00006 Version: $Revision: 18019 $ 00007 00008 Copyright (c) German Cancer Research Center, Division of Medical and 00009 Biological Informatics. All rights reserved. 00010 See MITKCopyright.txt or https://www.mitk.org/copyright.html for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 00018 #include "QmitkExtPreferencePage.h" 00019 00020 #include <QLabel> 00021 #include <QPushButton> 00022 #include <QFormLayout> 00023 #include <QCheckBox> 00024 #include <QHashIterator> 00025 00026 #include <berryIPreferencesService.h> 00027 #include <berryPlatform.h> 00028 00029 #include <mitkIInputDeviceRegistry.h> 00030 #include <mitkIInputDeviceDescriptor.h> 00031 #include <mitkCoreExtConstants.h> 00032 00033 QmitkExtPreferencePage::QmitkExtPreferencePage() 00034 : m_MainControl(0) 00035 { 00036 00037 } 00038 00039 void QmitkExtPreferencePage::Init(berry::IWorkbench::Pointer ) 00040 { 00041 } 00042 00043 void QmitkExtPreferencePage::CreateQtControl(QWidget* parent) 00044 { 00045 //empty page 00046 m_MainControl = new QWidget(parent); 00047 QVBoxLayout *layout = new QVBoxLayout; 00048 m_MainControl->setLayout(layout); 00049 this->Update(); 00050 } 00051 00052 QWidget* QmitkExtPreferencePage::GetQtControl() const 00053 { 00054 return m_MainControl; 00055 } 00056 00057 bool QmitkExtPreferencePage::PerformOk() 00058 { 00059 return true; 00060 } 00061 00062 void QmitkExtPreferencePage::PerformCancel() 00063 { 00064 00065 } 00066 00067 void QmitkExtPreferencePage::Update() 00068 { 00069 }