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

52 lines
1.3 KiB
C++
Executable File

/**
* @RDE_HEADER@
* Dialog for mounted participants table
* $Id$
* $HeadURL$
* $Author$
* Created by Dassow Philipp, SLEA, 2017-08-30
*/
#pragma once
#include "participants_mounted_table_model.h"
#include <ParticipantManagement/logger.h>
#include <ParticipantManagement/ppm_data_plugin_interface.h>
#include <ParticipantManagement/ppm_participant_info_gui_plugin_interface.h>
#include <LtsWidgets/lts_dialog.h>
namespace Ui
{
class ParticipantsMountedTableDialog;
}
namespace ParticipantManagement {
class ParticipantsMountedTableDialog : public LtsWidgets::LtsDialog
{
Q_OBJECT
public:
explicit ParticipantsMountedTableDialog(int32_t carrierId,
QWidget *parent = nullptr);
~ParticipantsMountedTableDialog();
bool init(const std::shared_ptr<Interface::Dtc> &dtc,
const std::shared_ptr<ForeignParticipantInfoGuiInterface> &ppmGuiIfc);
private slots:
void onShowTlnInfo();
private:
void retranslate() override;
int32_t m_carrierId;
std::shared_ptr<Interface::Dtc> m_dtc;
std::shared_ptr<ForeignParticipantInfoGuiInterface> m_ppmGuiIfc;
ParticipantsMountedTableModel *m_mountedTableModel;
Ui::ParticipantsMountedTableDialog *m_ui;
LOGGER_T m_logger;
};
}