first commit
This commit is contained in:
91
project/fm_viewer/ui/rm_frame_left.h
Normal file
91
project/fm_viewer/ui/rm_frame_left.h
Normal file
@@ -0,0 +1,91 @@
|
||||
#ifndef RM_LEFT_PANEL_H
|
||||
#define RM_LEFT_PANEL_H
|
||||
|
||||
#include <QHBoxLayout>
|
||||
#include "../rm_include.h"
|
||||
#include "rm_widget_base.h"
|
||||
|
||||
// NORMAL MODE 에서는 전체 좌측 영역
|
||||
// DUAL MODE 에서는 하단 좌측 영역
|
||||
|
||||
#if !(DUAL_VIEWER)
|
||||
class RMFrameVideoMain;
|
||||
#endif
|
||||
|
||||
#if (TOPDOWN_CH_LAYOUT)
|
||||
class RMFrameVideoSub;
|
||||
#endif
|
||||
|
||||
class RMFrameBottom;
|
||||
|
||||
class RMFrameGraph;
|
||||
|
||||
class RMPlaySlider;
|
||||
class RMFramePlay;
|
||||
class RMFrameEQ;
|
||||
|
||||
#if (RM_MODEL == RM_MODEL_TYPE_AN6000)
|
||||
class FMDayTime;
|
||||
#endif
|
||||
|
||||
class RMFrameLeft : public RMWidgetBase
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit RMFrameLeft(QWidget *parent = nullptr);
|
||||
|
||||
#if !(DUAL_VIEWER)
|
||||
RMFrameVideoMain* frameMainVideo; // main video
|
||||
#endif
|
||||
|
||||
#if (TOPDOWN_CH_LAYOUT)
|
||||
RMFrameVideoSub* frameVideoSub;
|
||||
QWidget* subVideoFrame;
|
||||
#endif // TOPDOWN_CH_LAYOUT
|
||||
|
||||
RMPlaySlider* frameSlider; // Play Slider
|
||||
#if (!PLAYER_ONLY_LIBRARY_MODE)
|
||||
#if (RM_MODEL != RM_MODEL_TYPE_TB4000 && !DO_NOT_USE_GRAPH)
|
||||
RMFrameGraph* frameGraph; // speed + graph
|
||||
#endif // RM_MODEL
|
||||
|
||||
#if (RM_MODEL == RM_MODEL_TYPE_AN6000)
|
||||
FMDayTime* frameDayTime;
|
||||
#endif // RM_MODEL_TYPE_AN6000
|
||||
#endif // #if (!PLAYER_ONLY_LIBRARY_MODE)
|
||||
|
||||
#if !(DO_NOT_USE_EQ)
|
||||
RMFrameEQ* frameEQ; // EQ Frame
|
||||
#endif // DO_NOT_USE_EQ
|
||||
|
||||
#if (!PLAYER_ONLY_LIBRARY_MODE)
|
||||
RMFramePlay* framePlay; // control
|
||||
#endif // #if (!PLAYER_ONLY_LIBRARY_MODE)
|
||||
QWidget* mainVideoFrame;
|
||||
QWidget* sliderMain;
|
||||
QHBoxLayout* sliderParentLayout;
|
||||
QWidget* controlParent;
|
||||
QVBoxLayout* controlParentLayout;
|
||||
protected:
|
||||
QVBoxLayout* layout;
|
||||
|
||||
private:
|
||||
int _normalControlParentHeight; // 전체화면, 복원용
|
||||
void createVideoSliderFrame(); // Video + Slider
|
||||
void createSpeedGraphEQPlayFrame(); // Speed Label + Graph + EQualizer + Play Frame
|
||||
|
||||
#if !(DO_NOT_USE_EQ)
|
||||
int _eqIndex;
|
||||
#endif // #if !(DO_NOT_USE_EQ)
|
||||
int _sliderControlIndex; // toggle full screen restore
|
||||
int _playControlIndex; // "
|
||||
|
||||
//QSpacerItem* _sliderToGraphSpacer;
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
void onAppEvent(RMApp::Event event,int param) override;
|
||||
};
|
||||
|
||||
#endif // RM_LEFT_PANEL_H
|
||||
Reference in New Issue
Block a user