NorMIT-nav  16.5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::MetricWidget Class Reference

#include <cxMetricWidget.h>

Inheritance diagram for cx::MetricWidget:
cx::BaseWidget cx::OptimizedUpdateWidget

Public Slots

virtual void setModified ()
 
- Public Slots inherited from cx::BaseWidget
void adjustSizeSlot ()
 
- Public Slots inherited from cx::OptimizedUpdateWidget
virtual void setModified ()
 

Public Member Functions

 MetricWidget (ViewServicePtr viewService, PatientModelServicePtr patientModelService, QWidget *parent)
 
virtual ~MetricWidget ()
 
- Public Member Functions inherited from cx::BaseWidget
 BaseWidget (QWidget *parent, QString objectName, QString windowTitle)
 
virtual ~BaseWidget ()
 
QWidget * createMethodWidget (QWidget *inputWidget, QWidget *outputWidget, QString methodname, bool inputChecked=false, bool outputVisible=true)
 Create a specialized widget for filters, with input/ouput, enable and options. More...
 
QGroupBox * createGroupbox (QWidget *widget, QString boxname)
 Create a group box with a given name. More...
 
QGroupBox * wrapInGroupBox (QWidget *base, QString name)
 
CXFramewrapInFrame (QWidget *base)
 
QAction * createAction2 (QObject *parent, QIcon iconName, QString text, QString tip, QLayout *layout=NULL, QToolButton *button=new QToolButton())
 
template<class T >
QAction * createAction (QObject *parent, QIcon iconName, QString text, QString tip, T slot, QLayout *layout=NULL, QToolButton *button=new QToolButton())
 
- Public Member Functions inherited from cx::OptimizedUpdateWidget
 OptimizedUpdateWidget (QWidget *parent=NULL)
 
virtual ~OptimizedUpdateWidget ()
 
void forcePrePaint ()
 

Protected Slots

void itemSelectionChanged ()
 
void removeButtonClickedSlot ()
 
void loadReferencePointsSlot ()
 
void addPointButtonClickedSlot ()
 
void addFrameButtonClickedSlot ()
 
void addToolButtonClickedSlot ()
 
void addPlaneButtonClickedSlot ()
 
void addAngleButtonClickedSlot ()
 
void addDistanceButtonClickedSlot ()
 
void addSphereButtonClickedSlot ()
 
void addDonutButtonClickedSlot ()
 
void cellChangedSlot (int row, int col)
 
virtual void cellClickedSlot (int row, int column)
 
void exportMetricsButtonClickedSlot ()
 
void delayedUpdate ()
 

Protected Attributes

QAction * mPointMetricAction
 
QAction * mFrameMetricAction
 
QAction * mToolMetricAction
 
QAction * mExportFramesAction
 
PatientModelServicePtr mPatientModelService
 
ViewServicePtr mViewService
 

Additional Inherited Members

- Static Public Member Functions inherited from cx::BaseWidget
static QFrame * createHorizontalLine ()
 Creates a horizontal line which can be inserted into widgets. More...
 
- Protected Member Functions inherited from cx::OptimizedUpdateWidget
virtual void paintEvent (QPaintEvent *event)
 

Detailed Description

Definition at line 87 of file cxMetricWidget.h.

Constructor & Destructor Documentation

cx::MetricWidget::MetricWidget ( ViewServicePtr  viewService,
PatientModelServicePtr  patientModelService,
QWidget *  parent 
)

Definition at line 71 of file cxMetricWidget.cpp.

cx::MetricWidget::~MetricWidget ( )
virtual

Definition at line 142 of file cxMetricWidget.cpp.

Member Function Documentation

void cx::MetricWidget::addAngleButtonClickedSlot ( )
protectedslot

Definition at line 486 of file cxMetricWidget.cpp.

void cx::MetricWidget::addDistanceButtonClickedSlot ( )
protectedslot

Definition at line 490 of file cxMetricWidget.cpp.

void cx::MetricWidget::addDonutButtonClickedSlot ( )
protectedslot

Definition at line 498 of file cxMetricWidget.cpp.

void cx::MetricWidget::addFrameButtonClickedSlot ( )
protectedslot

Definition at line 474 of file cxMetricWidget.cpp.

void cx::MetricWidget::addPlaneButtonClickedSlot ( )
protectedslot

Definition at line 482 of file cxMetricWidget.cpp.

void cx::MetricWidget::addPointButtonClickedSlot ( )
protectedslot

Definition at line 470 of file cxMetricWidget.cpp.

void cx::MetricWidget::addSphereButtonClickedSlot ( )
protectedslot

Definition at line 494 of file cxMetricWidget.cpp.

void cx::MetricWidget::addToolButtonClickedSlot ( )
protectedslot

Definition at line 478 of file cxMetricWidget.cpp.

void cx::MetricWidget::cellChangedSlot ( int  row,
int  col 
)
protectedslot

Definition at line 178 of file cxMetricWidget.cpp.

void cx::MetricWidget::cellClickedSlot ( int  row,
int  column 
)
protectedvirtualslot

Definition at line 190 of file cxMetricWidget.cpp.

void cx::MetricWidget::delayedUpdate ( )
protectedslot

Definition at line 404 of file cxMetricWidget.cpp.

void cx::MetricWidget::exportMetricsButtonClickedSlot ( )
protectedslot

Definition at line 531 of file cxMetricWidget.cpp.

void cx::MetricWidget::itemSelectionChanged ( )
protectedslot

Definition at line 200 of file cxMetricWidget.cpp.

void cx::MetricWidget::loadReferencePointsSlot ( )
protectedslot

Definition at line 466 of file cxMetricWidget.cpp.

void cx::MetricWidget::removeButtonClickedSlot ( )
protectedslot

Definition at line 515 of file cxMetricWidget.cpp.

void cx::MetricWidget::setModified ( )
virtualslot

Definition at line 397 of file cxMetricWidget.cpp.

Member Data Documentation

QAction* cx::MetricWidget::mExportFramesAction
protected

Definition at line 124 of file cxMetricWidget.h.

QAction* cx::MetricWidget::mFrameMetricAction
protected

Definition at line 122 of file cxMetricWidget.h.

PatientModelServicePtr cx::MetricWidget::mPatientModelService
protected

Definition at line 125 of file cxMetricWidget.h.

QAction* cx::MetricWidget::mPointMetricAction
protected

Definition at line 121 of file cxMetricWidget.h.

QAction* cx::MetricWidget::mToolMetricAction
protected

Definition at line 123 of file cxMetricWidget.h.

ViewServicePtr cx::MetricWidget::mViewService
protected

Definition at line 126 of file cxMetricWidget.h.


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