KShare/recording/recordingpreview.hpp

25 lines
498 B
C++
Raw Normal View History

#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;
2017-06-24 23:03:00 +02:00
QSize size;
QRect recordingArea;
};
#endif // RECORDINGPREVIEW_HPP