![]() |
VR-Forces 4.8 Class Documentation
|
DtAudioVolumeWidget is a toolbar widget that combines a button to enable and disable audio, and a drop-down button to bring up a slider for the audio. More...

Public Member Functions | |
| DtAudioVolumeWidget (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| Initializing Constructor. More... | |
| virtual | ~DtAudioVolumeWidget () |
| Virtual Destructor. More... | |
| virtual void | setAudioEnabled (bool enabled) |
| Sets audio to be enabled/disabled. More... | |
| virtual void | setVolume (int vol) |
| Sets the audio volume level. More... | |
Public Member Functions inherited from makVrv::DtAudioVolumeWidgetInterface | |
| DtAudioVolumeWidgetInterface () | |
| Default CTOR. More... | |
| virtual | ~DtAudioVolumeWidgetInterface () |
| Virtual DTOR. More... | |
Protected Slots | |
| virtual void | on_audioToggleClicked () |
| Connected to the internal model scale slider toggle button. More... | |
| virtual void | on_volumeSliderChanged (int val) |
Private Member Functions | |
| void | setupGui () |
| Sets up the user interface. More... | |
| DtAudioVolumeWidget () | |
| Default CTOR. More... | |
| DtAudioVolumeWidget (const DtAudioVolumeWidget &) | |
| Copy CTOR. More... | |
| DtAudioVolumeWidget & | operator= (const DtAudioVolumeWidget &) |
| Copy operator. More... | |
Private Attributes | |
| DtDe & | myDe |
| DtAudioVolumeLogic * | myLogic |
| QHBoxLayout * | myMainLayout |
| QToolButton * | myAudioEnabledButton |
| DtPopupToolbarButton * | mySliderEnableButton |
| DtAudioVolumeSliderWidget * | mySliderWidget |
| DtPopupToolbar * | mySliderToolBar |
| bool | mySliderWidgetShown |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtAudioVolumeWidgetInterface | |
| boost::signal< void(bool)> | signal_AudioEnabledChanged |
| Signals emitted when the user changes the data in the widget. More... | |
| boost::signal< void(int)> | signal_VolumeChanged |
DtAudioVolumeWidget is a toolbar widget that combines a button to enable and disable audio, and a drop-down button to bring up a slider for the audio.
| makVrv::DtAudioVolumeWidget::DtAudioVolumeWidget | ( | DtDe & | de, |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | f = 0 |
||
| ) |
Initializing Constructor.
| [in] | de | is the display engine for this instance. |
| [in] | parent | is the parent widget for this instance. |
| [in] | f | is a set of window flags for this widget. |
|
virtual |
Virtual Destructor.
|
private |
Default CTOR.
|
private |
Copy CTOR.
|
virtual |
Sets audio to be enabled/disabled.
| [in] | enabled | is the new state of audio. |
Implements makVrv::DtAudioVolumeWidgetInterface.
|
virtual |
Sets the audio volume level.
| [in] | vol | is the new volume level. |
Implements makVrv::DtAudioVolumeWidgetInterface.
|
protectedvirtualslot |
Connected to the internal model scale slider toggle button.
|
protectedvirtualslot |
|
private |
Sets up the user interface.
|
private |
Copy operator.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |