Base Class to Hook ToolEngines into the CellViewer. More...
Inherits QObject.
Public Member Functions | |
virtual void | addToMenu (CellViewer *)=0 |
virtual const Name & | getName () const =0 |
Base Class to Hook ToolEngines into the CellViewer.
This class implement the graphical conterpart of a ToolEngine. It is designed to work with the Unicorn GUI, to insert new menus and possibly define new graphical overlays (that are not associated to Hurricane::BasicLayer).
Derived classes should provide a method that returns a new GraphicTool to be passed to the Unicorn::UnicornGui::registerTool() method. For our tools, we choose to systematically implement a static
method which we name grab().
|
pure virtual |
Callback function that should insert the menus related to the tool in the CellViewer hierarchy.
|
pure virtual |
Returns: An unique identifier for the tool.
Generated by doxygen 1.8.14 on Sun Nov 21 2021 | Return to top of page |
Coriolis Core (CRL) | Copyright © 2008-2020 Sorbonne Universite, All rights reserved |