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).
61 lines
1.1 KiB
C++
61 lines
1.1 KiB
C++
/**
|
|
* @RDE_HEADER@
|
|
* Helper Class for LtsDialog - creates Dialog Button Box and Scroll Area automatically
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*
|
|
* Created by Mike Wille, SLSE, 2016-09-23
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <QtWidgets/QWidget>
|
|
#include <QtCore/QSize>
|
|
|
|
|
|
namespace Ui
|
|
{
|
|
class LtsDialogHelper;
|
|
}
|
|
|
|
|
|
namespace LtsWidgets
|
|
{
|
|
class LtsDialogButtonBox;
|
|
class LtsDialog;
|
|
|
|
/**
|
|
* @brief The LtsDialogHelper class => ***DO NOT USE***, so no export!
|
|
*/
|
|
class LtsDialogHelper : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit LtsDialogHelper(QWidget *parent = nullptr);
|
|
~LtsDialogHelper();
|
|
|
|
LtsDialogButtonBox *getButtonBox();
|
|
void setDialog(LtsDialog *dialog);
|
|
LtsDialog *getDialog();
|
|
bool compare(const LtsDialog *dialog) const { return (dialog == m_dialog); } // to keep constness...
|
|
void retranslate();
|
|
|
|
signals:
|
|
void signalSizeChanged(const QSize &size);
|
|
|
|
private:
|
|
void resizeEvent(QResizeEvent *e) override;
|
|
void changeEvent(QEvent *e) override;
|
|
void onHScrollBarVisibilityChanged(bool visible);
|
|
void onVScrollBarVisibilityChanged(bool visible);
|
|
|
|
Ui::LtsDialogHelper *m_ui;
|
|
LtsDialog *m_dialog;
|
|
|
|
};
|
|
|
|
} // namespace LtsWidgets
|