VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvAudioQt
DtDetonationSoundEditorWidget.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
14
#include <
vrvAudioQt/DtBaseSoundEditorWidget.h
>
15
16
namespace
makVrv
17
{
20
class
DT_DLL_VRVAUDIOQT
DtDetonationSoundEditorWidget
:
21
public
DtBaseSoundEditorWidget
22
{
23
Q_OBJECT;
24
26
enum
Columns
27
{
28
EntityCol
,
29
ResultCol
,
30
WaveFileCol
,
31
ChannelCol
,
32
NumColumns
33
};
34
35
public
:
40
DtDetonationSoundEditorWidget
(
DtDe
& de,
QWidget
* parent = 0,
41
Qt::WindowFlags f = Qt::Widget );
42
44
virtual
~
DtDetonationSoundEditorWidget
();
45
47
virtual
void
clearMap();
48
53
virtual
int
addRecord(
const
DtEntitySoundMapRecord
& rec,
int
err = 0 );
54
59
virtual
int
changeRecord(
const
DtEntitySoundMapRecord
& rec,
int
err = 0 );
60
63
virtual
void
removeRecord(
const
DtEntitySoundMapRecord
& rec );
64
65
protected
slots:
67
virtual
void
onAddEntityClicked();
68
70
virtual
void
onDeleteEntityClicked();
71
75
virtual
void
onItemChanged( QStandardItem* item );
76
77
protected
:
82
virtual
int
rowIndex(
const
QString& key,
int
detonation );
83
89
virtual
bool
getRecordFromRow(
int
row,
DtEntitySoundMapRecord
* rec );
90
94
virtual
RowData createRowData(
95
const
DtEntitySoundMapRecord
& rec=
DtDetonationSoundMapRecord
() );
96
};
97
}
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)