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

Composite widget for string list selection. More...

#include <cxStringListSelectWidget.h>

Inheritance diagram for cx::StringListSelectWidget:
cx::BaseWidget cx::OptimizedUpdateWidget

Public Member Functions

 StringListSelectWidget (QWidget *parent, StringListPropertyPtr property, QGridLayout *gridLayout=0, int row=0)
 
virtual ~StringListSelectWidget ()
 
void showLabel (bool on)
 
void setIcon (QIcon icon)
 
- 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 Attributes

QHBoxLayout * mTopLayout
 

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)
 

Detailed Description

Composite widget for string list selection.

Definition at line 33 of file cxStringListSelectWidget.h.

Constructor & Destructor Documentation

cx::StringListSelectWidget::StringListSelectWidget ( QWidget *  parent,
StringListPropertyPtr  property,
QGridLayout *  gridLayout = 0,
int  row = 0 
)

Definition at line 28 of file cxStringListSelectWidget.cpp.

virtual cx::StringListSelectWidget::~StringListSelectWidget ( )
inlinevirtual

Definition at line 38 of file cxStringListSelectWidget.h.

Member Function Documentation

void cx::StringListSelectWidget::setIcon ( QIcon  icon)

Definition at line 64 of file cxStringListSelectWidget.cpp.

void cx::StringListSelectWidget::showLabel ( bool  on)

Definition at line 81 of file cxStringListSelectWidget.cpp.

Member Data Documentation

QHBoxLayout* cx::StringListSelectWidget::mTopLayout
protected

Definition at line 44 of file cxStringListSelectWidget.h.


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