forked from glikely/obs-ptz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.hpp
40 lines (31 loc) · 823 Bytes
/
settings.hpp
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
/* Pan Tilt Zoom settings window
*
* Copyright 2020 Grant Likely <grant.likely@secretlab.ca>
*
* SPDX-License-Identifier: GPLv2
*/
#pragma once
#include <QWidget>
#include <QString>
#include <imported/properties-view.hpp>
class Ui_PTZSettings;
class PTZSettings : public QWidget {
Q_OBJECT
private:
Ui_PTZSettings *ui;
OBSPropertiesView *propertiesView = nullptr;
void current_device_changed();
public:
PTZSettings();
~PTZSettings();
void set_selected(unsigned int row);
public slots:
void on_close_clicked();
void on_addPTZ_clicked();
void on_removePTZ_clicked();
void on_applyButton_clicked();
void on_gamepadCheckBox_stateChanged(int state);
void currentChanged(const QModelIndex ¤t, const QModelIndex &previous);
};
void ptz_settings_show(int row);
extern "C" void ptz_init_settings();