A custom delegate for the sound channel.
More...
Static Public Attributes |
| static const int | MinimumChannel |
| | The minimum channel allowed.
|
| static const int | MaximumChannel |
| | The maximum channel allowed.
|
Protected Member Functions |
| virtual QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| | Create the editor for this delegate.
|
Detailed Description
A custom delegate for the sound channel.
- Note
- Do not share instances of delegates between widgets.
Constructor & Destructor Documentation
| virtual makVrv::DtSoundChannelWidgetDelegate::~DtSoundChannelWidgetDelegate |
( |
| ) |
|
|
privatevirtual |
Member Function Documentation
| virtual QWidget* makVrv::DtSoundChannelWidgetDelegate::createEditor |
( |
QWidget * |
parent, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
protectedvirtual |
Create the editor for this delegate.
Reimplemented from QStyledItemDelegate::createEditor().
- Parameters
-
| [in] | parent | is the parent widget for this delegate. |
| [in] | option | is the display options (not used). |
| [in] | index | is the model index to the view (not used). |
- Returns
- The editor for editing the data (a QSpinBox).
Member Data Documentation
| const int makVrv::DtSoundChannelWidgetDelegate::MinimumChannel |
|
static |
The minimum channel allowed.
| const int makVrv::DtSoundChannelWidgetDelegate::MaximumChannel |
|
static |
The maximum channel allowed.
The documentation for this class was generated from the following file: