Fraxinus  16.5.0-fx-rc3
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 52 of file cxSelectClippersForDataWidget.h.

Constructor & Destructor Documentation

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


Definition at line 80 of file cxSelectClippersForDataWidget.cpp.

Member Function Documentation

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

Definition at line 181 of file cxSelectClippersForDataWidget.cpp.

void cx::SelectClippersForDataWidget::createNewCheckBoxesBasedOnClippers ( )
protected

Definition at line 123 of file cxSelectClippersForDataWidget.cpp.

void cx::SelectClippersForDataWidget::initUI ( )
protected

Definition at line 99 of file cxSelectClippersForDataWidget.cpp.

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

Definition at line 193 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 199 of file cxSelectClippersForDataWidget.cpp.

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

Definition at line 92 of file cxSelectClippersForDataWidget.cpp.

void cx::SelectClippersForDataWidget::setupClipperSelectorUI ( )
protected

Definition at line 113 of file cxSelectClippersForDataWidget.cpp.

Member Data Documentation

SelectDataStringPropertyBasePtr cx::SelectClippersForDataWidget::mActiveDataProperty
protected

Definition at line 66 of file cxSelectClippersForDataWidget.h.

QTableWidget* cx::SelectClippersForDataWidget::mClipperTableWidget
protected

Definition at line 70 of file cxSelectClippersForDataWidget.h.

QLabel* cx::SelectClippersForDataWidget::mHeading
protected

Definition at line 69 of file cxSelectClippersForDataWidget.h.

QVBoxLayout* cx::SelectClippersForDataWidget::mLayout
protected

Definition at line 68 of file cxSelectClippersForDataWidget.h.

VisServicesPtr cx::SelectClippersForDataWidget::mServices
protected

Definition at line 67 of file cxSelectClippersForDataWidget.h.


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