1
/* qv4l2: a control panel controlling v4l2 devices.
3
* Copyright (C) 2006 Hans Verkuil <hverkuil@xs4all.nl>
5
* This program is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU General Public License
7
* as published by the Free Software Foundation; either version 2
8
* of the License, or (at your option) any later version.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25
#include <linux/videodev2.h>
31
class GeneralTab: public QGrid
36
GeneralTab(const char *device, int fd, int n, QWidget *parent = 0);
37
virtual ~GeneralTab() {}
40
void inputChanged(int);
41
void outputChanged(int);
42
void inputAudioChanged(int);
43
void outputAudioChanged(int);
44
void standardChanged(int);
45
void freqTableChanged(int);
46
void freqChannelChanged(int);
47
void freqChanged(int);
50
void updateVideoInput();
51
void updateVideoOutput();
52
void updateAudioInput();
53
void updateAudioOutput();
54
void updateStandard();
56
void updateFreqChannel();
59
struct v4l2_tuner tuner;
60
struct v4l2_capability querycap;
63
QComboBox *videoInput;
64
QComboBox *videoOutput;
65
QComboBox *audioInput;
66
QComboBox *audioOutput;
67
QComboBox *tvStandard;
70
QComboBox *freqChannel;