-
- QLabel *dshowVDeviceLabel = new QLabel( qtr( "Video Device Name " ) );
- dshowDevLayout->addWidget( dshowVDeviceLabel, 0, 0 );
-
- QLabel *dshowADeviceLabel = new QLabel( qtr( "Audio Device Name " ) );
- dshowDevLayout->addWidget( dshowADeviceLabel, 1, 0 );
-
- QComboBox *dshowVDevice = new QComboBox;
- dshowDevLayout->addWidget( dshowVDevice, 0, 1 );
-
- QComboBox *dshowADevice = new QComboBox;
- dshowDevLayout->addWidget( dshowADevice, 1, 1 );
-
- QPushButton *dshowVRefresh = new QPushButton( qtr( "Update List" ) );
- dshowDevLayout->addWidget( dshowVRefresh, 0, 2 );
-
- QPushButton *dshowARefresh = new QPushButton( qtr( "Update List" ) );
- dshowDevLayout->addWidget( dshowARefresh, 1, 2 );
-
- QPushButton *dshowVConfig = new QPushButton( qtr( "Configure" ) );
- dshowDevLayout->addWidget( dshowVConfig, 0, 3 );
-
- QPushButton *dshowAConfig = new QPushButton( qtr( "Configure" ) );
- dshowDevLayout->addWidget( dshowAConfig, 1, 3 );
+ int line = 0;
+ module_config_t *p_config =
+ config_FindConfig( VLC_OBJECT(p_intf), "dshow-vdev" );
+ vdevDshowW = new StringListConfigControl(
+ VLC_OBJECT(p_intf), p_config, this, false, dshowDevLayout, line );
+ line++;
+
+ p_config = config_FindConfig( VLC_OBJECT(p_intf), "dshow-adev" );
+ adevDshowW = new StringListConfigControl(
+ VLC_OBJECT(p_intf), p_config, this, false, dshowDevLayout, line );
+ line++;