[vlc-devel] commit: Qt: dialog editor, add a widget to help understand the feature. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Thu Feb 12 23:30:32 CET 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Feb 11 21:52:50 2009 +0100| [0fc3f644db3221321bec1b889c2233f6fb8ac195] | committer: Jean-Baptiste Kempf 

Qt: dialog editor, add a widget to help understand the feature.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0fc3f644db3221321bec1b889c2233f6fb8ac195
---

 modules/gui/qt4/dialogs/toolbar.cpp |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/modules/gui/qt4/dialogs/toolbar.cpp b/modules/gui/qt4/dialogs/toolbar.cpp
index d22f40a..5ee640e 100644
--- a/modules/gui/qt4/dialogs/toolbar.cpp
+++ b/modules/gui/qt4/dialogs/toolbar.cpp
@@ -55,14 +55,16 @@ ToolbarEditDialog::ToolbarEditDialog( intf_thread_t *_p_intf)
                               QSizePolicy::MinimumExpanding );
     QGridLayout *boxLayout = new QGridLayout( widgetBox );
 
+    QLabel *styleLabel = new QLabel( qtr( "Next widget style:" ) );
     flatBox = new QCheckBox( qtr( "Flat Button" ) );
     bigBox = new QCheckBox( qtr( "Big Button" ) );
     shinyBox = new QCheckBox( qtr( "Native Slider" ) );
 
     boxLayout->addWidget( new WidgetListing( p_intf, this ), 0, 0, 1, -1);
-    boxLayout->addWidget( flatBox, 1, 0 );
-    boxLayout->addWidget( bigBox, 1, 1 );
-    boxLayout->addWidget( shinyBox, 1, 2 );
+    boxLayout->addWidget( styleLabel, 1, 0 );
+    boxLayout->addWidget( flatBox, 1, 1 );
+    boxLayout->addWidget( bigBox, 1, 2 );
+    boxLayout->addWidget( shinyBox, 1, 3 );
     mainLayout->addWidget( widgetBox, 0, 0, 1, -1 );
 
 




More information about the vlc-devel mailing list