From: Jean-Baptiste Kempf Date: Sat, 5 Jan 2008 09:02:40 +0000 (+0000) Subject: Qt4 - extended... attempt to fix extended panel size... The culprit is still the... X-Git-Tag: 0.9.0-test0~3644 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=3c164b3359e63c0cf4647855095aaea34f620d4a;p=vlc Qt4 - extended... attempt to fix extended panel size... The culprit is still the VideoFilter Widget. --- diff --git a/modules/gui/qt4/dialogs/extended.cpp b/modules/gui/qt4/dialogs/extended.cpp index 826f47cdd6..b6e3a56e41 100644 --- a/modules/gui/qt4/dialogs/extended.cpp +++ b/modules/gui/qt4/dialogs/extended.cpp @@ -39,32 +39,32 @@ ExtendedDialog::ExtendedDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf ) QGridLayout *layout = new QGridLayout( this ); - QTabWidget *mainTab = new QTabWidget( this ); - mainTab->setTabPosition( QTabWidget::West ); + QTabWidget *mainTabW = new QTabWidget( this ); + mainTabW->setTabPosition( QTabWidget::West ); QWidget *audioWidget = new QWidget; 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" ) ); - Spatializer *spatial = new Spatializer( p_intf, this ); + Spatializer *spatial = new Spatializer( p_intf, audioTab ); audioTab->addTab( spatial, qtr( "Spatializer" ) ); audioLayout->addWidget( audioTab ); - mainTab->addTab( audioWidget, qtr( "Audio effects" ) ); + mainTabW->addTab( audioWidget, qtr( "Audio effects" ) ); - ExtVideo *videoEffect = new ExtVideo( p_intf, this ); - mainTab->addTab( videoEffect, qtr( "Video Adjustments and Effects" ) ); + ExtVideo *videoEffect = new ExtVideo( p_intf, mainTabW ); + mainTabW->addTab( videoEffect, qtr( "Video Effects" ) ); if( module_Exists( p_intf, "v4l2" ) ) { - ExtV4l2 *v4l2 = new ExtV4l2( p_intf, this ); - mainTab->addTab( v4l2, qtr( "v4l2 controls" ) ); + ExtV4l2 *v4l2 = new ExtV4l2( p_intf, mainTabW ); + 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" ) ); layout->addWidget( closeButton, 1, 4, 1, 1 ); diff --git a/modules/gui/qt4/ui/video_effects.ui b/modules/gui/qt4/ui/video_effects.ui index 3d52e7d228..29f3db46f4 100644 --- a/modules/gui/qt4/ui/video_effects.ui +++ b/modules/gui/qt4/ui/video_effects.ui @@ -9,18 +9,42 @@ 289 + + + 0 + 0 + + Form - + + 9 + + + 9 + + + 9 + + 9 - + + 6 + + 6 + + + 0 + 0 + + 0 @@ -29,10 +53,22 @@ _("Basic") - + + 9 + + 9 - + + 9 + + + 9 + + + 6 + + 6 @@ -47,10 +83,22 @@ false - + 9 - + + 9 + + + 9 + + + 9 + + + 6 + + 6 @@ -71,10 +119,22 @@ false - + 9 - + + 9 + + + 9 + + + 9 + + + 6 + + 6 @@ -124,10 +184,22 @@ false - + 9 - + + 9 + + + 9 + + + 9 + + + 6 + + 6 @@ -262,10 +334,22 @@ _("Color fun") - + 9 - + + 9 + + + 9 + + + 9 + + + 6 + + 6 @@ -280,10 +364,22 @@ false - + + 9 + + + 9 + + + 9 + + 9 - + + 6 + + 6 @@ -322,10 +418,22 @@ false - + + 9 + + + 9 + + 9 - + + 9 + + + 6 + + 6 @@ -380,10 +488,22 @@ _("Some random name") - + + 9 + + + 9 + + 9 - + + 9 + + + 6 + + 6 @@ -405,10 +525,22 @@ false - + + 9 + + + 9 + + 9 - + + 9 + + + 6 + + 6 @@ -455,10 +587,22 @@ false - + + 9 + + 9 - + + 9 + + + 9 + + + 6 + + 6 @@ -512,10 +656,22 @@ _("Image modification") - + + 9 + + + 9 + + + 9 + + 9 - + + 6 + + 6 @@ -565,10 +721,22 @@ false - + 9 - + + 9 + + + 9 + + + 9 + + + 6 + + 6 @@ -615,10 +783,22 @@ false - + + 9 + + + 9 + + + 9 + + 9 - + + 6 + + 6 @@ -655,10 +835,22 @@ _("Find a name") - + + 9 + + + 9 + + 9 - + + 9 + + + 6 + + 6 @@ -673,10 +865,22 @@ false - + + 9 + + + 9 + + 9 - + + 9 + + + 6 + + 6 @@ -724,10 +928,22 @@ false - + + 9 + + + 9 + + 9 - + + 9 + + + 6 + + 6 @@ -762,10 +978,22 @@ false - + + 9 + + 9 - + + 9 + + + 9 + + + 6 + + 6 @@ -812,10 +1040,22 @@ _("Overlay") - + + 9 + + 9 - + + 9 + + + 9 + + + 6 + + 6 @@ -830,10 +1070,22 @@ false - + + 9 + + 9 - + + 9 + + + 9 + + + 6 + + 6 @@ -871,10 +1123,22 @@ false - + + 9 + + + 9 + + + 9 + + 9 - + + 6 + + 6 @@ -940,10 +1204,22 @@ _("Advanced video filter controls") - + 9 - + + 9 + + + 9 + + + 9 + + + 6 + + 6