diff --git a/Licenses/ICONS.md b/Licenses/ICONS.md index 8c06f0387e..331cdcbfd7 100644 --- a/Licenses/ICONS.md +++ b/Licenses/ICONS.md @@ -1,11 +1,12 @@ MITK uses icons from various sources. Please respect their licenses. - [Crystal Clear](https://commons.wikimedia.org/wiki/Crystal_Clear) (LGPL 2.1) - [Font Awesome 4](https://fontawesome.com/v4.7.0/license/) (SIL OFL 1.1) - Noun Project (Creative Commons Attribution 3.0 Unported) - [Marek Polakovic](https://thenounproject.com/marekpolakovic/) - [Santiago Arias](https://thenounproject.com/Sa_arias/) - [Takao Umehara](https://thenounproject.com/takaoumehara/) - [The Python Logo](https://www.python.org/community/logos/) ([PSF Trademark Usage Policy 1.5.0](https://www.python.org/psf/trademarks/)) - [Tango](http://tango.freedesktop.org/Tango_Desktop_Project) (Public Domain) - [XNAT](https://www.xnat.org/) (Creative Commons Attribution 3.0 Unported) +- [FlatIcon] (https://www.freepik.com/) (CC 3.0 BY) diff --git a/Plugins/org.mitk.gui.qt.chartExample/files.cmake b/Plugins/org.mitk.gui.qt.chartExample/files.cmake index ec8f914b40..b097c50982 100644 --- a/Plugins/org.mitk.gui.qt.chartExample/files.cmake +++ b/Plugins/org.mitk.gui.qt.chartExample/files.cmake @@ -1,42 +1,42 @@ set(SRC_CPP_FILES ) set(INTERNAL_CPP_FILES org_mitk_gui_qt_chartExample_Activator.cpp ChartExample.cpp ) set(UI_FILES src/internal/ChartExampleControls.ui ) set(MOC_H_FILES src/internal/org_mitk_gui_qt_chartExample_Activator.h src/internal/ChartExample.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/chart.svg 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.chartExample/plugin.xml b/Plugins/org.mitk.gui.qt.chartExample/plugin.xml index 2a960b8d78..ccea1d50e4 100644 --- a/Plugins/org.mitk.gui.qt.chartExample/plugin.xml +++ b/Plugins/org.mitk.gui.qt.chartExample/plugin.xml @@ -1,11 +1,12 @@ + icon="resources/chart.svg"/> diff --git a/Plugins/org.mitk.gui.qt.chartExample/resources/chart.svg b/Plugins/org.mitk.gui.qt.chartExample/resources/chart.svg new file mode 100644 index 0000000000..e7cfc1e749 --- /dev/null +++ b/Plugins/org.mitk.gui.qt.chartExample/resources/chart.svg @@ -0,0 +1,256 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Plugins/org.mitk.gui.qt.chartExample/resources/icon-license.txt b/Plugins/org.mitk.gui.qt.chartExample/resources/icon-license.txt new file mode 100644 index 0000000000..8e8134868b --- /dev/null +++ b/Plugins/org.mitk.gui.qt.chartExample/resources/icon-license.txt @@ -0,0 +1 @@ +See [FlatIcon] in Licenses/ICONS.md \ No newline at end of file diff --git a/Plugins/org.mitk.gui.qt.chartExample/resources/icon.xpm b/Plugins/org.mitk.gui.qt.chartExample/resources/icon.xpm deleted file mode 100644 index 9057c20bc6..0000000000 --- a/Plugins/org.mitk.gui.qt.chartExample/resources/icon.xpm +++ /dev/null @@ -1,21 +0,0 @@ -/* XPM */ -static const char * icon_xpm[] = { -"16 16 2 1", -" c #FF0000", -". c #000000", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" "}; diff --git a/Plugins/org.mitk.gui.qt.chartExample/src/internal/ChartExampleControls.ui b/Plugins/org.mitk.gui.qt.chartExample/src/internal/ChartExampleControls.ui index 2d052cb0d2..c862708844 100644 --- a/Plugins/org.mitk.gui.qt.chartExample/src/internal/ChartExampleControls.ui +++ b/Plugins/org.mitk.gui.qt.chartExample/src/internal/ChartExampleControls.ui @@ -1,341 +1,341 @@ ChartExampleControls 0 0 326 944 0 0 QmitkTemplate Data data label 0 0 data entry 0 0 Color 0 0 Line style 0 0 solid dashed Chart type 0 0 bar line area spline area-spline scatter Add data 0 - 50 + 0 Global options XAxis label YAxis label Y Axis scale linear logarithmic Show legend true Stacked data Show data points true Show Subchart Do image processing Create chart Clear chart Qt::Vertical 0 200 0 0 0 Qt::Vertical QSizePolicy::Expanding 20 0 QmitkChartWidget QWidget
QmitkChartWidget.h