CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 70 of file cxManageClippersWidget.h.

Constructor & Destructor Documentation

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

Definition at line 56 of file cxManageClippersWidget.cpp.

Member Function Documentation

void cx::ManageClippersWidget::clipperChanged ( )
protectedslot

Definition at line 116 of file cxManageClippersWidget.cpp.

ClippersPtr cx::ManageClippersWidget::getClippers ( )
protected

Definition at line 66 of file cxManageClippersWidget.cpp.

QString cx::ManageClippersWidget::getNameBaseOfCurrentClipper ( )
protected

Definition at line 144 of file cxManageClippersWidget.cpp.

void cx::ManageClippersWidget::initClipperSelector ( )
protected

Definition at line 71 of file cxManageClippersWidget.cpp.

void cx::ManageClippersWidget::newClipperButtonClicked ( )
protectedslot

Definition at line 126 of file cxManageClippersWidget.cpp.

void cx::ManageClippersWidget::setupUI ( )
protected

Definition at line 81 of file cxManageClippersWidget.cpp.

Member Data Documentation

StringPropertyPtr cx::ManageClippersWidget::mClipperSelector
protected

Definition at line 79 of file cxManageClippersWidget.h.

ClipperWidget* cx::ManageClippersWidget::mClipperWidget
protected

Definition at line 82 of file cxManageClippersWidget.h.

InteractiveClipperPtr cx::ManageClippersWidget::mCurrentClipper
protected

Definition at line 81 of file cxManageClippersWidget.h.

QVBoxLayout* cx::ManageClippersWidget::mLayout
protected

Definition at line 78 of file cxManageClippersWidget.h.

VisServicesPtr cx::ManageClippersWidget::mServices
protected

Definition at line 77 of file cxManageClippersWidget.h.


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