- cmake/FindRTI.cmake: Add INTERFACE placeholder targets when RTI not found - cmake/FindRTI.cmake: Force BUILD_RTI=OFF when RTI not installed - Lts/Common/LtsSession/CMakeLists.txt: Make LtsSessionDataDds conditional on BUILD_RTI - Lts/Viewer/CMakeLists.txt: Make LtsDataView conditional on BUILD_RTI - Lts/Plugins/*/CMakeLists.txt: 97 plugin files wrapped in BUILD_RTI conditionals - cmake/NGLMacros.cmake: Fix NGL_ADD_BIG_RESOURCES macro (removed premature return()) - Multiple Qt6 API fixes: QLinkedList→std::list, QStringRef→QStringView, etc. - BUILD_RTI_FIXES_SUMMARY.md: Comprehensive documentation of all fixes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
67 lines
1.3 KiB
C++
Executable File
67 lines
1.3 KiB
C++
Executable File
|
|
|
|
|
|
#pragma once
|
|
|
|
#include <avmshared_export.h>
|
|
#include <QObject>
|
|
#include <QRect>
|
|
#include <boost/optional.hpp>
|
|
|
|
namespace LtsMultiMonitor
|
|
{
|
|
class FullscreenVideoDummyWidget;
|
|
}
|
|
|
|
namespace AudioVideoManagement
|
|
{
|
|
|
|
class AvaControl;
|
|
|
|
|
|
|
|
class AVMSHARED_EXPORT AvsApp : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
AvsApp(const QString &dialogId, AvaControl *avaControl);
|
|
~AvsApp() override;
|
|
|
|
void show(const QVector<QWidget *> irreplacableWidgets = {});
|
|
void show(const QRect &geometry);
|
|
void hide(bool andClose = false);
|
|
bool isVisible() const;
|
|
bool isActive() const;
|
|
|
|
|
|
|
|
void releaseStreams();
|
|
|
|
signals:
|
|
void signalVisible();
|
|
void signalPause();
|
|
void signalResume();
|
|
|
|
private slots:
|
|
void onWidgetPlaced(const QRect &geometry);
|
|
void onPlacementHelperDestroyed();
|
|
void onHideVideo();
|
|
void onShowVideo();
|
|
|
|
private:
|
|
void showAvsDialog(const QRect &geometry);
|
|
void hideAvsDialog();
|
|
void hideAndPauseAvsDialog();
|
|
void showAndResumeAvsDialog();
|
|
|
|
static const QString ALL_STREAMS;
|
|
const QString m_dialogId;
|
|
AvaControl *m_avaControl;
|
|
LtsMultiMonitor::FullscreenVideoDummyWidget *m_screenPlacementHelper{nullptr};
|
|
boost::optional<QRect> m_presetGeometry;
|
|
bool m_visible;
|
|
};
|
|
|
|
}
|