first commit
This commit is contained in:
53
project/fm_viewer/ui/rm_frame_bottom.h
Normal file
53
project/fm_viewer/ui/rm_frame_bottom.h
Normal file
@@ -0,0 +1,53 @@
|
||||
#ifndef RM_FRAME_BOTTOM_H
|
||||
#define RM_FRAME_BOTTOM_H
|
||||
|
||||
#include "../rm_include.h"
|
||||
#include "../fm_event_types.h"
|
||||
//#include "../core/rm_player_base.h"
|
||||
#include "rm_widget_style_base.h"
|
||||
|
||||
class RMBaseControl;
|
||||
class RMButton;
|
||||
class RMFrameBottom : public RMWidgetStyleBase
|
||||
{
|
||||
Q_OBJECT
|
||||
friend class RMFrameLeft; // control layout
|
||||
|
||||
public:
|
||||
//bool bFrontCamera;
|
||||
explicit RMFrameBottom(QWidget *parent = nullptr);
|
||||
|
||||
RMBaseControl* sliderControl; // slider + speed control (created from left frame)
|
||||
RMBaseControl* playControl; // control (created from left frame)
|
||||
|
||||
#if (MODEL_STANDARD && !DUAL_VIEWER)
|
||||
RMButton* frontCamera;
|
||||
RMButton* rearCamera;
|
||||
#endif
|
||||
|
||||
protected:
|
||||
bool bToggleEnabled;
|
||||
QHBoxLayout* layout;
|
||||
#if (MODEL_STANDARD && !SINGLE_CH_VIEWER)
|
||||
void updateSwapStatus();
|
||||
#endif
|
||||
|
||||
#if (LIVE_LANGUAGE_CHANGE && MODEL_STANDARD)
|
||||
void refreshLanguage();
|
||||
#endif
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
void onAppEvent(RMApp::Event event,int param) override;
|
||||
|
||||
#if !(SINGLE_CH_VIEWER)
|
||||
void onPlayEvent(PLAY_EVENT event, RMVideoItem* item);
|
||||
#endif
|
||||
|
||||
#if (LIVE_LANGUAGE_CHANGE && MODEL_STANDARD)
|
||||
void onLanguageChange(RMLanguage::LANGUAGE_TYPE language);
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif // RM_FRAME_BOTTOM_H
|
||||
Reference in New Issue
Block a user