48 lines
994 B
C++
Executable File
48 lines
994 B
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* AvmPlaybackMenu Dialog
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Christian Ehrlicher, NLE, 2020-03-16
|
|
*/
|
|
|
|
|
|
#include "avm_playback_menu_dialog.h"
|
|
|
|
namespace AudioVideoManagement
|
|
{
|
|
|
|
AvmPlaybackMenuDialog::AvmPlaybackMenuDialog(bool isAudio, QWidget *parent)
|
|
: LtsWidgets::LtsDialog(parent, LtsWidgets::ButtonCombination::CloseOnly)
|
|
, m_isAudio(isAudio)
|
|
, m_ui(new Ui::AvmPlaybackMenuDialog)
|
|
{
|
|
m_ui->setupUi(this);
|
|
if (m_isAudio)
|
|
setOnlineHelpFilename(QStringLiteral("Situation-Playback_Audio"));
|
|
else
|
|
setOnlineHelpFilename(QStringLiteral("Situation-Playback_Video"));
|
|
}
|
|
|
|
|
|
AvmPlaybackMenuDialog::~AvmPlaybackMenuDialog()
|
|
{
|
|
delete m_ui;
|
|
}
|
|
|
|
|
|
AudioVideoManagement::AvmPlaybackMenu *AvmPlaybackMenuDialog::avmPlaybackMenu()
|
|
{
|
|
return m_ui->widget;
|
|
}
|
|
|
|
|
|
void AvmPlaybackMenuDialog::retranslate()
|
|
{
|
|
translate(m_ui, m_isAudio ? tr("Audio Playback") : tr("Video Playback"));
|
|
m_ui->widget->retranslate();
|
|
}
|
|
|
|
} // namespace AudioVideoManagement
|