AJA NTV2 SDK  18.0.0.2122
NTV2 SDK 18.0.0.2122
ntv2qtmultiinput.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: MIT */
10 #ifndef NTV2QTMULTIINPUT_H
11 #define NTV2QTMULTIINPUT_H
12 
13 
14 #include "ajatypes.h"
15 #include "ajapreviewwidget.h"
16 #include "ntv2card.h"
17 #include "ntv2devicescanner.h"
18 #include "ntv2framegrabber.h"
19 #include "ajabase/common/types.h"
20 
21 
22 const uint32_t kInvalidBoardIndexNumber (9999);
23 const uint32_t kMaxNumInputs (8);
24 
25 
26 
32 class NTV2QtMultiInput : public QDialog
33 {
34  Q_OBJECT
35 
36  // Instance Methods
37  public:
38  NTV2QtMultiInput (QWidget * parent = 0, Qt::WindowFlags flags = Qt::WindowFlags());
40 
41  public slots:
46  void SlotAudioCheckBox (const int inputNum);
47 
52  void RequestDeviceChange (const int inDeviceIndexNum);
53 
58  void SlotCaptionsCheckBox (const int inputNum);
59 
60 
61  // Instance Data
62  private:
63  QComboBox * mDeviceChoicePopupMenu;
64  QGroupBox * mPreviewGroupBoxes [kMaxNumInputs];
65  QLabel * mInputLabels [kMaxNumInputs];
66  QCheckBox * mWithAudioCheckBoxes [kMaxNumInputs];
67  AJAPreviewWidget * mPreviewWidgets [kMaxNumInputs];
68  NTV2FrameGrabber * mFrameGrabbers [kMaxNumInputs];
69  UWord mDeviceInputCounts [99];
70  #if defined (INCLUDE_AJACC)
71  QCheckBox * mWithCaptionsCheckBoxes [kMaxNumInputs];
72  #endif
73 
74 }; // NTV2QtMultiInput
75 
76 
77 #endif // NTV2QTMULTIINPUT_H
Declares common types used in the ajabase library.
Header file for the NTV2FrameGrabber class.
const uint32_t kInvalidBoardIndexNumber(9999)
const uint32_t kMaxNumInputs(8)
NTV2QtMultiInput(QWidget *parent=0, Qt::WindowFlags flags=Qt::WindowFlags())
Declares the most fundamental data types used by NTV2. Since Windows NT was the first principal devel...
void SlotAudioCheckBox(const int inputNum)
This gets called when any "audio" checkbox is clicked.
Declares the CNTV2DeviceScanner class.
A QThread that captures audio/video from NTV2-compatible AJA devices and uses Qt signals to emit ARGB...
I am a QDialog that displays, in a 4-up (or 8-up) layout, whatever video is present on each SDI input...
uint16_t UWord
Definition: ajatypes.h:221
Declares the CNTV2Card class.
void RequestDeviceChange(const int inDeviceIndexNum)
This gets called when the user selects a different device from the device selector popup menu...
void SlotCaptionsCheckBox(const int inputNum)
This gets called when any "CC" checkbox is clicked.