CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::ManageClippersWidget Class Reference

Widget for managing clippers. More...

#include <cxManageClippersWidget.h>

Inheritance diagram for cx::ManageClippersWidget:
cx::BaseWidget cx::OptimizedUpdateWidget

Public Member Functions

 ManageClippersWidget (VisServicesPtr services, QWidget *parent)
 
- 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 newClipperButtonClicked ()
 
void clipperChanged ()
 

Protected Member Functions

void setupUI ()
 
void initClipperSelector ()
 
QString getNameBaseOfCurrentClipper ()
 
ClippersPtr getClippers ()
 
- 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)
 

Protected Attributes

VisServicesPtr mServices
 
QVBoxLayout * mLayout
 
StringPropertyPtr mClipperSelector
 
InteractiveClipperPtr mCurrentClipper
 
ClipperWidgetmClipperWidget
 

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...
 

Detailed Description

Widget for managing clippers.

Date
Oct, 2015
Author
Ole Vegard Solberg, SINTEF

Definition at line 48 of file cxManageClippersWidget.h.

Constructor & Destructor Documentation

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

Definition at line 35 of file cxManageClippersWidget.cpp.

Member Function Documentation

void cx::ManageClippersWidget::clipperChanged ( )
protectedslot

Definition at line 95 of file cxManageClippersWidget.cpp.

ClippersPtr cx::ManageClippersWidget::getClippers ( )
protected

Definition at line 45 of file cxManageClippersWidget.cpp.

QString cx::ManageClippersWidget::getNameBaseOfCurrentClipper ( )
protected

Definition at line 123 of file cxManageClippersWidget.cpp.

void cx::ManageClippersWidget::initClipperSelector ( )
protected

Definition at line 50 of file cxManageClippersWidget.cpp.

void cx::ManageClippersWidget::newClipperButtonClicked ( )
protectedslot

Definition at line 105 of file cxManageClippersWidget.cpp.

void cx::ManageClippersWidget::setupUI ( )
protected

Definition at line 60 of file cxManageClippersWidget.cpp.

Member Data Documentation

StringPropertyPtr cx::ManageClippersWidget::mClipperSelector
protected

Definition at line 57 of file cxManageClippersWidget.h.

ClipperWidget* cx::ManageClippersWidget::mClipperWidget
protected

Definition at line 60 of file cxManageClippersWidget.h.

InteractiveClipperPtr cx::ManageClippersWidget::mCurrentClipper
protected

Definition at line 59 of file cxManageClippersWidget.h.

QVBoxLayout* cx::ManageClippersWidget::mLayout
protected

Definition at line 56 of file cxManageClippersWidget.h.

VisServicesPtr cx::ManageClippersWidget::mServices
protected

Definition at line 55 of file cxManageClippersWidget.h.


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