Discussion:
[mitk-users] Customize Project
LOPEZ VELAZCO, ROCIO
2017-05-15 16:12:21 UTC
Permalink
Hello,

I am new to MITK development. I would like to create a customize
Application, only with some plugins. I wonder if I can change the User
Interface so that I customize the welcome layout so that having fewer
things? I am sure I can do that but I don't know from where... I have
downloaded and built the Project Template and it works perfectly.

Also, in section "Using QtCreator with the MITK Project Template
<http://mitk.org/wiki/Developer_Tutorial_%28Ubuntu%29>", when you say "In
the project settings", where should I look for that project settings?
cmake?

Thank you very much in advance.

Best Regards,

Rocío López
Dinkelacker, Stefan
2017-05-16 00:51:19 UTC
Permalink
Hi,


it's the project settings in Qt Creator. The one where you can set the application that is run by default when pressing the run button. You can easily customize the Workbench. You will only see the plugins that you switch on in CMake (regarding the developer tutorial, binary directory in CMake GUI set to MITK-pt-sb/MITK-superbuild/MITK-build). You also have the option to go further and customize like everything with your own Workbench-based app including your own perspectives (arrangement of plugins), own welcome screen and customized window title. There's an example at [1].


Best,

Stefan


[1] https://github.com/MITK/MITK/tree/master/Plugins/org.mitk.gui.qt.diffusionimagingapp?

________________________________
Von: LOPEZ VELAZCO, ROCIO <***@upf.edu>
Gesendet: Montag, 15. Mai 2017 18:12
An: mitk-***@lists.sourceforge.net
Betreff: [mitk-users] Customize Project

Hello,

I am new to MITK development. I would like to create a customize Application, only with some plugins. I wonder if I can change the User Interface so that I customize the welcome layout so that having fewer things? I am sure I can do that but I don't know from where... I have downloaded and built the Project Template and it works perfectly.

Also, in section "Using QtCreator with the MITK Project Template<http://mitk.org/wiki/Developer_Tutorial_%28Ubuntu%29>", when you say "In the project settings", where should I look for that project settings? cmake?

Thank you very much in advance.

Best Regards,

Rocío López
LOPEZ VELAZCO, ROCIO
2017-05-16 12:17:49 UTC
Permalink
Hello,

Thank you for your fast answer. I was successful about running my app from
Qt Creator, however, I don't understand how to "customize everything" like
in DiffusionImagingApp. In the example. in the source directory
src/internal I find "QmitkWelcomeScreenViewControls.ui", and in my Project
Template I do not have any .ui file so that modify the Welcome Layout.
Should I create and add it in the folders and files as in the Diffusion
Imaging App? How could I do it from the Qt Creator?

Thank you very much in advance.

Regards,

Rocío

2017-05-16 2:51 GMT+02:00 Dinkelacker, Stefan <
***@dkfz-heidelberg.de>:

> Hi,
>
>
> it's the project settings in Qt Creator. The one where you can set the
> application that is run by default when pressing the run button. You can
> easily customize the Workbench. You will only see the plugins that you
> switch on in CMake (regarding the developer tutorial, binary directory in
> CMake GUI set to MITK-pt-sb/MITK-superbuild/MITK-build). You also have
> the option to go further and customize like everything with your own
> Workbench-based app including your own perspectives (arrangement of
> plugins), own welcome screen and customized window title. There's an
> example at [1].
>
>
> Best,
>
> Stefan
>
>
> [1] https://github.com/MITK/MITK/tree/master/Plugins/org.mitk.gui.qt.
> diffusionimagingapp​
> ------------------------------
> *Von:* LOPEZ VELAZCO, ROCIO <***@upf.edu>
> *Gesendet:* Montag, 15. Mai 2017 18:12
> *An:* mitk-***@lists.sourceforge.net
> *Betreff:* [mitk-users] Customize Project
>
> Hello,
>
> I am new to MITK development. I would like to create a customize
> Application, only with some plugins. I wonder if I can change the User
> Interface so that I customize the welcome layout so that having fewer
> things? I am sure I can do that but I don't know from where... I have
> downloaded and built the Project Template and it works perfectly.
>
> Also, in section "Using QtCreator with the MITK Project Template
> <http://mitk.org/wiki/Developer_Tutorial_%28Ubuntu%29>", when you say "In
> the project settings", where should I look for that project settings?
> cmake?
>
> Thank you very much in advance.
>
> Best Regards,
>
> Rocío López
>
>
Dinkelacker, Stefan
2017-05-16 13:35:03 UTC
Permalink
Yes, if you really want to have your own welcome screen you would have to create it. The DiffusionImagingApp is a good example as it does all of the things you want to do. You would need to create your own app/plugin but could use DiffusionIMagingApp to see what is necessary. I would recommend to start with something more easy. What do you want to do with MITK? Is it just the standard set of plugins you want to change? – In that case all you need to do is switch them on/off in CMake. Do you want to add your own plugins? – See the awesome plugin/module examples in the MITK-ProjectTemplate.

