Author: coolo Date: Fri Dec 7 08:06:35 2007 New Revision: 42775 URL: http://svn.opensuse.org/viewcvs/yast?rev=42775&view=rev Log: the wizard is now fullscreen Modified: trunk/qt4/src/YQUI_core.cc trunk/qt4/src/YQWizard.cc trunk/qt4/theme/style.qss Modified: trunk/qt4/src/YQUI_core.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt4/src/YQUI_core.cc?rev=42775&r1=42774&r2=42775&view=diff ============================================================================== --- trunk/qt4/src/YQUI_core.cc (original) +++ trunk/qt4/src/YQUI_core.cc Fri Dec 7 08:06:35 2007 @@ -130,7 +130,6 @@ _main_win = new QWidget( 0, Qt::Window ); // parent, wflags _main_win->setFocusPolicy( Qt::StrongFocus ); _main_win->setObjectName( "main_window" ); - _styler->registerWidget( _main_win ); _main_win->resize( _default_size ); @@ -491,7 +490,7 @@ void YQUI::showDialog( YDialog * dialog ) { QWidget * qw = (QWidget *) dialog->widgetRep(); - + if ( qw ) { qw->show(); Modified: trunk/qt4/src/YQWizard.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt4/src/YQWizard.cc?rev=42775&r1=42774&r2=42775&view=diff ============================================================================== --- trunk/qt4/src/YQWizard.cc (original) +++ trunk/qt4/src/YQWizard.cc Fri Dec 7 08:06:35 2007 @@ -90,6 +90,8 @@ , _abortButtonLabel( abortButtonLabel ) , _nextButtonLabel( nextButtonLabel ) { + setObjectName( "wizard" ); + QHBoxLayout* layout = new QHBoxLayout( this ); layout->setSpacing( 0 ); layout->setMargin( 0 ); @@ -130,6 +132,8 @@ layout->addLayout( layoutSideBar( this ) ); layout->addWidget( layoutWorkArea( this ) ); + + QY2Styler::self()->registerWidget( this ); } Modified: trunk/qt4/theme/style.qss URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt4/theme/style.qss?rev=42775&r1=42774&r2=42775&view=diff ============================================================================== --- trunk/qt4/theme/style.qss (original) +++ trunk/qt4/theme/style.qss Fri Dec 7 08:06:35 2007 @@ -1,4 +1,4 @@ -/* Background: main_window background-1024x768.png */ +/* Background: wizard background-1024x768.png */ /* Background: work_area g22503.png */ /* Background: steps rect2174.png */ -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org