CustusX  15.8
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::MeshInfoWidget Class Reference

Widget for displaying information about meshes. More...

#include <cxMeshInfoWidget.h>

Inheritance diagram for cx::MeshInfoWidget:
cx::InfoWidget cx::BaseWidget cx::OptimizedUpdateWidget

Public Member Functions

 MeshInfoWidget (PatientModelServicePtr patientModelService, VisualizationServicePtr visualizationService, QWidget *parent)
 
virtual ~MeshInfoWidget ()
 
- Public Member Functions inherited from cx::InfoWidget
 InfoWidget (QWidget *parent, QString objectName, QString windowTitle)
 
virtual ~InfoWidget ()
 
void addStretch ()
 
- 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)
 
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 setColorSlot ()
 
void setColorSlotDelayed ()
 
void meshSelectedSlot ()
 
void importTransformSlot ()
 
void meshChangedSlot ()
 

Protected Member Functions

virtual void showEvent (QShowEvent *event)
 updates internal info before showing the widget More...
 
virtual void hideEvent (QCloseEvent *event)
 disconnects stuff More...
 
- Protected Member Functions inherited from cx::InfoWidget
void populateTableWidget (std::map< std::string, std::string > &info)
 
- Protected Member Functions inherited from cx::OptimizedUpdateWidget
virtual void prePaintEvent ()
 
virtual void paintEvent (QPaintEvent *event)
 

Additional Inherited Members

- Public Slots inherited from cx::BaseWidget
void adjustSizeSlot ()
 
- Public Slots inherited from cx::OptimizedUpdateWidget
virtual void setModified ()
 
- Static Public Member Functions inherited from cx::BaseWidget
static QFrame * createHorizontalLine ()
 Creates a horizontal line which can be inserted into widgets. More...
 
- Protected Attributes inherited from cx::InfoWidget
QGridLayout * gridLayout
 
QTableWidget * mTableWidget
 

Detailed Description

Widget for displaying information about meshes.

Date
2010.07.07
Author
Ole Vegard Solberg, SINTEF
Janne Beate Bakeng, SINTEF

Definition at line 59 of file cxMeshInfoWidget.h.

Constructor & Destructor Documentation

cx::MeshInfoWidget::MeshInfoWidget ( PatientModelServicePtr  patientModelService,
VisualizationServicePtr  visualizationService,
QWidget *  parent 
)

Definition at line 56 of file cxMeshInfoWidget.cpp.

cx::MeshInfoWidget::~MeshInfoWidget ( )
virtual

Definition at line 65 of file cxMeshInfoWidget.cpp.

Member Function Documentation

void cx::MeshInfoWidget::hideEvent ( QCloseEvent *  event)
protectedvirtual

disconnects stuff

Definition at line 142 of file cxMeshInfoWidget.cpp.

void cx::MeshInfoWidget::importTransformSlot ( )
protectedslot

Definition at line 119 of file cxMeshInfoWidget.cpp.

void cx::MeshInfoWidget::meshChangedSlot ( )
protectedslot

Definition at line 130 of file cxMeshInfoWidget.cpp.

void cx::MeshInfoWidget::meshSelectedSlot ( )
protectedslot

Definition at line 82 of file cxMeshInfoWidget.cpp.

void cx::MeshInfoWidget::setColorSlot ( )
protectedslot

Definition at line 68 of file cxMeshInfoWidget.cpp.

void cx::MeshInfoWidget::setColorSlotDelayed ( )
protectedslot

Definition at line 77 of file cxMeshInfoWidget.cpp.

void cx::MeshInfoWidget::showEvent ( QShowEvent *  event)
protectedvirtual

updates internal info before showing the widget

Reimplemented from cx::BaseWidget.

Definition at line 137 of file cxMeshInfoWidget.cpp.


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