Best,
Stefan

http://doc.qt.io/qt-5/designer-using-a-ui-file.html

From: LOPEZ VELAZCO, ROCIO [mailto:***@upf.edu]
Sent: Dienstag, 16. Mai 2017 14:18
To: Dinkelacker, Stefan
Cc: mitk-***@lists.sourceforge.net
Subject: Re: [mitk-users] Customize Project

Hello,
Thank you for your fast answer. I was successful about running my app from Qt Creator, however, I don't understand how to "customize everything" like in DiffusionImagingApp. In the example. in the source directory src/internal I find "QmitkWelcomeScreenViewControls.ui", and in my Project Template I do not have any .ui file so that modify the Welcome Layout. Should I create and add it in the folders and files as in the Diffusion Imaging App? How could I do it from the Qt Creator?
Thank you very much in advance.
Regards,
Rocío

2017-05-16 2:51 GMT+02:00 Dinkelacker, Stefan <***@dkfz-heidelberg.de<mailto:***@dkfz-heidelberg.de>>:

Hi,



it's the project settings in Qt Creator. The one where you can set the application that is run by default when pressing the run button. You can easily customize the Workbench. You will only see the plugins that you switch on in CMake (regarding the developer tutorial, binary directory in CMake GUI set to MITK-pt-sb/MITK-superbuild/MITK-build). You also have the option to go further and customize like everything with your own Workbench-based app including your own perspectives (arrangement of plugins), own welcome screen and customized window title. There's an example at [1].



Best,

Stefan



[1] https://github.com/MITK/MITK/tree/master/Plugins/org.mitk.gui.qt.diffusionimagingapp​

________________________________
Von: LOPEZ VELAZCO, ROCIO <***@upf.edu<mailto:***@upf.edu>>
Gesendet: Montag, 15. Mai 2017 18:12
An: mitk-***@lists.sourceforge.net<mailto:mitk-***@lists.sourceforge.net>
Betreff: [mitk-users] Customize Project

Hello,
I am new to MITK development. I would like to create a customize Application, only with some plugins. I wonder if I can change the User Interface so that I customize the welcome layout so that having fewer things? I am sure I can do that but I don't know from where... I have downloaded and built the Project Template and it works perfectly.
Also, in section "Using QtCreator with the MITK Project Template<http://mitk.org/wiki/Developer_Tutorial_%28Ubuntu%29>", when you say "In the project settings", where should I look for that project settings? cmake?
Thank you very much in advance.
Best Regards,
Rocío López
LOPEZ VELAZCO, ROCIO
2017-05-17 10:25:21 UTC
Permalink
Ok, thank you very much. I will create our own welcome screen.

Yes, I would like to change the standard set of plugins: add some of the
ones that already exists but also add plugins created by ourselves.

When adding a plugin created by ourselves I got an error. Maybe I am not
adding the plugin in the proper way: I copied my plugin (named:
"edu.upf.group.pluginname") source code in the
/MITK-ProjectTemplate/Plugins folder and I added the line
"Plugins/edu.upf.group.pluginname:ON" in the Plugins.cmake file of that
folder. Then I try to build the MITK-ProjectTemplate again and I get the
following error:



*The following plug-ins are using invalid symbolic names*
Refering to the edu.upf.group.pluginname.
Te fact that it has a different name than "my.awesomeproject" souldn't
affect the integration of a plugin, isn't it?

Could you confirm me that I am correctly adding the plugin? and if it is
OK, why might I get that error?

Thank you very much in advance!

2017-05-16 15:35 GMT+02:00 Dinkelacker, Stefan <
***@dkfz-heidelberg.de>:

