#ifndef RECORDINGPREVIEW_HPP #define RECORDINGPREVIEW_HPP #include #include #include #include class RecordingPreview : public QWidget { Q_OBJECT public: explicit RecordingPreview(QRect recordingArea, QWidget *parent = 0); ~RecordingPreview(); void setPixmap(QPixmap map); void setTime(QString time, int frame); private: QLabel *label; QLabel *hintLabel; QRect recordingArea; }; #endif // RECORDINGPREVIEW_HPP