NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
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 (SelectDataStringPropertyBasePtr meshSelector, PatientModelServicePtr patientModelService, ViewServicePtr viewService, FileManagerServicePtr fileManager, QWidget *parent)
 
virtual ~MeshInfoWidget ()
 
SelectDataStringPropertyBasePtr getSelector ()
 
- 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)
 
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 meshSelectedSlot ()
 
void importTransformSlot ()
 
void meshChangedSlot ()
 
void generateNormalsSlot ()
 

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 62 of file cxMeshInfoWidget.h.

Constructor & Destructor Documentation

◆ MeshInfoWidget()

cx::MeshInfoWidget::MeshInfoWidget ( SelectDataStringPropertyBasePtr  meshSelector,
PatientModelServicePtr  patientModelService,
ViewServicePtr  viewService,
FileManagerServicePtr  fileManager,
QWidget *  parent 
)

Definition at line 76 of file cxMeshInfoWidget.cpp.

◆ ~MeshInfoWidget()

cx::MeshInfoWidget::~MeshInfoWidget ( )
virtual

Definition at line 92 of file cxMeshInfoWidget.cpp.

Member Function Documentation

◆ generateNormalsSlot

void cx::MeshInfoWidget::generateNormalsSlot ( )
protectedslot

Definition at line 137 of file cxMeshInfoWidget.cpp.

◆ getSelector()

SelectDataStringPropertyBasePtr cx::MeshInfoWidget::getSelector ( )
inline

Definition at line 72 of file cxMeshInfoWidget.h.

◆ hideEvent()

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

disconnects stuff

Definition at line 162 of file cxMeshInfoWidget.cpp.

◆ importTransformSlot

void cx::MeshInfoWidget::importTransformSlot ( )
protectedslot

Definition at line 126 of file cxMeshInfoWidget.cpp.

◆ meshChangedSlot

void cx::MeshInfoWidget::meshChangedSlot ( )
protectedslot

Definition at line 151 of file cxMeshInfoWidget.cpp.

◆ meshSelectedSlot

void cx::MeshInfoWidget::meshSelectedSlot ( )
protectedslot

Definition at line 96 of file cxMeshInfoWidget.cpp.

◆ showEvent()

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

updates internal info before showing the widget

Reimplemented from cx::BaseWidget.

Definition at line 157 of file cxMeshInfoWidget.cpp.


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