- training_area_telegrams.cpp: Fixed QJsonObject initializer syntax (Qt6 requires {{}} not ({}))
- training_area_telegrams.cpp: Fixed fromJson() methods to access m_* members directly
- training_area_telegrams.cpp: Fixed brace mismatches in multiple toJson() methods
- training_area_telegrams.h: Changed Header struct to public members for consistency
- tx_mixin.cpp: Fixed getEquipmentNumber() template for direct member access
- lts_coordinate.cpp: Added missing #include <iomanip>
- MIGRATION_STATUS.md: Added migration progress tracking document
C++17 constraint enforced due to RTI Connext DDS 7.7.0 incompatibility with C++20+
Build status: BUILD_RTI=OFF successful (0 errors, warnings only)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
64 lines
2.4 KiB
C++
Executable File
64 lines
2.4 KiB
C++
Executable File
|
|
|
|
|
|
#pragma once
|
|
#include <QtCore/QSet>
|
|
#include <functional>
|
|
#include <ProjectDataManagement/pdm_enums.hpp>
|
|
|
|
class QComboBox;
|
|
class QWidget;
|
|
class QVariant;
|
|
|
|
// Forward declaration for external dependency
|
|
enum class GearClass;
|
|
|
|
namespace ProjectDataManagement
|
|
{
|
|
|
|
class ForeignGuiInterface
|
|
{
|
|
public:
|
|
ForeignGuiInterface() = default;
|
|
virtual ~ForeignGuiInterface() = default;
|
|
|
|
virtual bool fillBComboBox(QComboBox *cbx) = 0;
|
|
virtual bool fillCComboBox(QComboBox *cbx) = 0;
|
|
virtual bool fillNComboBox(QComboBox *cbx) = 0;
|
|
virtual bool fillArtilleryComboBox(QComboBox *cbx) = 0;
|
|
virtual bool fillMortarComboBox(QComboBox *cbx) = 0;
|
|
virtual bool fillSingleMineComboBox(QComboBox *cbx) = 0;
|
|
virtual bool fillMineFieldComboBox(QComboBox *cbx) = 0;
|
|
virtual bool fillBoobyTrapComboBox(QComboBox *cbx) = 0;
|
|
virtual bool fillOffRouteMineComboBox(QComboBox *cbx) = 0;
|
|
virtual bool fillFunctionalAreaComboBox(QComboBox *cbx) = 0;
|
|
virtual bool fillAirSupportComboBox(QComboBox *cbx) = 0;
|
|
virtual bool setChargeTypePropertyFilter(QComboBox *cbx, const QString &property, const QVariant &value) = 0;
|
|
virtual bool fillPlayerLanguageComboBox(QComboBox *cbx) = 0;
|
|
virtual bool fillPlayerOperationModeComboBox(QComboBox *cbx) = 0;
|
|
virtual bool fillPlayerModeHelmetComboBox(QComboBox *cbx) = 0;
|
|
virtual bool fillPlayerModeVestComboBox(QComboBox *cbx) = 0;
|
|
virtual bool fillPlayerPersonalProtectionComboBox(QComboBox *cbx) = 0;
|
|
virtual bool fillPlayerProtectionLevelComboBox(QComboBox *cbx) = 0;
|
|
virtual bool fillPlayerHandgrenadeSearchModeComboBox(QComboBox *cbx) = 0;
|
|
virtual bool fillPlayerInternationalModeComboBox(QComboBox *cbx) = 0;
|
|
virtual bool fillABCProtectionComboBox(QComboBox *cbx) = 0;
|
|
|
|
virtual void fillIgniterComboBox(QComboBox *cbx, int chargeTypeId) = 0;
|
|
virtual void fillIgniterFunctionComboBox(QComboBox *cbx, int chargeTypeId, int igniterTypeId) = 0;
|
|
virtual void fillLoadComboBox(QComboBox *cbx, int chargeTypeId) = 0;
|
|
virtual void fillTargetTypeComboBox(QComboBox *cbx) = 0;
|
|
virtual void fillTargetSubTypeComboBox(QComboBox *cbx, int targetTypeId) = 0;
|
|
virtual void fillFirePurposeComboBox(QComboBox *cbx) = 0;
|
|
|
|
|
|
|
|
virtual void chargeSelector(const QSet<int> &preselectedCharges,
|
|
GearClass gearClass,
|
|
const std::function<void(const QSet<int>&)> &cb,
|
|
QWidget *parent) = 0;
|
|
|
|
};
|
|
|
|
}
|