* $Id$
*
* Authors: Clément Stenac <zorglub@videolan.org>
+ * Jean-Baptiste Kempf <jb@videolan.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
-#include "qt4.hpp"
#include "dialogs/extended.hpp"
#include "dialogs_provider.hpp"
-#include "util/qvlcframe.hpp"
#include "components/extended_panels.hpp"
#include <QTabWidget>
QGridLayout *layout = new QGridLayout( this );
- QTabWidget *tab = new QTabWidget( this );
- Equalizer *foo = new Equalizer( p_intf, this );
- tab->addTab( foo, qtr( "Graphic Equalizer" ) );
+ QTabWidget *mainTab = new QTabWidget( this );
+ mainTab->setTabPosition( QTabWidget::West );
- ExtVideo *bar = new ExtVideo( p_intf, this );
- tab->addTab( bar, qtr( "Video Adjustments and Effects" ) );
+ QWidget *audioWidget = new QWidget;
+ QHBoxLayout *audioLayout = new QHBoxLayout( audioWidget );
+ QTabWidget *audioTab = new QTabWidget( mainTab );
- layout->addWidget( tab, 0, 0, 1, 5 );
+ Equalizer *equal = new Equalizer( p_intf, this );
+ audioTab->addTab( equal, qtr( "Graphic Equalizer" ) );
+
+ Spatializer *spatial = new Spatializer( p_intf, this );
+ audioTab->addTab( spatial, qtr( "Spatializer" ) );
+ audioLayout->addWidget( audioTab );
+
+ mainTab->addTab( audioWidget, qtr( "Audio effects" ) );
+
+ ExtVideo *videoEffect = new ExtVideo( p_intf, this );
+ mainTab->addTab( videoEffect, qtr( "Video Adjustments and Effects" ) );
+
+ layout->addWidget( mainTab, 0, 0, 1, 5 );
QPushButton *closeButton = new QPushButton( qtr( "Close" ) );
layout->addWidget( closeButton, 1, 4, 1, 1);
CONNECT( closeButton, clicked(), this, close() );
+
+ readSettings( "EPanel", QSize( 400, 300 ), QPoint( 450, 0 ) );
}
-ExtendedDialog::~ExtendedDialog()
+void ExtendedDialog::savingSettings()
{
+ writeSettings( "EPanel" );
}
+ExtendedDialog::~ExtendedDialog()
+{}
+