Commit 3c164b33 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - extended... attempt to fix extended panel size... The culprit is still...

Qt4 - extended... attempt to fix extended panel size... The culprit is still the VideoFilter Widget.
parent b65f2537
...@@ -39,32 +39,32 @@ ExtendedDialog::ExtendedDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf ) ...@@ -39,32 +39,32 @@ ExtendedDialog::ExtendedDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf )
QGridLayout *layout = new QGridLayout( this ); QGridLayout *layout = new QGridLayout( this );
QTabWidget *mainTab = new QTabWidget( this ); QTabWidget *mainTabW = new QTabWidget( this );
mainTab->setTabPosition( QTabWidget::West ); mainTabW->setTabPosition( QTabWidget::West );
QWidget *audioWidget = new QWidget; QWidget *audioWidget = new QWidget;
QHBoxLayout *audioLayout = new QHBoxLayout( audioWidget ); QHBoxLayout *audioLayout = new QHBoxLayout( audioWidget );
QTabWidget *audioTab = new QTabWidget( mainTab ); QTabWidget *audioTab = new QTabWidget( audioWidget );
Equalizer *equal = new Equalizer( p_intf, this ); Equalizer *equal = new Equalizer( p_intf, audioTab );
audioTab->addTab( equal, qtr( "Graphic Equalizer" ) ); audioTab->addTab( equal, qtr( "Graphic Equalizer" ) );
Spatializer *spatial = new Spatializer( p_intf, this ); Spatializer *spatial = new Spatializer( p_intf, audioTab );
audioTab->addTab( spatial, qtr( "Spatializer" ) ); audioTab->addTab( spatial, qtr( "Spatializer" ) );
audioLayout->addWidget( audioTab ); audioLayout->addWidget( audioTab );
mainTab->addTab( audioWidget, qtr( "Audio effects" ) ); mainTabW->addTab( audioWidget, qtr( "Audio effects" ) );
ExtVideo *videoEffect = new ExtVideo( p_intf, this ); ExtVideo *videoEffect = new ExtVideo( p_intf, mainTabW );
mainTab->addTab( videoEffect, qtr( "Video Adjustments and Effects" ) ); mainTabW->addTab( videoEffect, qtr( "Video Effects" ) );
if( module_Exists( p_intf, "v4l2" ) ) if( module_Exists( p_intf, "v4l2" ) )
{ {
ExtV4l2 *v4l2 = new ExtV4l2( p_intf, this ); ExtV4l2 *v4l2 = new ExtV4l2( p_intf, mainTabW );
mainTab->addTab( v4l2, qtr( "v4l2 controls" ) ); mainTabW->addTab( v4l2, qtr( "v4l2 controls" ) );
} }
layout->addWidget( mainTab, 0, 0, 1, 5 ); layout->addWidget( mainTabW, 0, 0, 1, 5 );
QPushButton *closeButton = new QPushButton( qtr( "Close" ) ); QPushButton *closeButton = new QPushButton( qtr( "Close" ) );
layout->addWidget( closeButton, 1, 4, 1, 1 ); layout->addWidget( closeButton, 1, 4, 1, 1 );
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment