Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 99fe0419 authored by saubatn's avatar saubatn
Browse files

FEATURE 588 Add missing Q_OBJECT Qt macro (avoid Configuration warning). Don't...

FEATURE 588 Add missing Q_OBJECT Qt macro (avoid Configuration warning). Don't forget to configure again your code after updating.

git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@1861 ec899d31-69d1-42ba-9299-647d76f65fb3
parent 191051fd
......@@ -31,14 +31,15 @@
#include <ActionWidget.h>
/**
*
*
* @ingroup group_cepimaging_actions_itkfilters
*
*
* @brief
* Perform a Canny edge detection on the @ref camitk::ImageComponent "ImageComponent"
*
*
**/
class CannyEdgeDetection : public camitk::Action {
Q_OBJECT
public:
/// Default Constructor
......
......@@ -31,14 +31,15 @@
#include <ActionWidget.h>
/**
*
*
* @ingroup group_cepimaging_actions_itkfilters
*
*
* @brief
* Perform a gradient magnitude recursive filter on the @ref camitk::ImageComponent "ImageComponent"
*
*
**/
class GradientMagnitudeRecursiveGaussian : public camitk::Action {
Q_OBJECT
public:
......
......@@ -31,14 +31,15 @@
#include <ActionWidget.h>
/**
*
*
* @ingroup group_cepimaging_actions_itkfilters
*
*
* @brief
* Perform a laplacian filter on the @ref camitk::ImageComponent "ImageComponent"
*
*
**/
class Laplacian : public camitk::Action {
Q_OBJECT
public:
......
......@@ -31,14 +31,15 @@
#include <ActionWidget.h>
/**
*
*
* @ingroup group_cepimaging_actions_itkfilters
*
*
* @brief
* Perform a laplacian-gaussian recursive filter on the @ref camitk::ImageComponent "ImageComponent"
*
*
**/
class LaplacianRecursiveGaussian : public camitk::Action {
Q_OBJECT
public:
/// Default Constructor
......
......@@ -31,14 +31,15 @@
#include <ActionWidget.h>
/**
*
*
* @ingroup group_cepimaging_actions_itkfilters
*
*
* @brief
* Perform a mean filter on the @ref camitk::ImageComponent "ImageComponent"
*
*
**/
class MeanFilter : public camitk::Action {
Q_OBJECT
public:
/// Default Constructor
......
......@@ -31,14 +31,15 @@
#include <ActionWidget.h>
/**
*
*
* @ingroup group_cepimaging_actions_itkfilters
*
*
* @brief
* Perform a median filter on the @ref camitk::ImageComponent "ImageComponent"
*
*
**/
class MedianFilter : public camitk::Action {
Q_OBJECT
public:
......
......@@ -32,14 +32,15 @@
#include <ActionWidget.h>
/**
*
*
* @ingroup group_cepimaging_actions_itkfilters
*
*
* @brief
* Perform the Sobel edge detection on the @ref camitk::ImageComponent "ImageComponent"
*
*
**/
class SobelEdgeDetection : public camitk::Action {
Q_OBJECT
public:
......
......@@ -29,14 +29,15 @@
#include <ImageComponent.h>
/**
*
*
* @ingroup group_cepimaging_actions_itksegmentation
*
*
* @brief
* Segment the @ref camitk::ImageComponent "ImageComponent" using a manual threshold.
*
*
**/
class ManualThreshold : public camitk::Action {
Q_OBJECT
public:
/// Default Constructor
......
......@@ -40,22 +40,22 @@ class DicomDialogEntry;
#include "DicomSerie.h"
/**
/**
* @ingroup group_cepimaging_components_dicomimage
*
*
* @brief
* DICOM image Component manager.
*
*
* @note This @ref camitk::Component "Component" requires the GDCM library in order to work correctly.
* @note This class represents the controller (in the MVP design pattern) of the DICOM Component
*/
class DicomComponentExtension : public camitk::ComponentExtension {
Q_OBJECT
Q_INTERFACES(camitk::ComponentExtension);
Q_INTERFACES(camitk::ComponentExtension)
public:
/// Constructor
DicomComponentExtension() : ComponentExtension() {};
DicomComponentExtension() : ComponentExtension() {}
/// Method returning the component extension name
virtual QString getName() const {
......@@ -73,10 +73,10 @@ public:
*/
virtual QStringList getFileExtensions() const;
/** Open a single .dcm image or a directory containing files to be read
/** Open a single .dcm image or a directory containing files to be read
*/
virtual camitk::Component * open(const QString &) throw (camitk::AbortException);
/** Save a given Component (does not have to be top-level)
* into one of the currently managed format.
* @return false if the operation was not performed properly or not performed at all.
......@@ -88,7 +88,7 @@ public:
protected:
/// Destructor
virtual ~DicomComponentExtension() {};
virtual ~DicomComponentExtension() {}
private:
/// Last opened component. When opening the directory, create 1 component per files
......
......@@ -31,12 +31,13 @@
/**
* @ingroup group_sdk_actions_application
*
* @brief
*
* @brief
* The CloseAllAction class allows one to close all selected component in the current application.
*
*
**/
class CloseAllAction : public camitk::Action {
Q_OBJECT
public:
/// Default Constructor
......
......@@ -30,16 +30,17 @@
/**
* @ingroup group_sdk_actions_application
*
* @brief
*
* @brief
* When triggered, open a file open dialog box.
* the OpenAction display a file open dialog.
* If one or more files are choosen, the open component method of ExtensionManager is called.
*/
class OpenAction : public camitk::Action {
Q_OBJECT
public:
/// Default Constructor
public:
/// Default Constructor
OpenAction(camitk::ActionExtension *);
/// Default Destructor
......@@ -47,10 +48,10 @@ public:
/// Returns NULL: no permanent widget for this action. The GUI is shown as a one-shot dialog in apply
virtual QWidget * getWidget();
public slots:
/// apply the action i.e. show a file dialog and open the selected file(s)
virtual ApplyStatus apply();
virtual ApplyStatus apply();
};
};
#endif // OPENACTION_H
......@@ -31,11 +31,12 @@
/**
* @ingroup group_sdk_actions_application
*
* @brief
*
* @brief
* Save all the current selected components.
*/
class SaveAllAction : public camitk::Action {
Q_OBJECT
public:
/// Default Constructor
......@@ -46,12 +47,12 @@ public:
/// Returns NULL: no permanent widget for this action. The GUI is run shown a one-shot dialog in apply
virtual QWidget * getWidget();
public slots:
/** this method is automatically called when the action is triggered.
* It ask for a filename and call ExtensionManager saveAs method
*/
virtual ApplyStatus apply();
};
#endif // SAVEALLACTION_H
......@@ -31,27 +31,28 @@
/**
* @ingroup group_sdk_actions_application
*
* @brief
*
* @brief
* Save as the current selected component.
*/
class SaveAsAction : public camitk::Action {
Q_OBJECT
public:
/// Default Constructor
SaveAsAction(camitk::ActionExtension *);
/// Default Constructor
SaveAsAction(camitk::ActionExtension *);
/// Default Destructor
virtual ~SaveAsAction();
/// Default Destructor
virtual ~SaveAsAction();
/// Returns NULL: no permanent widget for this action. The GUI is run shown a one-shot dialog in apply
virtual QWidget * getWidget();
/// Returns NULL: no permanent widget for this action. The GUI is run shown a one-shot dialog in apply
virtual QWidget * getWidget();
public slots:
/** this method is automatically called when the action is triggered.
/** this method is automatically called when the action is triggered.
* It ask for a filename and call ExtensionManager saveAs method
*/
virtual ApplyStatus apply();
virtual ApplyStatus apply();
};
#endif // SAVEASACTION_H
......@@ -29,27 +29,28 @@
/**
* @ingroup group_sdk_actions_application
*
* @brief
*
* @brief
* Set the visibility of the MedicalImageViewer in order to only show the 3D viewer
*
*/
*
*/
class Show3DViewer : public camitk::Action {
Q_OBJECT
public:
/// Default Constructor
Show3DViewer(camitk::ActionExtension *);
/// Default Constructor
Show3DViewer(camitk::ActionExtension *);
/// Default Destructor
virtual ~Show3DViewer();
/// Default Destructor
virtual ~Show3DViewer();
/// Returns NULL: no widget for this action.
virtual QWidget * getWidget();
/// Returns NULL: no widget for this action.
virtual QWidget * getWidget();
public slots:
/** this method is automatically called when the action is triggered.
* it calls setVisibility on the MedicalImageViewer instance
*/
virtual ApplyStatus apply();
/** this method is automatically called when the action is triggered.
* it calls setVisibility on the MedicalImageViewer instance
*/
virtual ApplyStatus apply();
};
#endif // SHOW3DVIEWER_H
......@@ -29,27 +29,28 @@
/**
* @ingroup group_sdk_actions_application
*
* @brief
*
* @brief
* Within the MedicalImageViewer, display all viewers (except arbitrary).
*
*/
*
*/
class ShowAllViewers : public camitk::Action {
Q_OBJECT
public:
/// Default Constructor
ShowAllViewers(camitk::ActionExtension *);
/// Default Constructor
ShowAllViewers(camitk::ActionExtension *);
/// Default Destructor
virtual ~ShowAllViewers();
/// Default Destructor
virtual ~ShowAllViewers();
/// Returns NULL: no widget for this action.
virtual QWidget * getWidget();
/// Returns NULL: no widget for this action.
virtual QWidget * getWidget();
public slots:
/** this method is automatically called when the action is triggered.
* it calls setVisibility on the MedicalImageViewer instance
*/
virtual ApplyStatus apply();
/** this method is automatically called when the action is triggered.
* it calls setVisibility on the MedicalImageViewer instance
*/
virtual ApplyStatus apply();
};
#endif // SHOWALLVIEWERS_H
......@@ -29,27 +29,28 @@
/**
* @ingroup group_sdk_actions_application
*
* @brief
*
* @brief
* Within the MedicalImageViewer, display the arbitrary viewer.
*
*
*/
class ShowArbitraryViewer : public camitk::Action {
Q_OBJECT
public:
/// Default Constructor
ShowArbitraryViewer(camitk::ActionExtension *);
/// Default Constructor
ShowArbitraryViewer(camitk::ActionExtension *);
/// Default Destructor
virtual ~ShowArbitraryViewer();
/// Default Destructor
virtual ~ShowArbitraryViewer();
/// Returns NULL: no widget for this action.
virtual QWidget * getWidget();
/// Returns NULL: no widget for this action.
virtual QWidget * getWidget();
public slots:
/** this method is automatically called when the action is triggered.
* it calls setVisibility on the MedicalImageViewer instance
*/
virtual ApplyStatus apply();
/** this method is automatically called when the action is triggered.
* it calls setVisibility on the MedicalImageViewer instance
*/
virtual ApplyStatus apply();
};
#endif // SHOWARBITRARYVIEWER_H
......@@ -29,27 +29,28 @@
/**
* @ingroup group_sdk_actions_application
*
* @brief
*
* @brief
* Within the MedicalImageViewer, display the axial viewer.
*
*
*/
class ShowAxialViewer : public camitk::Action {
Q_OBJECT
public:
/// Default Constructor
ShowAxialViewer(camitk::ActionExtension *);
/// Default Constructor
ShowAxialViewer(camitk::ActionExtension *);
/// Default Destructor
virtual ~ShowAxialViewer();
/// Default Destructor
virtual ~ShowAxialViewer();
/// Returns NULL: no widget for this action.
virtual QWidget * getWidget();
/// Returns NULL: no widget for this action.
virtual QWidget * getWidget();
public slots:
/** this method is automatically called when the action is triggered.
* it calls setVisibility on the MedicalImageViewer instance
*/
virtual ApplyStatus apply();
/** this method is automatically called when the action is triggered.
* it calls setVisibility on the MedicalImageViewer instance
*/
virtual ApplyStatus apply();
};
#endif // SHOWAXIALVIEWER_H
......@@ -29,27 +29,28 @@
/**
* @ingroup group_sdk_actions_application
*
* @brief
*
* @brief
* Within the MedicalImageViewer, display the coronal viewer.
*
*
*/
class ShowCoronalViewer : public camitk::Action {
Q_OBJECT
public:
/// Default Constructor
ShowCoronalViewer(camitk::ActionExtension *);
/// Default Constructor
ShowCoronalViewer(camitk::ActionExtension *);
/// Default Destructor
virtual ~ShowCoronalViewer();
/// Default Destructor
virtual ~ShowCoronalViewer();
/// Returns NULL: no widget for this action.
virtual QWidget * getWidget();
/// Returns NULL: no widget for this action.
virtual QWidget * getWidget();
public slots:
/** this method is automatically called when the action is triggered.
* it calls setVisibility on the MedicalImageViewer instance
*/
virtual ApplyStatus apply();
/** this method is automatically called when the action is triggered.
* it calls setVisibility on the MedicalImageViewer instance
*/
virtual ApplyStatus apply();
};
#endif // SHOWCORONALVIEWER_H
......@@ -29,27 +29,28 @@
/**
* @ingroup group_sdk_actions_application
*
* @brief
*
* @brief
* Within the MedicalImageViewer, display the sagittal viewer.
*
*
*/
class ShowSagittalViewer : public camitk::Action {
Q_OBJECT
public:
/// Default Constructor
ShowSagittalViewer(camitk::ActionExtension *);
/// Default Constructor
ShowSagittalViewer(camitk::ActionExtension *);
/// Default Destructor
virtual ~ShowSagittalViewer();
/// Default Destructor
virtual ~ShowSagittalViewer();
/// Returns NULL: no widget for this action.
virtual QWidget * getWidget();
/// Returns NULL: no widget for this action.
virtual QWidget * getWidget();
public slots:
/** this method is automatically called when the action is triggered.
* it calls setVisibility on the MedicalImageViewer instance
*/
virtual ApplyStatus apply();
/** this method is automatically called when the action is triggered.
* it calls setVisibility on the MedicalImageViewer instance
*/
virtual ApplyStatus apply();
};
#endif // SHOWSAGITTALVIEWER_H
......@@ -31,6 +31,7 @@
#include <ImageComponent.h>
class PixelColorChanger : public camitk::Action {
Q_OBJECT
public:
/// Default Constructor
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment