GOFIGURE2  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Slots | Signals | Public Member Functions | Protected Attributes | Private Member Functions | List of all members
QGoContourManualSegmentation Class Reference

Base class for contour manual segmentation. More...

#include <Code/GUI/lib/TraceEditing/QGoContourManualSegmentation.h>

Inheritance diagram for QGoContourManualSegmentation:
[legend]
Collaboration diagram for QGoContourManualSegmentation:
[legend]

Public Slots

void GenerateContourRepresentationProperties (bool iModified=false)
 Generate the widget contour properties if it has been modified. More...
 

Signals

void changeContourRepresentationProperty (float iLinewidth, QColor iLinecolor, QColor iNodecolor, QColor iActivenodecolor)
 Signal sent if new properties have been generated by GenerateContourRepresentationProperties() More...
 
void reinitializeContour ()
 Signal sent if we click on the "Reinitialize" button in the widget. More...
 
void validateContour ()
 Signal sent if we click on the "Validate" button in the widget. More...
 

Public Member Functions

bool GetReeditMode ()
 Get the reedit mode. More...
 
QWidgetgetWidget ()
 Get the base widget for the contour manual segmentation. More...
 
 QGoContourManualSegmentation (QWidget *parent=0)
 Constructor. More...
 
void SetReeditMode (bool iReeditMode)
 Set the reedit mode. More...
 
 ~QGoContourManualSegmentation ()
 Destructor. More...
 
- Public Member Functions inherited from QObject
bool blockSignals (bool block)
 
QObjectchild (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
const QObjectList & children () const
 
const char * className () const
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const QObject *receiver, const char *method)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArraydynamicPropertyNames () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
findChild (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
QList< T > findChildren (const QString &name) const
 
bool inherits (const char *className) const
 
void insertChild (QObject *object)
 
void installEventFilter (QObject *filterObj)
 
bool isA (const char *className) const
 
bool isWidgetType () const
 
void killTimer (int id)
 
virtual const QMetaObjectmetaObject () const
 
void moveToThread (QThread *targetThread)
 
const char * name () const
 
const char * name (const char *defaultName) const
 
QString objectName () const
 
QObjectparent () const
 
QVariant property (const char *name) const
 
 QObject (QObject *parent)
 
 QObject (QObject *parent, const char *name)
 
void removeChild (QObject *object)
 
void removeEventFilter (QObject *obj)
 
void setName (const char *name)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const
 
int startTimer (int interval)
 
QThreadthread () const
 
virtual  ~QObject ()
 

Protected Attributes

QColor m_ActiveNodesColor
 
QGoContourManualSegmentationWidgetm_ContourSegmentationWidget
 
QColor m_LinesColor
 
double m_LinesWidth
 
QColor m_NodesColor
 
bool m_ReeditMode
 

Private Member Functions

 Q_DISABLE_COPY (QGoContourManualSegmentation)
 

Additional Inherited Members

- Static Public Member Functions inherited from QObject
bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 
- Protected Member Functions inherited from QObject
bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const char *signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const char *signal)
 
int receivers (const char *signal) const
 
QObjectsender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 
- Static Protected Member Functions inherited from QObject
QByteArray normalizeSignalSlot (const char *signalSlot)
 
- Properties inherited from QObject
 objectName
 

Detailed Description

Base class for contour manual segmentation.

Definition at line 49 of file QGoContourManualSegmentation.h.

Constructor & Destructor Documentation

QGoContourManualSegmentation::QGoContourManualSegmentation ( QWidget parent = 0)
explicit

Constructor.

Definition at line 40 of file QGoContourManualSegmentation.cxx.

QGoContourManualSegmentation::~QGoContourManualSegmentation ( )

Destructor.

Definition at line 67 of file QGoContourManualSegmentation.cxx.

Member Function Documentation

void QGoContourManualSegmentation::changeContourRepresentationProperty ( float  iLinewidth,
QColor  iLinecolor,
QColor  iNodecolor,
QColor  iActivenodecolor 
)
signal

Signal sent if new properties have been generated by GenerateContourRepresentationProperties()

void QGoContourManualSegmentation::GenerateContourRepresentationProperties ( bool  iModified = false)
slot

Generate the widget contour properties if it has been modified.

Parameters
[in]iModifiedtrue:generate new properties, false:don't do anything

Definition at line 84 of file QGoContourManualSegmentation.cxx.

bool QGoContourManualSegmentation::GetReeditMode ( )

Get the reedit mode.

Returns
true: we are in reedit mode, false:classic segmentation

Definition at line 142 of file QGoContourManualSegmentation.cxx.

QWidget * QGoContourManualSegmentation::getWidget ( )

Get the base widget for the contour manual segmentation.

Returns
QWidget pointer to the base widget

Definition at line 75 of file QGoContourManualSegmentation.cxx.

QGoContourManualSegmentation::Q_DISABLE_COPY ( QGoContourManualSegmentation  )
private
void QGoContourManualSegmentation::reinitializeContour ( )
signal

Signal sent if we click on the "Reinitialize" button in the widget.

void QGoContourManualSegmentation::SetReeditMode ( bool  iReeditMode)

Set the reedit mode.

Parameters
[in]iReeditModetrue: we are in reedit mode, false:classic segmentation

Definition at line 133 of file QGoContourManualSegmentation.cxx.

void QGoContourManualSegmentation::validateContour ( )
signal

Signal sent if we click on the "Validate" button in the widget.

Member Data Documentation

QColor QGoContourManualSegmentation::m_ActiveNodesColor
protected

Definition at line 115 of file QGoContourManualSegmentation.h.

QGoContourManualSegmentationWidget* QGoContourManualSegmentation::m_ContourSegmentationWidget
protected

Definition at line 110 of file QGoContourManualSegmentation.h.

QColor QGoContourManualSegmentation::m_LinesColor
protected

Definition at line 113 of file QGoContourManualSegmentation.h.

double QGoContourManualSegmentation::m_LinesWidth
protected

Definition at line 112 of file QGoContourManualSegmentation.h.

QColor QGoContourManualSegmentation::m_NodesColor
protected

Definition at line 114 of file QGoContourManualSegmentation.h.

bool QGoContourManualSegmentation::m_ReeditMode
protected

Definition at line 117 of file QGoContourManualSegmentation.h.


The documentation for this class was generated from the following files: