 |
Computer Assited Medical Intervention Tool Kit
version 4.1
|
Go to the documentation of this file.
26 #ifndef ACTIONWIDGET_H
27 #define ACTIONWIDGET_H
36 #include <QScrollArea>
73 class CAMITK_API ActionWidget :
public QFrame {
76 ActionWidget(Action*);
78 ~ActionWidget()
override;
84 void setButtonVisibility(
bool);
88 void setNameVisibility(
bool visible);
92 void setDescriptionVisibility(
bool visible);
95 void setAutoUpdateProperty(
bool autoUpdate);
99 QString getTargetLabel();
112 QLabel* actionNameLabel;
115 QTextEdit* descriptionTextEdit;
123 #endif // ACTIONWIDGET_H
Definition: objectcontroller.h:47
const ComponentList getTargets() const
the currently selected and valid (regarding the component property) components, for which this action...
Definition: Action.cpp:159
Action class is an abstract class that enables you to build a action (generally on a component)....
Definition: Action.h:230
void setObject(QObject *object)
mutatorMethod of the object at unroll in the property browser
Definition: ObjectController.cpp:577
The object controller class.
Definition: ObjectController.h:185
Action * action
Current action.
Definition: ActionViewer.h:170
QString getName() const override
get the name to be displayed
Definition: sdk/libraries/core/component/Component.h:849
void setAutoUpdateProperty(bool)
if set, the properties are immediatly updated in the managed object (default false)
Definition: ObjectController.cpp:616
@ BUTTON
It is like the GROUPBOX but the buttons allow the user to control the comput display of arborescence.
Definition: ObjectController.h:198
setObjectName("RendererWidget")
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition: sdk/libraries/core/component/Component.h:298
#define CAMITK_API
Definition: CamiTKAPI.h:49
Definition: Action.cpp:36