VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvAudioQt
DtAudioSettingsWidget.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/DtAudioSettingsWidgetInterface.h
>
14
15
#include <QtGui/QWidget>
16
17
class
QCheckBox
;
18
class
QSlider;
19
class
QSpinBox;
20
21
namespace
makVrv
22
{
23
26
class
DT_DLL_VRVAUDIOQT
DtAudioSettingsWidget
27
:
public
QWidget
,
public
DtAudioSettingsWidgetInterface
28
{
29
Q_OBJECT;
30
31
public
:
32
34
DtAudioSettingsWidget
(
QWidget
* parent = 0,
35
Qt::WindowFlags f = Qt::Widget );
36
38
virtual
~
DtAudioSettingsWidget
();
39
42
virtual
void
setAudioEnabled(
bool
enabled);
43
46
virtual
void
setVolume(
int
vol);
47
50
virtual
void
setSoundRangeEnabled(
bool
enabled);
51
54
virtual
void
setSoundRange(
int
val);
55
56
public
slots:
57
59
virtual
void
slot_AudioEnabledChanged(
int
val );
60
62
virtual
void
slot_VolumeChanged(
int
val );
63
65
virtual
void
slot_SoundRangeEnableChanged(
int
val );
66
68
virtual
void
slot_SoundRangeChanged(
int
val );
69
70
private
:
71
void
setupGui();
72
73
private
:
74
QCheckBox
*
myAudioEnabled
;
75
QSlider*
myVolume
;
76
QCheckBox
*
mySoundRangeEnabled
;
77
QSpinBox*
mySoundRange
;
78
};
79
80
}
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)