VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Static Public Attributes | Protected Member Functions | Private Member Functions
makVrv::DtSoundChannelWidgetDelegate Class Reference

A custom delegate for the sound channel. More...

Inheritance diagram for makVrv::DtSoundChannelWidgetDelegate:
Inheritance graph
[legend]

Static Public Attributes

static const int MinimumChannel
 The minimum channel allowed.
static const int MaximumChannel
 The maximum channel allowed.

Protected Member Functions

virtual QWidgetcreateEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const
 Create the editor for this delegate.

Private Member Functions

virtual ~DtSoundChannelWidgetDelegate ()
 Virtual DTOR.

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

Virtual DTOR.

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]parentis the parent widget for this delegate.
[in]optionis the display options (not used).
[in]indexis 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:

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)