|
|
@ -254,7 +254,7 @@ void StdClient::init()
|
|
|
|
TQGridLayout* g = new TQGridLayout( widget(), 0, 0, 3, 2 );
|
|
|
|
TQGridLayout* g = new TQGridLayout( widget(), 0, 0, 3, 2 );
|
|
|
|
g->setRowStretch( 1, 10 );
|
|
|
|
g->setRowStretch( 1, 10 );
|
|
|
|
if( isPreview())
|
|
|
|
if( isPreview())
|
|
|
|
g->addWidget( new TQLabel( i18n( "<center><b>TDE 1 preview</b></center>" ), widget()), 1, 1 );
|
|
|
|
g->addWidget( new TQLabel( i18n( "<center><b>KDE 1 preview</b></center>" ), widget()), 1, 1 );
|
|
|
|
else
|
|
|
|
else
|
|
|
|
g->addItem( new TQSpacerItem( 0, 0 ), 1, 1 ); //no widget in the middle
|
|
|
|
g->addItem( new TQSpacerItem( 0, 0 ), 1, 1 ); //no widget in the middle
|
|
|
|
g->addItem( new TQSpacerItem( 0, 0, TQSizePolicy::Fixed, TQSizePolicy::Expanding ) );
|
|
|
|
g->addItem( new TQSpacerItem( 0, 0, TQSizePolicy::Fixed, TQSizePolicy::Expanding ) );
|
|
|
@ -603,7 +603,7 @@ void StdToolClient::init()
|
|
|
|
TQGridLayout* g = new TQGridLayout( widget(), 0, 0, 2 );
|
|
|
|
TQGridLayout* g = new TQGridLayout( widget(), 0, 0, 2 );
|
|
|
|
g->setRowStretch( 1, 10 );
|
|
|
|
g->setRowStretch( 1, 10 );
|
|
|
|
if( isPreview())
|
|
|
|
if( isPreview())
|
|
|
|
g->addWidget( new TQLabel( i18n( "<center><b>TDE 1 decoration</b></center>" ), widget()), 1, 1 );
|
|
|
|
g->addWidget( new TQLabel( i18n( "<center><b>KDE 1 decoration</b></center>" ), widget()), 1, 1 );
|
|
|
|
else
|
|
|
|
else
|
|
|
|
g->addItem( new TQSpacerItem( 0, 0 ), 1, 1 ); //no widget in the middle
|
|
|
|
g->addItem( new TQSpacerItem( 0, 0 ), 1, 1 ); //no widget in the middle
|
|
|
|
g->addItem( new TQSpacerItem( 0, 0, TQSizePolicy::Fixed, TQSizePolicy::Expanding ) );
|
|
|
|
g->addItem( new TQSpacerItem( 0, 0, TQSizePolicy::Fixed, TQSizePolicy::Expanding ) );
|
|
|
|