|
Slicer 4.2
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Base/QTGUI/qSlicerAbstractModule.h>


Public Types | |
| typedef qSlicerAbstractCoreModule | Superclass |
Properties | |
| QIcon | icon |
| QImage | logo |
Public Member Functions | |
| Q_INVOKABLE QAction * | action () |
| virtual QIcon | icon () const |
| virtual QImage | logo () const |
| The logo of the module, the credits given by the grants or instution. | |
| qSlicerAbstractModule (QObject *parent=0) | |
| virtual | ~qSlicerAbstractModule () |
Protected Attributes | |
| QScopedPointer < qSlicerAbstractModulePrivate > | d_ptr |
Overrides qSlicerAbstractCoreModule and adds an icon property to the module and associates a QAction to it.
Definition at line 40 of file qSlicerAbstractModule.h.
Reimplemented from qSlicerAbstractCoreModule.
Reimplemented in qSlicerCLIModule, qSlicerLoadableModule, qSlicerScriptedLoadableModule, qSlicerEventBrokerModule, qSlicerCoreModule, qSlicerROIModule, qSlicerAnnotationsModule, qSlicerCamerasModule, qSlicerColorsModule, qSlicerCropVolumeModule, qSlicerDataModule, qSlicerDoubleArraysModule, qSlicerMeasurementsModule, qSlicerModelsModule, qSlicerMultiVolumeRenderingModule, qSlicerReformatModule, qSlicerSceneViewsModule, qSlicerWelcomeModule, qSlicerTractographyDisplayModule, qSlicerTractographyInteractiveSeedingModule, qSlicerTransformsModule, qSlicerViewControllersModule, qSlicerVolumeRenderingModule, and qSlicerVolumesModule.
Definition at line 50 of file qSlicerAbstractModule.h.
QIcon qSlicerAbstractModule::icon [read] |
This property holds the module's icon. It is also the icon of the module QAction (see action()).
Reimplemented in qSlicerScriptedLoadableModule.
Definition at line 46 of file qSlicerAbstractModule.h.
QImage qSlicerAbstractModule::logo [read] |
Definition at line 47 of file qSlicerAbstractModule.h.
| qSlicerAbstractModule::qSlicerAbstractModule | ( | QObject * | parent = 0 | ) |
| virtual qSlicerAbstractModule::~qSlicerAbstractModule | ( | ) | [virtual] |
| Q_INVOKABLE QAction* qSlicerAbstractModule::action | ( | ) |
Returns then associated QAction of the module. It contains all the informations relative to the module. The text (QAction::text()) and icon (QAction::icon()) are the module title and icon; the name of the module is saved in the QAction's data (QAction::data().toString()) and the module index is the QAction property "index" (QAction::property("index").toInt()). It is typically used in the module selector menu; triggering the QAction will make the module current.
| virtual QIcon qSlicerAbstractModule::icon | ( | ) | const [virtual] |
Icon of the module. Anytime a graphical representation of the module is needed, the icon is used. It's the icon shown in the module selector as well as in the frequently used module toolbar (if any).
Reimplemented in qSlicerScriptedLoadableModule, qSlicerAnnotationsModule, qSlicerCamerasModule, qSlicerColorsModule, qSlicerCropVolumeModule, qSlicerDataModule, qSlicerMeasurementsModule, qSlicerModelsModule, qSlicerMultiVolumeRenderingModule, qSlicerReformatModule, qSlicerSceneViewsModule, qSlicerWelcomeModule, qSlicerTransformsModule, qSlicerViewControllersModule, qSlicerVolumeRenderingModule, and qSlicerVolumesModule.
| virtual QImage qSlicerAbstractModule::logo | ( | ) | const [virtual] |
The logo of the module, the credits given by the grants or instution.
Reimplemented in qSlicerCLIModule.
QScopedPointer<qSlicerAbstractModulePrivate> qSlicerAbstractModule::d_ptr [protected] |
Reimplemented from qSlicerAbstractCoreModule.
Reimplemented in qSlicerCLIModule, qSlicerLoadableModule, qSlicerScriptedLoadableModule, qSlicerEventBrokerModule, qSlicerCoreModule, qSlicerROIModule, qSlicerAnnotationsModule, qSlicerCamerasModule, qSlicerColorsModule, qSlicerCropVolumeModule, qSlicerDataModule, qSlicerDoubleArraysModule, qSlicerMeasurementsModule, qSlicerModelsModule, qSlicerMultiVolumeRenderingModule, qSlicerReformatModule, qSlicerSceneViewsModule, qSlicerWelcomeModule, qSlicerTransformsModule, qSlicerViewControllersModule, qSlicerVolumeRenderingModule, and qSlicerVolumesModule.
Definition at line 72 of file qSlicerAbstractModule.h.
1.7.4