From 0fc3f644db3221321bec1b889c2233f6fb8ac195 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Wed, 11 Feb 2009 21:52:50 +0100 Subject: [PATCH] Qt: dialog editor, add a widget to help understand the feature. --- modules/gui/qt4/dialogs/toolbar.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/gui/qt4/dialogs/toolbar.cpp b/modules/gui/qt4/dialogs/toolbar.cpp index d22f40a3e4..5ee640e3a9 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 ); -- 2.39.2