|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
27 #ifndef FRAMEEXPLORER_H
28 #define FRAMEEXPLORER_H
36 #include <QTreeWidget>
37 #include <QTreeWidgetItem>
75 void refresh(Viewer* whoIsAsking =
nullptr)
override;
85 void frameSelectionChanged();
void refresh(Viewer *whoIsAsking=nullptr) override
Definition: FrameExplorer.cpp:70
void setDescription(QString)
set the viewer's description
Definition: Viewer.cpp:104
QTreeWidgetItem * getNewItem(QTreeWidgetItem *parent, camitk::Component *)
Definition: FrameExplorer.cpp:88
Frame Explorer window, display the hierachy of the frames of all the data currently opened in the app...
Definition: FrameExplorer.h:60
void remove()
clear the tree explorer
Definition: FrameExplorer.cpp:149
QWidget * getWidget() override
get the frame explorer widget (QTreeWidget)
Definition: FrameExplorer.cpp:45
virtual const QVector< InterfaceFrame * > & getChildrenFrame() const =0
Get the Children Frames from the current Frame in the Frame Hierarchy The Frame hierarchy may not be ...
void setIcon(QPixmap icon)
set the default icon for the viewer extension
Definition: Viewer.cpp:84
QString getName() const
get the name of the viewer
Definition: Viewer.h:200
virtual const QString & getFrameName() const =0
Hierarchy accessors / Modifyers.
QTreeWidget * explorerTree
the list view
Definition: FrameExplorer.h:107
Q_INVOKABLE FrameExplorer(QString)
Construtor.
Definition: FrameExplorer.cpp:38
#define FRAMEEXPLORER_API
Definition: FrameExplorerAPI.h:54
QString getName() const override
get the name to be displayed
Definition: sdk/libraries/core/component/Component.h:907
This class describes what are the methods to implement in order to manage a Component position in spa...
Definition: InterfaceFrame.h:64
QList< Component * > ComponentList
A list of Component.
Definition: CamiTKAPI.h:127
virtual InterfaceFrame * getParentFrame() const =0
Get the parent frame.
virtual void setVisibility(QString, bool)
set the visibility inside the viewer of the given name (the viewer needs to be a registered viewer)
Definition: sdk/libraries/core/component/Component.cpp:224
Viewer is an abstract class that is the base class for all viewers.
Definition: Viewer.h:180
virtual QWidget * getWidget()=0
get the viewer widget.
virtual void refresh(Viewer *whoIsAsking=nullptr)=0
refresh the view (can be interesting to know which other viewer is calling this)
QTreeWidgetItem * add(QTreeWidgetItem *, camitk::Component *)
recursively add the Component in the tree explorer and return the QTreeWidgetItem of the InterfaceNod...
Definition: FrameExplorer.cpp:112
void frameSelectionChanged()
slot called whenever the selection changed in the explorer
Definition: FrameExplorer.cpp:156
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition: sdk/libraries/core/component/Component.h:302
Definition: Action.cpp:35
InterfaceFrame * getFrame()
get the associated frame
Definition: sdk/libraries/core/component/Component.h:917