first commit
This commit is contained in:
28
project/fm_viewer/ui/fm_frame_gps.h
Normal file
28
project/fm_viewer/ui/fm_frame_gps.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef FM_FRAME_GPS_H
|
||||
#define FM_FRAME_GPS_H
|
||||
#if (USE_FRAME_GPS)
|
||||
|
||||
#include "../rm_include.h"
|
||||
#include "../core/rm_player_base.h"
|
||||
#include "rm_widget_style_base.h"
|
||||
class RMSensorData;
|
||||
class FMFrameGPS : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit FMFrameGPS(QWidget *parent = nullptr);
|
||||
|
||||
private:
|
||||
//QLabel* speed;
|
||||
QLabel* lat;
|
||||
QLabel* lon;
|
||||
QHBoxLayout* layout;
|
||||
RMSensorData* _sensor;
|
||||
void paintEvent(QPaintEvent *pe);
|
||||
public slots:
|
||||
void onPositionChanged(qint64 position,qint64 duration);
|
||||
void onPlayEvent(PLAY_EVENT event,RMVideoItem* item);
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // FM_FRAME_GPS_H
|
||||
Reference in New Issue
Block a user