40 lines
892 B
C++
Executable File
40 lines
892 B
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* LtsDialog container for the exportable widget with replay controls
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Mike Wille, NLE, 2019-10-02
|
|
*/
|
|
|
|
#include "replay_control_dialog.h"
|
|
|
|
#include <QHBoxLayout>
|
|
|
|
|
|
namespace SituationReplay
|
|
{
|
|
|
|
SituationReplayControlDialog::SituationReplayControlDialog(SituationReplayControlWidget *replayWidget, QWidget *parent)
|
|
: LtsWidgets::LtsDialog(parent, LtsWidgets::ButtonCombination::CloseOnly)
|
|
, m_logger(getLogger("ReplayControlDialog"))
|
|
{
|
|
auto l = new QHBoxLayout;
|
|
setLayout(l);
|
|
|
|
l->addWidget(replayWidget);
|
|
replayWidget->show();
|
|
|
|
setOnlineHelpFilename(QStringLiteral("Situation-Start_Situation_Playback"));
|
|
}
|
|
|
|
|
|
void SituationReplayControlDialog::retranslate()
|
|
{
|
|
// lupdate doesn't like translate(tr("foo")) ...
|
|
const QString txt(tr("Replay Control"));
|
|
translate(txt);
|
|
}
|
|
|
|
} // namespace SituationReplay
|