|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
26 #ifndef SETTINGS_DIALOG_H
27 #define SETTINGS_DIALOG_H
67 void editSettings(QObject*);
85 virtual void on_objectList_itemSelectionChanged();
87 virtual void on_resetConfigurationButton_released();
89 virtual void on_addComponentExtensionButton_released();
91 virtual void on_removeComponentExtensionButton_released();
93 virtual void on_componentExtensionList_cellClicked(
int,
int);
95 virtual void on_addActionExtensionButton_released();
97 virtual void on_removeActionExtensionButton_released();
99 virtual void on_actionExtensionList_cellClicked(
int,
int);
101 virtual void on_addViewerExtensionButton_released();
103 virtual void on_removeViewerExtensionButton_released();
105 virtual void on_viewerExtensionList_cellClicked(
int,
int);
109 void accept()
override;
112 void updateComponentExtensionList();
115 void updateActionExtensionList();
118 void updateViewerExtensionList();
139 void readUserExtensions();
142 void writeUserExtensions();
#define CAMITK_WARNING(MSG)
Log for warning verbosity (the most common one) Will appear by default.
Definition: Log.h:266
Definition: objectcontroller.h:47
This class describes what is a generic Component extension. To add a ComponentExtension to CamiTK cor...
Definition: ComponentExtension.h:83
const ViewerList & getViewers()
get the list of viewer instances registered by this extension
Definition: ViewerExtension.cpp:190
Ui::ui_Settings * myUI
Qt ui designed in Qt Designer.
Definition: SettingsDialog.h:127
QString getLocation() const
get the file path (location of the .dll/.so/.dylib) of this plugin
Definition: ViewerExtension.cpp:107
QList< Action * > ActionList
A list of Action.
Definition: CamiTKAPI.h:136
This class controls the settings dialog user interface.
Definition: SettingsDialog.h:54
QString getName() const
get the name of the viewer
Definition: Viewer.h:200
Action class is an abstract class that enables you to build a action (generally on a component)....
Definition: Action.h:231
virtual QString getName()=0
returns the viewer extension name (to be overriden in the derived class)
The object controller class.
Definition: ObjectController.h:185
QStringList userComponents
the list of user component extension locations
Definition: SettingsDialog.h:130
Definition: SettingsDialog.h:31
virtual QStringList getFileExtensions() const =0
get the list of managed extensions (each file with an extension in the list can be loaded by this Com...
#define CAMITK_ERROR(MSG)
Log for error verbosity (the minimum verbosity) Will always appear.
Definition: Log.h:276
ObjectController * objectController
the property editor
Definition: SettingsDialog.h:121
SettingsDialog()
default constructor
Definition: SettingsDialog.cpp:77
virtual camitk::Action::ApplyStatus apply()
apply the action select the last instantiated component
Definition: SetPathToTestData.cpp:54
QStringList userActions
the list of user action extension locations
Definition: SettingsDialog.h:133
QStringList userViewers
the list of user action extension locations
Definition: SettingsDialog.h:136
Viewer is an abstract class that is the base class for all viewers.
Definition: Viewer.h:180
QList< Viewer * > ViewerList
A list of Viewer.
Definition: CamiTKAPI.h:139
QMap< QString, QObject * > editedObjectMap
the map to get an edited object from its name
Definition: SettingsDialog.h:124
virtual QPixmap getIcon()
get the viewer icon
Definition: Viewer.cpp:89
QString getLocation() const
get the file path (location of the .dll/.so/.dylib) of this plugin
Definition: ComponentExtension.h:143
This class describes what is a generic Action extension. To add a ActionExtension to CamiTK core,...
Definition: ViewerExtension.h:108
virtual QString getName() const =0
#define CAMITK_API
Definition: CamiTKAPI.h:49
Definition: Action.cpp:35