KShare/recording/recordingpreview.hpp

24 lines
482 B
C++

#ifndef RECORDINGPREVIEW_HPP
#define RECORDINGPREVIEW_HPP
#include <QLabel>
#include <QObject>
#include <QRect>
#include <QWidget>
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