- 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>
49 lines
1.1 KiB
C++
49 lines
1.1 KiB
C++
/**
|
|
* @RDE_HEADER@
|
|
* An overlay for LtsDialog's setOverlay(..) which shows a 'loading bar'
|
|
* (a progress bar in a special state) and a default label "Loading ...", which
|
|
* can be altered
|
|
* $Id: $
|
|
* $HeadURL: $
|
|
* $Author: $
|
|
*
|
|
* Created by Mike Lennart Wille, SLTE, 2022-07-07
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "lts_widgets_export.h"
|
|
|
|
#include <QtWidgets/QWidget>
|
|
|
|
|
|
namespace Ui { class LtsOverlayLoading; }
|
|
|
|
|
|
namespace LtsWidgets
|
|
{
|
|
/**
|
|
* @brief The LtsOverlayLoading class is an overlay for LtsDialog's
|
|
* setOverlay(..) which shows a 'loading bar' (a progress bar in a special
|
|
* state), a default label "Loading ..." - which can be altered with
|
|
* 'setText(..)' - and a cancel button (hidden by default) that emits the
|
|
* 'cancel' signal.
|
|
*/
|
|
class LTSWIDGETS_EXPORT LtsOverlayLoading : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit LtsOverlayLoading(QWidget *parent = nullptr);
|
|
|
|
void setText(const QString &text);
|
|
void setCancelButtonVisible(bool visible);
|
|
void setCancelButtonEnabled(bool enabled);
|
|
|
|
signals:
|
|
void cancel();
|
|
|
|
private:
|
|
Ui::LtsOverlayLoading *m_ui;
|
|
};
|
|
}
|