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).
43 lines
777 B
C++
43 lines
777 B
C++
/**
|
|
* @RDE_HEADER@
|
|
* Splitter with sizes Proberty for Animation
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "lts_base.h"
|
|
#include "lts_widgets_export.h"
|
|
|
|
#include <QtWidgets/QSplitter>
|
|
#include <QtCore/QList>
|
|
|
|
|
|
namespace LtsWidgets
|
|
{
|
|
|
|
class LTSWIDGETS_EXPORT LtsSplitter : public QSplitter
|
|
{
|
|
Q_OBJECT
|
|
Q_PROPERTY(QList<int> sizes READ getSizes WRITE setSizes NOTIFY sizesChanged)
|
|
|
|
public:
|
|
explicit LtsSplitter(QWidget *parent = nullptr);
|
|
~LtsSplitter();
|
|
|
|
QSplitterHandle *createHandle();
|
|
void collapseChild(const int index);
|
|
QList<int> getSizes() const { return sizes(); }
|
|
void animate(int handleId);
|
|
|
|
signals:
|
|
void sizesChanged(const QList<int> &newSizes);
|
|
|
|
public slots:
|
|
void changeSizes(const QList<int> &list);
|
|
};
|
|
|
|
} // namespace LtsWidgets
|