From: Jean-Baptiste Kempf Date: Sat, 18 Jul 2009 14:01:14 +0000 (+0200) Subject: Qt: Simple preference: update layout for updatesDays X-Git-Tag: 1.1.0-ff~4914 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=2779ac98fc116275cf490f63470f327917d40fc6;p=vlc Qt: Simple preference: update layout for updatesDays --- diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp index 729c6b0b3b..7b51f97509 100644 --- a/modules/gui/qt4/components/simple_preferences.cpp +++ b/modules/gui/qt4/components/simple_preferences.cpp @@ -520,7 +520,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, addWidget( preview, 1, 0, 1, 2 ); CONNECT( ui.displayModeBox, currentIndexChanged( int ), preview, setPreview( int ) ); - + CONFIG_GENERIC( "qt-display-mode", IntegerList, ui.displayLabel, displayModeBox ); CONFIG_GENERIC( "embedded-video", Bool, NULL, embedVideo ); @@ -538,12 +538,12 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, CONFIG_GENERIC( "qt-updates-notif", Bool, NULL, updatesBox ); CONFIG_GENERIC_NO_BOOL( "qt-updates-days", Integer, NULL, updatesDays ); - ui.updatenotifier_zone->setEnabled( ui.updatesBox->isChecked() ); + ui.updatesDays->setEnabled( ui.updatesBox->isChecked() ); CONNECT( ui.updatesBox, toggled( bool ), - ui.updatenotifier_zone, setEnabled( bool ) ); + ui.updatesDays, setEnabled( bool ) ); #else ui.updatesBox->hide(); - ui.updatenotifier_zone->hide(); + ui.updatesDays->hide(); #endif /* ONE INSTANCE options */ #if defined( WIN32 ) || defined( HAVE_DBUS ) || defined(__APPLE__) diff --git a/modules/gui/qt4/dialogs/toolbar.cpp b/modules/gui/qt4/dialogs/toolbar.cpp index 780d3f1814..83d984dace 100644 --- a/modules/gui/qt4/dialogs/toolbar.cpp +++ b/modules/gui/qt4/dialogs/toolbar.cpp @@ -1,7 +1,7 @@ /***************************************************************************** * ToolbarEdit.cpp : ToolbarEdit and About dialogs **************************************************************************** - * Copyright (C) 2008 the VideoLAN team + * Copyright (C) 2008-2009 the VideoLAN team * $Id$ * * Authors: Jean-Baptiste Kempf diff --git a/modules/gui/qt4/ui/sprefs_interface.ui b/modules/gui/qt4/ui/sprefs_interface.ui index 9bde372db0..3f7c3cf505 100644 --- a/modules/gui/qt4/ui/sprefs_interface.ui +++ b/modules/gui/qt4/ui/sprefs_interface.ui @@ -73,24 +73,23 @@ - - - - Every - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - + + + 0 + 0 + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter days + + Every + @@ -98,9 +97,12 @@ Qt::Horizontal + + QSizePolicy::Preferred + - 320 + 200 27