ExtendedDialog::ExtendedDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf )
{
- setWindowTitle( _("Extended controls" ) );
- QHBoxLayout *layout = new QHBoxLayout( this );
+ QHBoxLayout *l = new QHBoxLayout( this );
+ QTabWidget *tab = new QTabWidget( this );
+
+ l->addWidget( tab );
+ setWindowTitle( _("Extended controls" ) );
Equalizer *foo = new Equalizer( p_intf, this );
- layout->addWidget( foo );
- setLayout( layout );
+ tab->addTab( foo, qtr( "Equalizer" ) );
}
ExtendedDialog::~ExtendedDialog()