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

Cosmetics

parent ccacddbd
...@@ -59,6 +59,11 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) : ...@@ -59,6 +59,11 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
setColumnCount( 1 ); setColumnCount( 1 );
setIconSize( QSize( ITEM_HEIGHT,ITEM_HEIGHT ) ); setIconSize( QSize( ITEM_HEIGHT,ITEM_HEIGHT ) );
setAlternatingRowColors( true );
QFont f = font();
f.setPointSize( f.pointSize() + 1 );
setFont( f );
#define BI( a,b) QIcon a##_icon = QIcon( QPixmap( b##_xpm )) #define BI( a,b) QIcon a##_icon = QIcon( QPixmap( b##_xpm ))
BI( audio, audio ); BI( audio, audio );
...@@ -346,6 +351,7 @@ PrefsPanel::PrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, ...@@ -346,6 +351,7 @@ PrefsPanel::PrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
msg_Warn( p_intf, "unable to create preferences (main not found)"); msg_Warn( p_intf, "unable to create preferences (main not found)");
return; return;
} }
vlc_list_release( p_list );
} }
if( p_module->b_submodule ) if( p_module->b_submodule )
......
...@@ -42,6 +42,10 @@ PrefsDialog::PrefsDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf ) ...@@ -42,6 +42,10 @@ PrefsDialog::PrefsDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
setWindowTitle( _("Preferences" ) ); setWindowTitle( _("Preferences" ) );
resize( 800, 450 ); resize( 800, 450 );
QPalette plt( palette() );
plt.setColor( QPalette::Active, QPalette::Highlight, Qt::gray );
setPalette( plt );
advanced_tree = NULL; advanced_tree = NULL;
simple_tree = NULL; simple_tree = NULL;
simple_panel = NULL; simple_panel = NULL;
...@@ -53,7 +57,7 @@ PrefsDialog::PrefsDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf ) ...@@ -53,7 +57,7 @@ PrefsDialog::PrefsDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
types = new QGroupBox( "Show settings" ); types = new QGroupBox( "Show settings" );
QHBoxLayout *tl = new QHBoxLayout(); QHBoxLayout *tl = new QHBoxLayout();
tl->setSpacing( 3 ); tl->setSpacing( 3 );
small = new QRadioButton( "Common", types ); small = new QRadioButton( "Basic", types );
all = new QRadioButton( "All", types ); all = new QRadioButton( "All", types );
tl->addWidget( small ); tl->addWidget( small );
tl->addWidget( all ); tl->addWidget( all );
......
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