CustusX  2023.01.05-dev+develop.0da12
An IGT application
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 (VisServicesPtr services, 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 addROIButtonClickedSlot ()
 
void addSphereButtonClickedSlot ()
 
void addDonutButtonClickedSlot ()
 
void addCustomButtonClickedSlot ()
 
void cellChangedSlot (int row, int col)
 
virtual void cellClickedSlot (int row, int column)
 
void exportMetricsButtonClickedSlot ()
 
void importMetricsButtonClickedSlot ()
 
void delayedUpdate ()
 

Protected Attributes

QAction * mPointMetricAction
 
QAction * mFrameMetricAction
 
QAction * mToolMetricAction
 
QAction * mExportFramesAction
 
QAction * mImportFramesAction
 
VisServicesPtr mServices
 

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 65 of file cxMetricWidget.h.

Constructor & Destructor Documentation

cx::MetricWidget::MetricWidget ( VisServicesPtr  services,
QWidget *  parent 
)

Definition at line 49 of file cxMetricWidget.cpp.

cx::MetricWidget::~MetricWidget ( )
virtual

Definition at line 119 of file cxMetricWidget.cpp.

Member Function Documentation

void cx::MetricWidget::addAngleButtonClickedSlot ( )
protectedslot

Definition at line 399 of file cxMetricWidget.cpp.

void cx::MetricWidget::addCustomButtonClickedSlot ( )
protectedslot

Definition at line 419 of file cxMetricWidget.cpp.

void cx::MetricWidget::addDistanceButtonClickedSlot ( )
protectedslot

Definition at line 403 of file cxMetricWidget.cpp.

void cx::MetricWidget::addDonutButtonClickedSlot ( )
protectedslot

Definition at line 415 of file cxMetricWidget.cpp.

void cx::MetricWidget::addFrameButtonClickedSlot ( )
protectedslot

Definition at line 387 of file cxMetricWidget.cpp.

void cx::MetricWidget::addPlaneButtonClickedSlot ( )
protectedslot

Definition at line 395 of file cxMetricWidget.cpp.

void cx::MetricWidget::addPointButtonClickedSlot ( )
protectedslot

Definition at line 383 of file cxMetricWidget.cpp.

void cx::MetricWidget::addROIButtonClickedSlot ( )
protectedslot

Definition at line 407 of file cxMetricWidget.cpp.

void cx::MetricWidget::addSphereButtonClickedSlot ( )
protectedslot

Definition at line 411 of file cxMetricWidget.cpp.

void cx::MetricWidget::addToolButtonClickedSlot ( )
protectedslot

Definition at line 391 of file cxMetricWidget.cpp.

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

Definition at line 158 of file cxMetricWidget.cpp.

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

Definition at line 170 of file cxMetricWidget.cpp.

void cx::MetricWidget::delayedUpdate ( )
protectedslot

Definition at line 317 of file cxMetricWidget.cpp.

void cx::MetricWidget::exportMetricsButtonClickedSlot ( )
protectedslot

Definition at line 452 of file cxMetricWidget.cpp.

void cx::MetricWidget::importMetricsButtonClickedSlot ( )
protectedslot

Definition at line 465 of file cxMetricWidget.cpp.

void cx::MetricWidget::itemSelectionChanged ( )
protectedslot

Definition at line 180 of file cxMetricWidget.cpp.

void cx::MetricWidget::loadReferencePointsSlot ( )
protectedslot

Definition at line 379 of file cxMetricWidget.cpp.

void cx::MetricWidget::removeButtonClickedSlot ( )
protectedslot

Definition at line 436 of file cxMetricWidget.cpp.

void cx::MetricWidget::setModified ( )
virtualslot

Definition at line 310 of file cxMetricWidget.cpp.

Member Data Documentation

QAction* cx::MetricWidget::mExportFramesAction
protected

Definition at line 105 of file cxMetricWidget.h.

QAction* cx::MetricWidget::mFrameMetricAction
protected

Definition at line 103 of file cxMetricWidget.h.

QAction* cx::MetricWidget::mImportFramesAction
protected

Definition at line 106 of file cxMetricWidget.h.

QAction* cx::MetricWidget::mPointMetricAction
protected

Definition at line 102 of file cxMetricWidget.h.

VisServicesPtr cx::MetricWidget::mServices
protected

Definition at line 107 of file cxMetricWidget.h.

QAction* cx::MetricWidget::mToolMetricAction
protected

Definition at line 104 of file cxMetricWidget.h.


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