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).
50 lines
926 B
C++
50 lines
926 B
C++
/**
|
|
* @RDE_HEADER@
|
|
* User Menu on active sessions (logout, etc.)
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*
|
|
* Created by Mike Wille, SLSE, 2016-08-17
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "lts_frameless_dialog.h"
|
|
#include "lts_widgets_export.h"
|
|
|
|
|
|
namespace Ui {
|
|
class LtsOperatorMenu;
|
|
}
|
|
|
|
namespace LtsWidgets
|
|
{
|
|
class LTSWIDGETS_EXPORT LtsOperatorMenu : public LtsFramelessDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit LtsOperatorMenu(const QString &operatorName, const QString &workspaceId, bool debug, int screenCount, QWidget *parent);
|
|
~LtsOperatorMenu();
|
|
|
|
void setTerminalButton(bool bVisible);
|
|
void setOperatorSettingsButton(bool bVisible);
|
|
|
|
private:
|
|
Ui::LtsOperatorMenu *m_ui;
|
|
|
|
signals:
|
|
void signalLogout();
|
|
void signalExit();
|
|
void signalShowOperatorSettings();
|
|
void signalSwap();
|
|
|
|
private slots:
|
|
void onTerminalButtonClicked();
|
|
void onLanguageChange();
|
|
void slotShowInfoDialog();
|
|
};
|
|
|
|
} // namespace LtsWidgets
|