the wizard is now fullscreen
authorcoolo <coolo@e0cc52ee-31ee-0310-8b87-e83c4596d67c>
Fri, 7 Dec 2007 07:06:35 +0000 (07:06 +0000)
committercoolo <coolo@e0cc52ee-31ee-0310-8b87-e83c4596d67c>
Fri, 7 Dec 2007 07:06:35 +0000 (07:06 +0000)
git-svn-id: http://svn.opensuse.org/svn/yast/trunk/qt4@42775 e0cc52ee-31ee-0310-8b87-e83c4596d67c

src/YQUI_core.cc
src/YQWizard.cc
theme/style.qss

index 61dee73..d33e34d 100644 (file)
@@ -130,7 +130,6 @@ void YQUI::init_ui()
     _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::userInputTimeout()
 void YQUI::showDialog( YDialog * dialog )
 {
     QWidget * qw = (QWidget *) dialog->widgetRep();
-    
+
     if ( qw )
     {
        qw->show();
index c3d5fa9..846b4f9 100644 (file)
@@ -90,6 +90,8 @@ YQWizard::YQWizard( YWidget *         parent,
     , _abortButtonLabel( abortButtonLabel )
     , _nextButtonLabel( nextButtonLabel )
 {
+    setObjectName( "wizard" );
+
     QHBoxLayout* layout = new QHBoxLayout( this );
     layout->setSpacing( 0 );
     layout->setMargin( 0 );
@@ -130,6 +132,8 @@ YQWizard::YQWizard( YWidget *               parent,
 
     layout->addLayout( layoutSideBar( this ) );
     layout->addWidget( layoutWorkArea( this ) );
+
+    QY2Styler::self()->registerWidget( this );
 }
 
 
index 9e8738f..e6519b4 100644 (file)
@@ -1,4 +1,4 @@
-/* Background: main_window background-1024x768.png */
+/* Background: wizard background-1024x768.png */
 /* Background: work_area g22503.png */
 /* Background: steps rect2174.png */