]> git.sesse.net Git - vlc/commitdiff
Qt: dialog editor, add a widget to help understand the feature.
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 11 Feb 2009 20:52:50 +0000 (21:52 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 12 Feb 2009 22:30:08 +0000 (23:30 +0100)
modules/gui/qt4/dialogs/toolbar.cpp

index d22f40a3e41109e9b0a858cf95ceb54f8961039e..5ee640e3a94e7afa78f02e0e0f74e26898ff072d 100644 (file)
@@ -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 );