Lts/Common: drop the 17 submodules excluded from the RELEASE_BUILD branch of Lts/Common/CMakeLists.txt (CodeGen, LtsAppManager, LtsBotan, LtsCoordinate, LtsElevation, LtsLogin, LtsMultiMonitor, LtsPluginManager, LtsPrinting, LtsProjectionWorkstation, LtsScriptTimeline, LtsSession, LtsTimeline, LtsTimelineClassic, LtsVirtualKeyboard, LtsWidgets, TopicEditorBase). Only the 13 subdirectories actually built remain. TrainingAreaBase: drop sources of targets excluded by IF(NOT RELEASE_BUILD) / IF(BUILD_RTI) (svcTabClient, svcTabServer, svcTrainingAreaBase exe, RecordReplayPlugin customization) and the 7 plugin directories not added in the release path (AdlerJson, ApacheHlaJson, DebugJsonDir, HlaJson, Nmea, UAS, WlsTetra). Only tabTelegrams, svcTabCommon and the TetraJson plugin are compiled. Cross-checked: no kept compiled source includes headers from the removed modules (GuiPluginInterface - the only LtsWidgets consumer - is itself NOT RELEASE_BUILD-guarded).
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;
|
|
};
|
|
}
|