CustusX
16.5.0-rc9
An IGT application
|
#include <cxDataSelectWidget.h>
Public Member Functions | |
DataSelectWidget (ViewServicePtr viewService, PatientModelServicePtr patientModelService, QWidget *parent, SelectDataStringPropertyBasePtr data, QGridLayout *gridLayout=NULL, int row=0) | |
~DataSelectWidget () | |
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) |
CXFrame * | wrapInFrame (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) |
Widget for selecting/showing/removing a Data.
The widget wraps a SelectDataStringPropertyBasePtr, and adds utility buttons such as showing the data in the View, and removing it altogether.
Definition at line 59 of file cxDataSelectWidget.h.
cx::DataSelectWidget::DataSelectWidget | ( | ViewServicePtr | viewService, |
PatientModelServicePtr | patientModelService, | ||
QWidget * | parent, | ||
SelectDataStringPropertyBasePtr | data, | ||
QGridLayout * | gridLayout = NULL , |
||
int | row = 0 |
||
) |
Definition at line 47 of file cxDataSelectWidget.cpp.
cx::DataSelectWidget::~DataSelectWidget | ( | ) |
Definition at line 93 of file cxDataSelectWidget.cpp.