imagepro  2019 march
Biblioteca imagepro
screenshot.h
Ir a la documentación de este archivo.
1 
19 #ifndef SCREENSHOT_H
20 #define SCREENSHOT_H
21 
22 #include "imagepro.h"
23 
25 {
26 public:
27  ScreenShot();
28  ~ScreenShot();
29 
30  QString directory;
31  Mat *screen;
32 
33  void captureWindow(Mat *screenShot);
34  QPixmap captureWindow();
35  QPixmap captureAppWindow(QWidget *window, int x, int y, int width, int height);
36  void captureSaveWindow();
37  void captureSaveWindow(QString directory_);
38 };
39 
40 #endif // SCREENSHOT_H
Definition: screenshot.h:24
Clase auxiliar para transformar imágenes de un formato a otro (Mat, QPixmap, QImage)
~ScreenShot()
Definition: screenshot.cpp:8
void captureSaveWindow()
Definition: screenshot.cpp:57
Mat * screen
Definition: screenshot.h:31
QPixmap captureAppWindow(QWidget *window, int x, int y, int width, int height)
Definition: screenshot.cpp:41
QString directory
Definition: screenshot.h:30
ScreenShot()
Definition: screenshot.cpp:3
QPixmap captureWindow()
Definition: screenshot.cpp:27