Hi Jernej,
I think you will be able to only pick one out of elegant/time efficient…
As for quick and dirty:
The fastest way to get a new view would be to copy – paste – rename [1,2,3] in
the same folder, rename the classes themselves and add the files/IDs to [4,5,6].
Nicer and longer:
Create a new plugin and port the desired functionality/layout to the new
plugin, remember to switch it on in CMake.
More info at [7,8].
Best,
Caspar
[1]
https://phabricator.mitk.org/source/mitk/browse/master/Plugins/org.mitk.gui.qt.measurementtoolbox/src/internal/QmitkImageStatisticsView.cpp
[2]
https://phabricator.mitk.org/source/mitk/browse/master/Plugins/org.mitk.gui.qt.measurementtoolbox/src/internal/QmitkImageStatisticsView.h
[3]
https://phabricator.mitk.org/source/mitk/browse/master/Plugins/org.mitk.gui.qt.measurementtoolbox/src/internal/QmitkImageStatisticsViewControls.ui
[4]
https://phabricator.mitk.org/source/mitk/browse/master/Plugins/org.mitk.gui.qt.measurementtoolbox/src/internal/mitkPluginActivator.cpp
[5]
https://phabricator.mitk.org/source/mitk/browse/master/Plugins/org.mitk.gui.qt.measurementtoolbox/files.cmake
[6]
https://phabricator.mitk.org/source/mitk/browse/master/Plugins/org.mitk.gui.qt.measurementtoolbox/plugin.xml
[7] http://docs.mitk.org/nightly/NewPluginPage.html
[8] http://docs.mitk.org/nightly/NewViewPage.html
Von: Jernej Finžgar [mailto:jernej.rudi.finz...@gmail.com]
Gesendet: Mittwoch, 22. März 2017 17:04
An: mitk-users@lists.sourceforge.net
Betreff: [mitk-users] Editing an MITK plugin
Hello!
I have a question regarding MITK plugins; what would be the most elegant/time
efficient way (for a beginner in MITK development) to edit an existing MITK
plugin (for example the "Statistics" plugin). By editing I mean for example
keeping the layout as it is, and changing the algorithms etc. Ideally, I would
like to keep the original "Statistics" plugin intact, and create and alter a
copy of it, which would in the end be included in the build.
Thank you in advance!
Best regards,
Jernej F.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users