-
-
Notifications
You must be signed in to change notification settings - Fork 78
Expand file tree
/
Copy pathDlgScreenCapture.h
More file actions
32 lines (26 loc) · 697 Bytes
/
DlgScreenCapture.h
File metadata and controls
32 lines (26 loc) · 697 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef DLGSCREENCAPTURE_H
#define DLGSCREENCAPTURE_H
#include <QDialog>
#include <QWebEngineDesktopMediaRequest>
namespace Ui {
class CDlgScreenCapture;
}
class CDlgScreenCapture : public QDialog
{
Q_OBJECT
public:
explicit CDlgScreenCapture(const QWebEngineDesktopMediaRequest request, QWidget *parent = nullptr);
~CDlgScreenCapture();
enum class Type {
Screen,
Window
};
Q_ENUM(Type)
int GetIndex(Type &type, int &id);
private slots:
void on_cbScreen_currentIndexChanged(int index);
void on_cbWindow_currentIndexChanged(int index);
private:
Ui::CDlgScreenCapture *ui;
};
#endif // DLGSCREENCAPTURE_H