-
Notifications
You must be signed in to change notification settings - Fork 287
Expand file tree
/
Copy pathroomsettings.h
More file actions
71 lines (58 loc) · 1.8 KB
/
Copy pathroomsettings.h
File metadata and controls
71 lines (58 loc) · 1.8 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#ifndef ROOMSETTINGS_H
#define ROOMSETTINGS_H
#include "mainwindow.h"
#include <QMainWindow>
#include <memory>
namespace Ui {
class roomsettings;
}
class roomsettings : public QMainWindow
{
Q_OBJECT
public:
explicit roomsettings(QWidget *parent = 0);
explicit roomsettings(QMainWindow* pLastWnd,QWidget *parent = 0);
~roomsettings();
void initWindow(const QString& qsChannel);
bool SetCustomVideoProfile();
private slots:
void OnClickLastPage();
void OnOptAudio();
void OnOptVideo();
void OnOptBeauty();
void OnCbVPIndexChanged();
void on_cbVideoProfile_activated(const QString &arg1);
void on_cbRecordDevices_activated(int index);
void on_cbVideoDevices_activated(int index);
void on_cbPlayDevices_activated(int index);
void on_cbContrastLevel_activated(int index);
void on_valueChanged_horizontalSlider_Redness(int value);
void on_valueChanged_horizontalSlider_Smoothness(int value);
void on_valueChanged_horizontalSlider_Lightening(int value);
void on_cbVideoFPS_currentIndexChanged(int index);
void on_cbVideoBitrate_currentIndexChanged(int index);
protected:
virtual void mousePressEvent(QMouseEvent *e);
virtual void mouseMoveEvent(QMouseEvent *e);
virtual void mouseReleaseEvent(QMouseEvent *e);
void enableVideoBeutyControl(bool bEnable);
void updateBeautyOptions();
void setVideoProfile(const QString argResolution);
private:
const int lnGapWidth = 18;
const int lnGapHeight = 12;
const int lnTitleWidth = 718;
const int lnTitleHeight = 30;
QPoint m_mousePosition;
bool m_bMousePressed;
int fps[5];
int bitrate[3];
private:
Ui::roomsettings *ui;
QMainWindow* m_pLastWnd;
private:
bool m_bEnableAudio;
bool m_bEnableVideo;
bool m_bEnableBeauty;
};
#endif // ROOMSETTINGS_H