- 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>
78 lines
1.3 KiB
C++
Executable File
78 lines
1.3 KiB
C++
Executable File
|
|
|
|
|
|
#pragma once
|
|
|
|
#include <LtsWidgets/lts_dialog.h>
|
|
#include <LtsSession/lts_session.h>
|
|
#include <SAAs/Common/logger.h>
|
|
#include <ParticipantManagement/ppm_dtc.h>
|
|
|
|
#include <SAAs/Common/saa_utils.h>
|
|
#include <QDialog>
|
|
#include <QJsonDocument>
|
|
#include <QJsonObject>
|
|
|
|
|
|
namespace Ui {
|
|
class SaaChooser;
|
|
}
|
|
|
|
|
|
namespace ParticipantManagement {
|
|
class Party;
|
|
}
|
|
|
|
namespace SAAInterfaceAdapterAdler
|
|
{
|
|
class SaaDialogModel;
|
|
|
|
|
|
class SaaChooser final : public LtsWidgets::LtsDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit SaaChooser(QWidget *parent = nullptr);
|
|
~SaaChooser();
|
|
void retranslate() override;
|
|
|
|
bool init(LtsSession::LtsSession *session);
|
|
|
|
enum class RdesktopCodes
|
|
{
|
|
Normal,
|
|
FailedToConnect,
|
|
ConnectionRefused,
|
|
UnableToConnect,
|
|
DnsError,
|
|
ConnectionTimeOut,
|
|
NetworkError,
|
|
AuthenticationError,
|
|
Unknown
|
|
};
|
|
|
|
QString rdesktopCodeToString(RdesktopCodes code);
|
|
RdesktopCodes getRdesktopInterpretation(int code) const;
|
|
bool normalExit(int code) const;
|
|
|
|
private slots:
|
|
void startPingSaa();
|
|
void slotSelectSaa();
|
|
void enaDisa();
|
|
|
|
private:
|
|
void tableColumnOrganiserSetting() override;
|
|
|
|
Ui::SaaChooser *m_ui;
|
|
SaaDialogModel *m_model{nullptr};
|
|
LtsSession::LtsSession *m_session{nullptr};
|
|
bool m_close;
|
|
bool m_selected;
|
|
|
|
QTimer *m_pingTimer;
|
|
};
|
|
|
|
}
|
|
|