CustusX
22.04-rc3
An IGT application
|
Composite widget for string selection. More...
#include <cxLabeledComboBoxWidget.h>
Public Member Functions | |
LabeledComboBoxWidget (QWidget *parent, StringPropertyBasePtr, QGridLayout *gridLayout=0, int row=0) | |
virtual | ~LabeledComboBoxWidget () |
void | showLabel (bool on) |
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 () |
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) |
Composite widget for string selection.
Consists of <namelabel, combobox>. Insert a subclass of StringPropertyBasePtr to connect to data.
Definition at line 36 of file cxLabeledComboBoxWidget.h.
cx::LabeledComboBoxWidget::LabeledComboBoxWidget | ( | QWidget * | parent, |
StringPropertyBasePtr | dataInterface, | ||
QGridLayout * | gridLayout = 0 , |
||
int | row = 0 |
||
) |
Definition at line 25 of file cxLabeledComboBoxWidget.cpp.
|
inlinevirtual |
Definition at line 41 of file cxLabeledComboBoxWidget.h.
void cx::LabeledComboBoxWidget::showLabel | ( | bool | on | ) |
Definition at line 65 of file cxLabeledComboBoxWidget.cpp.
|
protected |
Definition at line 46 of file cxLabeledComboBoxWidget.h.