- cmake/FindRTI.cmake: Add INTERFACE placeholder targets when RTI not found - cmake/FindRTI.cmake: Force BUILD_RTI=OFF when RTI not installed - Lts/Common/LtsSession/CMakeLists.txt: Make LtsSessionDataDds conditional on BUILD_RTI - Lts/Viewer/CMakeLists.txt: Make LtsDataView conditional on BUILD_RTI - Lts/Plugins/*/CMakeLists.txt: 97 plugin files wrapped in BUILD_RTI conditionals - cmake/NGLMacros.cmake: Fix NGL_ADD_BIG_RESOURCES macro (removed premature return()) - Multiple Qt6 API fixes: QLinkedList→std::list, QStringRef→QStringView, etc. - BUILD_RTI_FIXES_SUMMARY.md: Comprehensive documentation of all fixes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
59 lines
1.6 KiB
C++
Executable File
59 lines
1.6 KiB
C++
Executable File
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#include "participant_org_chart.h"
|
|
|
|
#include <ParticipantManagement/logger.h>
|
|
#include <ParticipantManagement/ppm_dtc.h>
|
|
#include <ParticipantManagement/ppm_gui_combobox_plugin_interface.h>
|
|
#include <ParticipantManagement/ppm_participant_info_gui_plugin_interface.h>
|
|
#include <AdvancedSymbology/asb_data_plugin_interface.h>
|
|
|
|
#include <LtsWidgets/lts_dialog.h>
|
|
|
|
namespace Ui
|
|
{
|
|
class CombatPower;
|
|
}
|
|
|
|
namespace ParticipantManagement
|
|
{
|
|
|
|
|
|
class CombatPower : public LtsWidgets::LtsDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit CombatPower(QWidget *parent = nullptr);
|
|
~CombatPower();
|
|
bool init(const std::shared_ptr<ParticipantManagement::Interface::Dtc> &dtc
|
|
, const std::shared_ptr<AdvancedSymbology::ForeignDataInterface> &asbIfc
|
|
, const std::shared_ptr<ForeignGuiComboboxInterface> &ppmGuiCbxIfc
|
|
, const std::shared_ptr<ForeignParticipantInfoGuiInterface> &ppmGuiInfoIfc);
|
|
|
|
private slots:
|
|
void onPartyChanged();
|
|
void onOpenInfo(int id);
|
|
void onUpdateDynamicParticipantData(const ParticipantManagement::DynamicParticipantData &data, DataModification modType);
|
|
void onUpdateParticipant(const Participant &data, DataModification modType);
|
|
|
|
private:
|
|
void retranslate() override;
|
|
|
|
ParticipantManagement::LtsParticipantsOrgChart *m_orgChart;
|
|
std::shared_ptr<ParticipantManagement::Interface::Dtc> m_dtc;
|
|
std::shared_ptr<AdvancedSymbology::ForeignDataInterface> m_asbIfc;
|
|
std::shared_ptr<ParticipantManagement::ForeignGuiComboboxInterface> m_ppmGuiCbxIfc;
|
|
std::shared_ptr<ParticipantManagement::ForeignParticipantInfoGuiInterface> m_ppmGuiInfoIfc;
|
|
|
|
static int s_preselectedParty;
|
|
|
|
Ui::CombatPower *m_ui;
|
|
};
|
|
|
|
}
|