Commit 0fc3f644 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

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

parent c81541fe
...@@ -55,14 +55,16 @@ ToolbarEditDialog::ToolbarEditDialog( intf_thread_t *_p_intf) ...@@ -55,14 +55,16 @@ ToolbarEditDialog::ToolbarEditDialog( intf_thread_t *_p_intf)
QSizePolicy::MinimumExpanding ); QSizePolicy::MinimumExpanding );
QGridLayout *boxLayout = new QGridLayout( widgetBox ); QGridLayout *boxLayout = new QGridLayout( widgetBox );
QLabel *styleLabel = new QLabel( qtr( "Next widget style:" ) );
flatBox = new QCheckBox( qtr( "Flat Button" ) ); flatBox = new QCheckBox( qtr( "Flat Button" ) );
bigBox = new QCheckBox( qtr( "Big Button" ) ); bigBox = new QCheckBox( qtr( "Big Button" ) );
shinyBox = new QCheckBox( qtr( "Native Slider" ) ); shinyBox = new QCheckBox( qtr( "Native Slider" ) );
boxLayout->addWidget( new WidgetListing( p_intf, this ), 0, 0, 1, -1); boxLayout->addWidget( new WidgetListing( p_intf, this ), 0, 0, 1, -1);
boxLayout->addWidget( flatBox, 1, 0 ); boxLayout->addWidget( styleLabel, 1, 0 );
boxLayout->addWidget( bigBox, 1, 1 ); boxLayout->addWidget( flatBox, 1, 1 );
boxLayout->addWidget( shinyBox, 1, 2 ); boxLayout->addWidget( bigBox, 1, 2 );
boxLayout->addWidget( shinyBox, 1, 3 );
mainLayout->addWidget( widgetBox, 0, 0, 1, -1 ); mainLayout->addWidget( widgetBox, 0, 0, 1, -1 );
......
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