Oh, i already found the error. The GUI class must begin with Qmitk and must end 
with GUI, very strange...






Hi,

i try to extend the interactive segmentation with my personal autosegmentation 
tool.

Therefore i made a class


class My_EXPORT MySegmentation : public mitk::AutoSegmentationTool

{

...

const char*

GetName() const

{

return "My segmentation tool";

}

...

}



with



namespace mitk {

MITK_TOOL_MACRO(My_EXPORT, MySegmentation , "My segmentation tool");

}



in the cpp file. I extended the parameters of SetDisplayedToolGroups function 
in the SegmentationView file and my tool appers. Now i tried to add a gui. I 
made a new class with

class My_EXPORT MySegmentationGUI : public QmitkToolGUI

{

QOBJECT

....

}

with

MITK_TOOL_GUI_MACRO(My_EXPORT, MySegmentationGUI , "")



in the cpp file. But the GUI never appears, any suggestions?? In my opinion i 
made everything like in the QmitkBinaryThresholdToolGUI




------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to