CustusX  22.04-rc5
An IGT application
cx::ReplacableContentWidget Class Reference

#include <cxReplacableContentWidget.h>

Inheritance diagram for cx::ReplacableContentWidget:

Public Member Functions

 ReplacableContentWidget (QWidget *parent)
 
 ~ReplacableContentWidget ()
 
void setWidget (boost::shared_ptr< QWidget > widget)
 
void setWidgetDeleteOld (QWidget *widget)
 
QWidget * getWidget ()
 

Detailed Description

Widget wrapping another widget that can be replaced, the previous content being destroyed.

Definition at line 26 of file cxReplacableContentWidget.h.

Constructor & Destructor Documentation

cx::ReplacableContentWidget::ReplacableContentWidget ( QWidget *  parent)
inline

Definition at line 29 of file cxReplacableContentWidget.h.

cx::ReplacableContentWidget::~ReplacableContentWidget ( )
inline

Definition at line 34 of file cxReplacableContentWidget.h.

Member Function Documentation

QWidget* cx::ReplacableContentWidget::getWidget ( )
inline

Definition at line 51 of file cxReplacableContentWidget.h.

void cx::ReplacableContentWidget::setWidget ( boost::shared_ptr< QWidget >  widget)
inline

Definition at line 39 of file cxReplacableContentWidget.h.

void cx::ReplacableContentWidget::setWidgetDeleteOld ( QWidget *  widget)
inline

Definition at line 44 of file cxReplacableContentWidget.h.


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