> Yes, if you really want to have your own welcome screen you would have to
> create it. The DiffusionImagingApp is a good example as it does all of the
> things you want to do. You would need to create your own app/plugin but
> could use DiffusionIMagingApp to see what is necessary. I would recommend
> to start with something more easy. What do you want to do with MITK? Is it
> just the standard set of plugins you want to change? – In that case all you
> need to do is switch them on/off in CMake. Do you want to add your own
> plugins? – See the awesome plugin/module examples in the
> MITK-ProjectTemplate.
>
>
>
> Best,
> Stefan
>
>
>
> http://doc.qt.io/qt-5/designer-using-a-ui-file.html
>
>
>
> *From:* LOPEZ VELAZCO, ROCIO [mailto:***@upf.edu]
> *Sent:* Dienstag, 16. Mai 2017 14:18
> *To:* Dinkelacker, Stefan
> *Cc:* mitk-***@lists.sourceforge.net
> *Subject:* Re: [mitk-users] Customize Project
>
>
>
> Hello,
>
> Thank you for your fast answer. I was successful about running my app from
> Qt Creator, however, I don't understand how to "customize everything" like
> in DiffusionImagingApp. In the example. in the source directory
> src/internal I find "QmitkWelcomeScreenViewControls.ui", and in my
> Project Template I do not have any .ui file so that modify the Welcome
> Layout. Should I create and add it in the folders and files as in the
> Diffusion Imaging App? How could I do it from the Qt Creator?
>
> Thank you very much in advance.
>
> Regards,
>
> Rocío
>
>
>
> 2017-05-16 2:51 GMT+02:00 Dinkelacker, Stefan <
> ***@dkfz-heidelberg.de>:
>
> Hi,
>
>
>
> it's the project settings in Qt Creator. The one where you can set the
> application that is run by default when pressing the run button. You can
> easily customize the Workbench. You will only see the plugins that you
> switch on in CMake (regarding the developer tutorial, binary directory in
> CMake GUI set to MITK-pt-sb/MITK-superbuild/MITK-build). You also have
> the option to go further and customize like everything with your own
> Workbench-based app including your own perspectives (arrangement of
> plugins), own welcome screen and customized window title. There's an
> example at [1].
>
>
>
> Best,
>
> Stefan
>
>
>
> [1] https://github.com/MITK/MITK/tree/master/Plugins/org.mit
> k.gui.qt.diffusionimagingapp​
> ------------------------------
>
> *Von:* LOPEZ VELAZCO, ROCIO <***@upf.edu>
> *Gesendet:* Montag, 15. Mai 2017 18:12
> *An:* mitk-***@lists.sourceforge.net
> *Betreff:* [mitk-users] Customize Project
>
>
>
> Hello,
>
> I am new to MITK development. I would like to create a customize
> Application, only with some plugins. I wonder if I can change the User
> Interface so that I customize the welcome layout so that having fewer
> things? I am sure I can do that but I don't know from where... I have
> downloaded and built the Project Template and it works perfectly.
>
> Also, in section "Using QtCreator with the MITK Project Template
> <http://mitk.org/wiki/Developer_Tutorial_%28Ubuntu%29>", when you say "In
> the project settings", where should I look for that project settings?
> cmake?
>
> Thank you very much in advance.
>
> Best Regards,
>
> Rocío López
>
>
>
>
>
Dinkelacker, Stefan
2017-05-17 12:05:57 UTC
Permalink
You can change the allowed pattern here [1].

Best,
Stefan

[1] https://github.com/MITK/MITK-ProjectTemplate/blob/master/CMakeLists.txt#L379


From: LOPEZ VELAZCO, ROCIO [mailto:***@upf.edu]
Sent: Mittwoch, 17. Mai 2017 12:25
To: Dinkelacker, Stefan
Cc: mitk-***@lists.sourceforge.net
Subject: Re: [mitk-users] Customize Project

Ok, thank you very much. I will create our own welcome screen.
Yes, I would like to change the standard set of plugins: add some of the ones that already exists but also add plugins created by ourselves.
When adding a plugin created by ourselves I got an error. Maybe I am not adding the plugin in the proper way: I copied my plugin (named: "edu.upf.group.pluginname") source code in the /MITK-ProjectTemplate/Plugins folder and I added the line "Plugins/edu.upf.group.pluginname:ON" in the Plugins.cmake file of that folder. Then I try to build the MITK-ProjectTemplate again and I get the following error:

