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