玉兔远程控制 0.1.0-bate5
载入中...
搜索中...
未找到
DlgScreenCapture.h
1#ifndef DLGSCREENCAPTURE_H
2#define DLGSCREENCAPTURE_H
3
4#include <QDialog>
5#include <QWebEngineDesktopMediaRequest>
6
7namespace Ui {
9}
10
11class CDlgScreenCapture : public QDialog
12{
13 Q_OBJECT
14
15public:
16 explicit CDlgScreenCapture(const QWebEngineDesktopMediaRequest request, QWidget *parent = nullptr);
18 enum class Type {
19 Screen,
20 Window
21 };
22 Q_ENUM(Type)
23 int GetIndex(Type &type, int &id);
24private slots:
25 void on_cbScreen_currentIndexChanged(int index);
26 void on_cbWindow_currentIndexChanged(int index);
27
28private:
29 Ui::CDlgScreenCapture *ui;
30};
31
32#endif // DLGSCREENCAPTURE_H