Commit f4978776 authored by Clément Stenac's avatar Clément Stenac

Use a tab widget for extended GUI

parent 2e6b2114
...@@ -33,13 +33,15 @@ ExtendedDialog *ExtendedDialog::instance = NULL; ...@@ -33,13 +33,15 @@ ExtendedDialog *ExtendedDialog::instance = NULL;
ExtendedDialog::ExtendedDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf ) ExtendedDialog::ExtendedDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf )
{ {
setWindowTitle( _("Extended controls" ) ); QHBoxLayout *l = new QHBoxLayout( this );
QHBoxLayout *layout = new QHBoxLayout( this ); QTabWidget *tab = new QTabWidget( this );
l->addWidget( tab );
setWindowTitle( _("Extended controls" ) );
Equalizer *foo = new Equalizer( p_intf, this ); Equalizer *foo = new Equalizer( p_intf, this );
layout->addWidget( foo );
setLayout( layout ); tab->addTab( foo, qtr( "Equalizer" ) );
} }
ExtendedDialog::~ExtendedDialog() ExtendedDialog::~ExtendedDialog()
......
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