first commit
This commit is contained in:
33
project/fm_viewer/ui/rm_play_slider.h
Normal file
33
project/fm_viewer/ui/rm_play_slider.h
Normal file
@@ -0,0 +1,33 @@
|
||||
#ifndef RM_PLAY_SLIDER_H
|
||||
#define RM_PLAY_SLIDER_H
|
||||
|
||||
#include "../rm_include.h"
|
||||
#include "../fm_event_types.h"
|
||||
|
||||
class RMSlider;
|
||||
class RMPlaySlider : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
friend class RMPlayer;
|
||||
friend class RMFrameSlider;
|
||||
public:
|
||||
explicit RMPlaySlider(QWidget *parent = nullptr);
|
||||
RMSlider* slider;
|
||||
QHBoxLayout* layout;
|
||||
|
||||
QLabel* currentTimeLabel;
|
||||
QLabel* durationLabel;
|
||||
private:
|
||||
double _itemDurationMSec; // AVI 헤더 시간
|
||||
//void paintEvent(QPaintEvent *pe);
|
||||
public slots:
|
||||
void setEnabled(bool bEnabled);
|
||||
void onPlayEvent(PLAY_EVENT event,RMVideoItem* item);
|
||||
void onPositionChanged(qint64 position,qint64 duration);
|
||||
void onEnableSliderDelay();
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
};
|
||||
|
||||
#endif // RM_PLAY_SLIDER_H
|
||||
Reference in New Issue
Block a user