Hi Tangi,
the QmitkFunctionality is a convenience class providing methods that are
frequently used by nearly all modules in a MITK application. I just gave a
short seminar on this class:
http://www.mitk.org/wiki/BugSquashingSeminars?action=AttachFile&do=view&target=QmitkFunctionality.pdf
However, if you want to contribute view plugins (GUI parts) to a BlueBerry Qt
workbench, the only prerequisite is to implement a class which inherits from
berry::QtViewPart. Have a look in QmitkFunctionality.h. The class itself is
inherited from berry::QtViewPart. So the solution would be to write your own
functionality inheriting from berry::QtViewPart. E.g., the DataManager view is
a class which does not inherit from QmitkFunctionality because it doesn`t need
the MultiWidget.
The Bundle Generator generates a QmitkFunctionality-inherited class by default.
You may change this afterwards manually, the view itself is exported as
berry::IViewPart. As you can see, in BlueBerry it`s all about interfaces ;)
Bye,
Michael
Von: Tangi Meyer [mailto:[email protected]]
Gesendet: Donnerstag, 11. März 2010 12:27
An: mitk-users
Cc: Zelzer Sascha
Betreff: [mitk-users] Questions regarding QMitkFunctionnality.
Dear All,
We are looking for some advices regarding the QmitkFunctionnality principles.
Basically, the QmitkFunctionnality is used as a kind of interface for new
plugin/view. It provides access to different services and to the
QmitkStdMultiWidget (which is also linked with the berry editor).
In our approach, we would like our application views:
- to have access to our own berry services
- to use our own 3D widgets without using the QmitkStdMultiWidget.
So the first solution coming to our mind is buidlding our functionnality class
that would inherits from the QmitkFunctionnality.
However, this would mean embedding the QmitkStdMultiWidget without using it.
Also, will the Bundle generator properly handle the dependencies (will try to
test it today)? The point is that such a class will be specific to our
application and therefore shall not be part of the mitk svn ...
Another solution could be to have a more abstracted QmitkFunctionnality class
that can be derived in specific applications and that the Bundle generator can
take into account.
Thank you in advance for your answers!
Best regards,
Tangi
-------------------------------------
Tangi MEYER
Virtual and Augmented Reality
System and Software Engineer
Leuvensesteenweg 325
B-1932 Zaventem - Belgium
Telephone: +32 (0) 2 721 54 84
Fax: +32 (0) 2 721 54 44
-------------------------------------
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users