diff --git a/Plugins/org.mitk.gui.qt.segmentation.rework/CMakeLists.txt b/Plugins/org.mitk.gui.qt.segmentation.rework/CMakeLists.txt new file mode 100644 index 0000000000..5df0ad6462 --- /dev/null +++ b/Plugins/org.mitk.gui.qt.segmentation.rework/CMakeLists.txt @@ -0,0 +1,8 @@ +project(org_mitk_gui_qt_segmentation_rework) + +mitk_create_plugin( + EXPORT_DIRECTIVE REWORK_EXPORT + EXPORTED_INCLUDE_SUFFIXES src + MODULE_DEPENDS MitkQtWidgetsExt MitkCppRestSdk MitkChart MitkSegmentationUI + PACKAGE_DEPENDS PUBLIC CTK|CTKWidgets +) diff --git a/Plugins/org.mitk.gui.qt.segmentation.rework/documentation/UserManual/Manual.dox b/Plugins/org.mitk.gui.qt.segmentation.rework/documentation/UserManual/Manual.dox new file mode 100644 index 0000000000..2f32d086ba --- /dev/null +++ b/Plugins/org.mitk.gui.qt.segmentation.rework/documentation/UserManual/Manual.dox @@ -0,0 +1,17 @@ +/** +\page org_mitk_gui_qt_segmentation_rework The Rework + +\imageMacro{icon.png,"Icon of Rework",2.00} + +\tableofcontents + +\section org_mitk_gui_qt_segmentation_reworkOverview Overview +Describe the features of your awesome plugin here + + +*/ diff --git a/Plugins/org.mitk.gui.qt.segmentation.rework/documentation/UserManual/icon.xpm b/Plugins/org.mitk.gui.qt.segmentation.rework/documentation/UserManual/icon.xpm new file mode 100644 index 0000000000..9057c20bc6 --- /dev/null +++ b/Plugins/org.mitk.gui.qt.segmentation.rework/documentation/UserManual/icon.xpm @@ -0,0 +1,21 @@ +/* XPM */ +static const char * icon_xpm[] = { +"16 16 2 1", +" c #FF0000", +". c #000000", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" "}; diff --git a/Plugins/org.mitk.gui.qt.segmentation.rework/documentation/doxygen/modules.dox b/Plugins/org.mitk.gui.qt.segmentation.rework/documentation/doxygen/modules.dox new file mode 100644 index 0000000000..cfde23343b --- /dev/null +++ b/Plugins/org.mitk.gui.qt.segmentation.rework/documentation/doxygen/modules.dox @@ -0,0 +1,16 @@ +/** + \defgroup org_mitk_gui_qt_segmentation_rework org.mitk.gui.qt.segmentation.rework + \ingroup MITKPlugins + + \brief Describe your plugin here. + +*/ + +/** + \defgroup org_mitk_gui_qt_segmentation_rework_internal Internal + \ingroup org_mitk_gui_qt_segmentation_rework + + \brief This subcategory includes the internal classes of the org.mitk.gui.qt.segmentation.rework plugin. Other + plugins must not rely on these classes. They contain implementation details and their interface + may change at any time. We mean it. +*/ diff --git a/Plugins/org.mitk.gui.qt.segmentation.rework/files.cmake b/Plugins/org.mitk.gui.qt.segmentation.rework/files.cmake new file mode 100644 index 0000000000..a50d3a5697 --- /dev/null +++ b/Plugins/org.mitk.gui.qt.segmentation.rework/files.cmake @@ -0,0 +1,45 @@ +set(SRC_CPP_FILES + +) + +set(INTERNAL_CPP_FILES + org_mitk_gui_qt_segmentation_rework_Activator.cpp + SegmentationReworkView.cpp + SegmentationReworkREST.cpp +) + +set(UI_FILES + src/internal/SegmentationReworkViewControls.ui +) + +set(MOC_H_FILES + src/internal/org_mitk_gui_qt_segmentation_rework_Activator.h + src/internal/SegmentationReworkView.h + src/internal/SegmentationReworkREST.h +) + +# list of resource files which can be used by the plug-in +# system without loading the plug-ins shared library, +# for example the icon used in the menu and tabs for the +# plug-in views in the workbench +set(CACHED_RESOURCE_FILES + resources/icon.xpm + resources/plugin_icon.png + plugin.xml +) + +# list of Qt .qrc files which contain additional resources +# specific to this plugin +set(QRC_FILES + +) + +set(CPP_FILES ) + +foreach(file ${SRC_CPP_FILES}) + set(CPP_FILES ${CPP_FILES} src/${file}) +endforeach(file ${SRC_CPP_FILES}) + +foreach(file ${INTERNAL_CPP_FILES}) + set(CPP_FILES ${CPP_FILES} src/internal/${file}) +endforeach(file ${INTERNAL_CPP_FILES}) diff --git a/Plugins/org.mitk.gui.qt.segmentation.rework/manifest_headers.cmake b/Plugins/org.mitk.gui.qt.segmentation.rework/manifest_headers.cmake new file mode 100644 index 0000000000..1178ec41c8 --- /dev/null +++ b/Plugins/org.mitk.gui.qt.segmentation.rework/manifest_headers.cmake @@ -0,0 +1,5 @@ +set(Plugin-Name "Rework") +set(Plugin-Version "0.1") +set(Plugin-Vendor "DKFZ") +set(Plugin-ContactAddress "") +set(Require-Plugin org.mitk.gui.qt.common) diff --git a/Plugins/org.mitk.gui.qt.segmentation.rework/plugin.xml b/Plugins/org.mitk.gui.qt.segmentation.rework/plugin.xml new file mode 100644 index 0000000000..da2b9d6739 --- /dev/null +++ b/Plugins/org.mitk.gui.qt.segmentation.rework/plugin.xml @@ -0,0 +1,11 @@ + + + + + + + + diff --git a/Plugins/org.mitk.gui.qt.segmentation.rework/resources/icon.xpm b/Plugins/org.mitk.gui.qt.segmentation.rework/resources/icon.xpm new file mode 100644 index 0000000000..9057c20bc6 --- /dev/null +++ b/Plugins/org.mitk.gui.qt.segmentation.rework/resources/icon.xpm @@ -0,0 +1,21 @@ +/* XPM */ +static const char * icon_xpm[] = { +"16 16 2 1", +" c #FF0000", +". c #000000", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" "}; diff --git a/Plugins/org.mitk.gui.qt.segmentation.rework/resources/plugin_icon.png b/Plugins/org.mitk.gui.qt.segmentation.rework/resources/plugin_icon.png new file mode 100644 index 0000000000..67d600c7c3 Binary files /dev/null and b/Plugins/org.mitk.gui.qt.segmentation.rework/resources/plugin_icon.png differ diff --git a/Plugins/org.mitk.gui.qt.segmentation.rework/src/internal/org_mitk_gui_qt_segmentation_rework_Activator.cpp b/Plugins/org.mitk.gui.qt.segmentation.rework/src/internal/org_mitk_gui_qt_segmentation_rework_Activator.cpp new file mode 100644 index 0000000000..2b634f99ca --- /dev/null +++ b/Plugins/org.mitk.gui.qt.segmentation.rework/src/internal/org_mitk_gui_qt_segmentation_rework_Activator.cpp @@ -0,0 +1,29 @@ +/*=================================================================== + +The Medical Imaging Interaction Toolkit (MITK) + +Copyright (c) German Cancer Research Center, +Division of Medical and Biological Informatics. +All rights reserved. + +This software is distributed WITHOUT ANY WARRANTY; without +even the implied warranty of MERCHANTABILITY or FITNESS FOR +A PARTICULAR PURPOSE. + +See LICENSE.txt or http://www.mitk.org for details. + +===================================================================*/ + + +#include "org_mitk_gui_qt_segmentation_rework_Activator.h" +#include "SegmentationReworkView.h" + +namespace mitk +{ + void org_mitk_gui_qt_segmentation_rework_Activator::start(ctkPluginContext *context) + { + BERRY_REGISTER_EXTENSION_CLASS(SegmentationReworkView, context) + } + + void org_mitk_gui_qt_segmentation_rework_Activator::stop(ctkPluginContext *context) { Q_UNUSED(context) } +} diff --git a/Plugins/org.mitk.gui.qt.segmentation.rework/src/internal/org_mitk_gui_qt_segmentation_rework_Activator.h b/Plugins/org.mitk.gui.qt.segmentation.rework/src/internal/org_mitk_gui_qt_segmentation_rework_Activator.h new file mode 100644 index 0000000000..bc704d219e --- /dev/null +++ b/Plugins/org.mitk.gui.qt.segmentation.rework/src/internal/org_mitk_gui_qt_segmentation_rework_Activator.h @@ -0,0 +1,38 @@ +/*=================================================================== + +The Medical Imaging Interaction Toolkit (MITK) + +Copyright (c) German Cancer Research Center, +Division of Medical and Biological Informatics. +All rights reserved. + +This software is distributed WITHOUT ANY WARRANTY; without +even the implied warranty of MERCHANTABILITY or FITNESS FOR +A PARTICULAR PURPOSE. + +See LICENSE.txt or http://www.mitk.org for details. + +===================================================================*/ + + +#ifndef org_mitk_gui_qt_segmentation_rework_Activator_h +#define org_mitk_gui_qt_segmentation_rework_Activator_h + +#include + +namespace mitk +{ + class org_mitk_gui_qt_segmentation_rework_Activator : public QObject, public ctkPluginActivator + { + Q_OBJECT + Q_PLUGIN_METADATA(IID "org_mitk_gui_qt_segmentation_rework") + Q_INTERFACES(ctkPluginActivator) + + public: + void start(ctkPluginContext *context); + void stop(ctkPluginContext *context); + + }; // org_mitk_gui_qt_segmentation_rework_Activator +} + +#endif // org_mitk_gui_qt_segmentation_rework_Activator_h