CustusX  2020.11.07-dev+develop.4ce4a
An IGT application
cx::CompactFilterSetupWidget Class Reference

Helper widget for displaying the input/output/options part of a Filter. Intended to be included in other Filter widgets. More...

#include <cxCompactFilterSetupWidget.h>

Inheritance diagram for cx::CompactFilterSetupWidget:
cx::BaseWidget cx::OptimizedUpdateWidget

Public Member Functions

 CompactFilterSetupWidget (ViewServicePtr viewService, PatientModelServicePtr patientModelService, QWidget *parent, XmlOptionFile options, bool addFrame)
 
void setFilter (FilterPtr filter)
 
QString getHelpText () const
 
- 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 ()
 

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 Member Functions inherited from cx::BaseWidget
virtual void showEvent (QShowEvent *event)
 
- Protected Member Functions inherited from cx::OptimizedUpdateWidget
virtual void prePaintEvent ()
 
virtual void paintEvent (QPaintEvent *event)
 

Detailed Description

Helper widget for displaying the input/output/options part of a Filter. Intended to be included in other Filter widgets.

Date
Dec 13, 2012
Author
Christian Askeland, SINTEF

Definition at line 35 of file cxCompactFilterSetupWidget.h.

Constructor & Destructor Documentation

cx::CompactFilterSetupWidget::CompactFilterSetupWidget ( ViewServicePtr  viewService,
PatientModelServicePtr  patientModelService,
QWidget *  parent,
XmlOptionFile  options,
bool  addFrame 
)

Definition at line 21 of file cxCompactFilterSetupWidget.cpp.

Member Function Documentation

QString cx::CompactFilterSetupWidget::getHelpText ( ) const

Definition at line 51 of file cxCompactFilterSetupWidget.cpp.

void cx::CompactFilterSetupWidget::setFilter ( FilterPtr  filter)

Definition at line 66 of file cxCompactFilterSetupWidget.cpp.


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