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

Turn clippers on/off for a spesific data structure. More...

#include <cxSelectClippersForDataWidget.h>

Inheritance diagram for cx::SelectClippersForDataWidget:
cx::BaseWidget cx::OptimizedUpdateWidget

Public Member Functions

 SelectClippersForDataWidget (VisServicesPtr services, QWidget *parent)
 
More...
 
void setActiveDataProperty (SelectDataStringPropertyBasePtr property)
 
- 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 clipDataClicked (QCheckBox *checkBox, QString clipperName)
 
void invertClicked (QCheckBox *checkBox, QString clipperName)
 

Protected Member Functions

void createNewCheckBoxesBasedOnClippers ()
 
void initUI ()
 
void setupClipperSelectorUI ()
 
virtual void prePaintEvent ()
 
- Protected Member Functions inherited from cx::BaseWidget
virtual void showEvent (QShowEvent *event)
 
- Protected Member Functions inherited from cx::OptimizedUpdateWidget
virtual void paintEvent (QPaintEvent *event)
 

Protected Attributes

SelectDataStringPropertyBasePtr mActiveDataProperty
 
VisServicesPtr mServices
 
QVBoxLayout * mLayout
 
QLabel * mHeading
 
QTableWidget * mClipperTableWidget
 

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

Turn clippers on/off for a spesific data structure.

Date
02 Nov, 2015
Author
Ole Vegard Solberg, SINTEF

Definition at line 31 of file cxSelectClippersForDataWidget.h.

Constructor & Destructor Documentation

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


Definition at line 62 of file cxSelectClippersForDataWidget.cpp.

Member Function Documentation

void cx::SelectClippersForDataWidget::clipDataClicked ( QCheckBox *  checkBox,
QString  clipperName 
)
protectedslot

Definition at line 164 of file cxSelectClippersForDataWidget.cpp.

void cx::SelectClippersForDataWidget::createNewCheckBoxesBasedOnClippers ( )
protected

Definition at line 106 of file cxSelectClippersForDataWidget.cpp.

void cx::SelectClippersForDataWidget::initUI ( )
protected

Definition at line 81 of file cxSelectClippersForDataWidget.cpp.

void cx::SelectClippersForDataWidget::invertClicked ( QCheckBox *  checkBox,
QString  clipperName 
)
protectedslot

Definition at line 176 of file cxSelectClippersForDataWidget.cpp.

void cx::SelectClippersForDataWidget::prePaintEvent ( )
protectedvirtual

Implement to perform expensive operations that need only be called once per paint. Use setModified() to trigger this method.

Reimplemented from cx::OptimizedUpdateWidget.

Definition at line 182 of file cxSelectClippersForDataWidget.cpp.

void cx::SelectClippersForDataWidget::setActiveDataProperty ( SelectDataStringPropertyBasePtr  property)

Definition at line 74 of file cxSelectClippersForDataWidget.cpp.

void cx::SelectClippersForDataWidget::setupClipperSelectorUI ( )
protected

Definition at line 96 of file cxSelectClippersForDataWidget.cpp.

Member Data Documentation

SelectDataStringPropertyBasePtr cx::SelectClippersForDataWidget::mActiveDataProperty
protected

Definition at line 45 of file cxSelectClippersForDataWidget.h.

QTableWidget* cx::SelectClippersForDataWidget::mClipperTableWidget
protected

Definition at line 49 of file cxSelectClippersForDataWidget.h.

QLabel* cx::SelectClippersForDataWidget::mHeading
protected

Definition at line 48 of file cxSelectClippersForDataWidget.h.

QVBoxLayout* cx::SelectClippersForDataWidget::mLayout
protected

Definition at line 47 of file cxSelectClippersForDataWidget.h.

VisServicesPtr cx::SelectClippersForDataWidget::mServices
protected

Definition at line 46 of file cxSelectClippersForDataWidget.h.


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