Files
qt5-legatus-legacy/Lts/Plugins/ParticipantManagement/Gui/ParticipantInfo/participant_history_dialog.h
T
2026-08-13 18:33:10 +02:00

57 lines
1.5 KiB
C++
Executable File

/**
* @RDE_HEADER@
* ParticipantManagement - ParticipantHistoryDialog
* $Id$
* $HeadURL$
* $Author$
* Created by Patric Karwat, SLSE, 2016-07-07
*/
#pragma once
//Lts
#include <LtsWidgets/lts_dialog.h>
//ParticipantManagement
#include <ParticipantManagement/logger.h>
#include <ParticipantManagement/ppm_dtc.h>
#include <Plugins/ProjectDataManagement/pdm_data_plugin_interface.h>
#include <Plugins/AreaEffectSimulation/aes_data_plugin_interface.h>
#include "participant_history_dialog_model.h"
namespace Ui {
class ParticipantHistoryDialog;
}
namespace ParticipantManagement
{
// --------------------------------------------------------
// ParticipantHistoryDialog
// --------------------------------------------------------
class ParticipantHistoryDialog final : public LtsWidgets::LtsDialog
{
Q_OBJECT
public:
explicit ParticipantHistoryDialog(QWidget *parent = nullptr);
~ParticipantHistoryDialog();
bool init(int ddsId,
const std::shared_ptr<Interface::Dtc> &dtc,
const std::shared_ptr<ProjectDataManagement::Interface::Dtc> &pdmDtc,
const std::shared_ptr<AreaEffectSimulation::Interface::Dtc> &aesDtc);
private:
void retranslate() override;
int m_ddsId;
ParticipantHistoryDialogModel *m_model;
ParticipantHistorySortModel *m_proxyModel;
std::shared_ptr<Interface::Dtc> m_dtc;
std::shared_ptr<AreaEffectSimulation::Interface::Dtc> m_aesDtc;
Ui::ParticipantHistoryDialog *m_ui;
LOGGER_T m_logger;
};
} // namespace ParticipantManagement