#ifndef RM_FRAME_TOP_H #define RM_FRAME_TOP_H #if (DUAL_VIEWER) #include "../rm_include.h" #include "rm_widget_base.h" #include "rm_frame_right.h" #include "rm_frame_video_main.h" #include "rm_frame_video_sub.h" class RMFrameVideoMain; class RMFrameVideoSub; class RMFrameTop : public RMWidgetBase { Q_OBJECT public: explicit RMFrameTop(QWidget *parent = nullptr); RMFrameVideoMain* frameMainVideo; // main video RMFrameVideoSub* frameVideoSub; // sub video protected: QHBoxLayout* layout; public slots: void onAppEvent(RMApp::Event event) override; }; #endif // DUAL_VIEWER #endif // RM_FRAME_TOP_H