Custom QListView used as the popup view for combo boxes in property editing.
More...
#include <QmitkPropertyItemDelegate.h>
Custom QListView used as the popup view for combo boxes in property editing.
Handles painting and resizing to work correctly within a QComboBox popup.
- See also
- QmitkPropertyItemDelegate
Definition at line 80 of file QmitkPropertyItemDelegate.h.
◆ QmitkComboBoxListView()
| QmitkComboBoxListView::QmitkComboBoxListView |
( |
QComboBox * |
comboBox = nullptr | ) |
|
|
explicit |
Constructs the list view for the given combo box.
- Parameters
-
| [in] | comboBox | The parent combo box. May be nullptr. |
◆ ~QmitkComboBoxListView()
| QmitkComboBoxListView::~QmitkComboBoxListView |
( |
| ) |
|
|
override |
◆ initViewItemOption()
| void QmitkComboBoxListView::initViewItemOption |
( |
QStyleOptionViewItem * |
option | ) |
const |
|
overrideprotected |
◆ paintEvent()
| void QmitkComboBoxListView::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
overrideprotected |
◆ resizeEvent()
| void QmitkComboBoxListView::resizeEvent |
( |
QResizeEvent * |
event | ) |
|
|
overrideprotected |
The documentation for this class was generated from the following file: