 |
Computer Assited Medical Intervention Tool Kit
version 4.1
|
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);
103 void accept()
override;
106 void updateComponentExtensionList();
109 void updateActionExtensionList();
127 void readUserExtensions();
130 void writeUserExtensions();
#define CAMITK_WARNING(MSG)
Log for warning verbosity (the most common one) Will appear by default.
Definition: Log.h:263
Definition: objectcontroller.h:47
This class describes what is a generic Component extension. To add a ComponentExtension to CamiTK cor...
Definition: ComponentExtension.h:80
Ui::ui_Settings * myUI
Qt ui designed in Qt Designer.
Definition: SettingsDialog.h:118
QList< Action * > ActionList
A list of Action.
Definition: CamiTKAPI.h:95
This class controls the settings dialog user interface.
Definition: SettingsDialog.h:54
Action class is an abstract class that enables you to build a action (generally on a component)....
Definition: Action.h:230
The object controller class.
Definition: ObjectController.h:185
QStringList userComponents
the list of user component extension locations
Definition: SettingsDialog.h:121
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:273
ObjectController * objectController
the property editor
Definition: SettingsDialog.h:112
SettingsDialog()
default constructor
Definition: SettingsDialog.cpp:75
virtual 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:124
QMap< QString, QObject * > editedObjectMap
the map to get an edited object from its name
Definition: SettingsDialog.h:115
QString getLocation() const
get the file path (location of the .dll/.so/.dylib) of this plugin
Definition: ComponentExtension.h:163
virtual QString getName() const =0
#define CAMITK_API
Definition: CamiTKAPI.h:49
Definition: Action.cpp:36