+ /*******
+ * V4L2*
+ *******/
+ if( module_Exists( p_intf, "v4l2" ) ){
+ addModuleAndLayouts( V4L2_DEVICE, v4l2, "Video for Linux 2" );
+
+ /* V4l Main panel */
+ QLabel *v4l2VideoDeviceLabel = new QLabel( qtr( "Video device name" ) );
+ v4l2DevLayout->addWidget( v4l2VideoDeviceLabel, 0, 0 );
+
+ v4l2VideoDevice = new QLineEdit;
+ v4l2DevLayout->addWidget( v4l2VideoDevice, 0, 1 );
+
+ QLabel *v4l2AudioDeviceLabel = new QLabel( qtr( "Audio device name" ) );
+ v4l2DevLayout->addWidget( v4l2AudioDeviceLabel, 1, 0 );
+
+ v4l2AudioDevice = new QLineEdit;
+ v4l2DevLayout->addWidget( v4l2AudioDevice, 1, 1 );
+
+ /* v4l2 Props panel */
+ QLabel *v4l2StdLabel = new QLabel( qtr( "Standard" ) );
+ v4l2PropLayout->addWidget( v4l2StdLabel, 0 , 0 );
+
+ v4l2StdBox = new QComboBox;
+ setfillVLCConfigCombo( "v4l2-standard", p_intf, v4l2StdBox );
+ v4l2PropLayout->addWidget( v4l2StdBox, 0 , 1 );
+ v4l2PropLayout->addItem( new QSpacerItem( 20, 20, QSizePolicy::Expanding ),
+ 1, 0, 3, 1 );
+
+ /* v4l2 CONNECTs */
+ CuMRL( v4l2VideoDevice, textChanged( QString ) );
+ CuMRL( v4l2AudioDevice, textChanged( QString ) );
+ CuMRL( v4l2StdBox, currentIndexChanged ( int ) );
+ }
+