Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+47
@@ -0,0 +1,47 @@
|
||||
/**
|
||||
* @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
|
||||
Reference in new issue
Block a user