VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvAudioQt
DtFireSoundSelectionDialog.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2012 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvAudioQt/dllExport.h
>
13
#include <
vrvAudioQt/DtEntitySoundSelectionDialog.h
>
14
15
#include <QtGui/QStyledItemDelegate>
16
17
class
QSpinBox
;
18
class
QModelIndex;
19
class
QString;
20
class
QStyleOptionViewItem;
21
22
23
namespace
makVrv
24
{
25
26
29
class
DT_DLL_VRVAUDIOQT
DtFireSoundSelectionDialog
30
:
public
DtEntitySoundSelectionDialog
31
{
32
Q_OBJECT;
33
34
public
:
42
DtFireSoundSelectionDialog
(
43
DtDe
& de,
44
const
QString& entity = QString(
"-1:-1:-1:-1:-1:-1:-1"
),
45
const
QString& filename = QString(
""
),
46
int
chan = 0,
47
QWidget
* parent = NULL,
48
Qt::WindowFlags flags = Qt::Widget | Qt::Tool );
49
51
virtual
~
DtFireSoundSelectionDialog
();
52
55
void
setChannel(
int
chan );
56
59
int
channel()
const
;
60
63
static
const
QString& channelTooltip();
64
65
private
:
67
void
setupGui();
68
69
private
:
71
QSpinBox
*
myChannel
;
72
};
73
74
78
class
DtSoundChannelWidgetDelegate
:
public
QStyledItemDelegate
79
{
81
virtual
~DtSoundChannelWidgetDelegate
();
82
83
protected
:
90
virtual
QWidget
*
createEditor
(
QWidget
* parent,
91
const
QStyleOptionViewItem& option,
const
QModelIndex& index )
const
;
92
93
public
:
95
static
const
int
MinimumChannel
;
96
98
static
const
int
MaximumChannel
;
99
100
};
101
}
102
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)