The following plug-ins are using invalid symbolic names
Refering to the edu.upf.group.pluginname.
Te fact that it has a different name than "my.awesomeproject" souldn't affect the integration of a plugin, isn't it?

Could you confirm me that I am correctly adding the plugin? and if it is OK, why might I get that error?
Thank you very much in advance!

2017-05-16 15:35 GMT+02:00 Dinkelacker, Stefan <***@dkfz-heidelberg.de<mailto:***@dkfz-heidelberg.de>>:
Yes, if you really want to have your own welcome screen you would have to create it. The DiffusionImagingApp is a good example as it does all of the things you want to do. You would need to create your own app/plugin but could use DiffusionIMagingApp to see what is necessary. I would recommend to start with something more easy. What do you want to do with MITK? Is it just the standard set of plugins you want to change? – In that case all you need to do is switch them on/off in CMake. Do you want to add your own plugins? – See the awesome plugin/module examples in the MITK-ProjectTemplate.

Best,
Stefan

http://doc.qt.io/qt-5/designer-using-a-ui-file.html

From: LOPEZ VELAZCO, ROCIO [mailto:***@upf.edu<mailto:***@upf.edu>]
Sent: Dienstag, 16. Mai 2017 14:18
To: Dinkelacker, Stefan
Cc: mitk-***@lists.sourceforge.net<mailto:mitk-***@lists.sourceforge.net>
Subject: Re: [mitk-users] Customize Project

Hello,
Thank you for your fast answer. I was successful about running my app from Qt Creator, however, I don't understand how to "customize everything" like in DiffusionImagingApp. In the example. in the source directory src/internal I find "QmitkWelcomeScreenViewControls.ui", and in my Project Template I do not have any .ui file so that modify the Welcome Layout. Should I create and add it in the folders and files as in the Diffusion Imaging App? How could I do it from the Qt Creator?
Thank you very much in advance.
Regards,
Rocío

2017-05-16 2:51 GMT+02:00 Dinkelacker, Stefan <***@dkfz-heidelberg.de<mailto:***@dkfz-heidelberg.de>>:

Hi,



it's the project settings in Qt Creator. The one where you can set the application that is run by default when pressing the run button. You can easily customize the Workbench. You will only see the plugins that you switch on in CMake (regarding the developer tutorial, binary directory in CMake GUI set to MITK-pt-sb/MITK-superbuild/MITK-build). You also have the option to go further and customize like everything with your own Workbench-based app including your own perspectives (arrangement of plugins), own welcome screen and customized window title. There's an example at [1].



Best,

Stefan



[1] https://github.com/MITK/MITK/tree/master/Plugins/org.mitk.gui.qt.diffusionimagingapp​

________________________________
Von: LOPEZ VELAZCO, ROCIO <***@upf.edu<mailto:***@upf.edu>>
Gesendet: Montag, 15. Mai 2017 18:12
An: mitk-***@lists.sourceforge.net<mailto:mitk-***@lists.sourceforge.net>
Betreff: [mitk-users] Customize Project

Hello,
I am new to MITK development. I would like to create a customize Application, only with some plugins. I wonder if I can change the User Interface so that I customize the welcome layout so that having fewer things? I am sure I can do that but I don't know from where... I have downloaded and built the Project Template and it works perfectly.
Also, in section "Using QtCreator with the MITK Project Template<http://mitk.org/wiki/Developer_Tutorial_%28Ubuntu%29>", when you say "In the project settings", where should I look for that project settings? cmake?
Thank you very much in advance.
Best Regards,
Rocío López
y***@pollen-metrology.com
2017-05-22 06:13:19 UTC
Permalink
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Dinkelacker, Stefan
2017-05-22 10:20:23 UTC
Permalink
Hi,


yes, they are synced (master branch + release tags). Github pull requests are the preferred way to propose modifications. However, we are aware that we have quite a backlog there, so unless it's about critical issues, it might take a few weeks before we really integrate a pull request. Sorry in advance. :-)


Best,

Stefan

________________________________
Von: ***@pollen-metrology.com <***@pollen-metrology.com>
Gesendet: Montag, 22. Mai 2017 08:13
An: mitk-***@lists.sourceforge.net
Betreff: [mitk-users] Mitk repository

Hi,

As I understood there is 2 mitk repositories: one hosted on github and one hosted on a phabricator server. I suppose there are sync.

After recent discussion on this list I wonder if there is a prefered repository to propose modifications ?

Thank you
Yann Zimmermann
Loading...