2017-04-23 15:05:48 +02:00
|
|
|
#ifndef SCREENSHOTUTIL_HPP
|
|
|
|
#define SCREENSHOTUTIL_HPP
|
|
|
|
|
2017-07-01 17:24:03 +02:00
|
|
|
#include <QApplication>
|
2017-05-19 22:32:23 +02:00
|
|
|
#include <QWidget>
|
2017-04-23 15:05:48 +02:00
|
|
|
|
2017-05-06 13:21:12 +02:00
|
|
|
namespace screenshotutil {
|
2017-07-02 20:51:15 +02:00
|
|
|
QPixmap fullscreen(bool cursor = true);
|
|
|
|
QPixmap fullscreenArea(bool cursor = true, qreal x = 0, qreal y = 0, qreal w = -1, qreal h = -1);
|
|
|
|
QPixmap window(WId wid, QScreen *w = QApplication::primaryScreen());
|
2017-04-23 15:05:48 +02:00
|
|
|
void toClipboard(QString value);
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // SCREENSHOTUTIL_HPP
|