Author: coolo Date: Wed Dec 12 10:55:40 2007 New Revision: 43011 URL: http://svn.opensuse.org/viewcvs/yast?rev=43011&view=rev Log: hah! you only need to threaten yast with enough debug output and it will behave Modified: trunk/qt4/src/YQWizard.cc Modified: trunk/qt4/src/YQWizard.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt4/src/YQWizard.cc?rev=43011&r1=43010&r2=43011&view=diff ============================================================================== --- trunk/qt4/src/YQWizard.cc (original) +++ trunk/qt4/src/YQWizard.cc Wed Dec 12 10:55:40 2007 @@ -185,6 +185,7 @@ YUI_CHECK_NEW( _sideBar ); _sideBar->setMinimumWidth( YQUI::ui()->defaultSize( YD_HORIZ ) / 5 ); _sideBar->setSizePolicy( QSizePolicy( QSizePolicy::Fixed, QSizePolicy::Preferred ) ); // hor/vert + _sideBar->setObjectName( QString( "_sideBar-%1" ).arg( long( this ) ) ); QVBoxLayout *vbox = new QVBoxLayout( ); vbox->addWidget( _sideBar ); @@ -282,6 +283,7 @@ QVBoxLayout *_stepsVBox = new QVBoxLayout( _stepsPanel ); QGridLayout *_stepsGrid = new QGridLayout( ); + _stepsGrid->setObjectName( QString( "_stepsGrid_%1" ).arg( long( this ) ) ); YUI_CHECK_NEW( _stepsGrid ); _stepsVBox->addLayout( _stepsGrid ); _stepsGrid->setColumnMinimumWidth( 0, 10 ); @@ -310,8 +312,10 @@ // Heading // + qDebug( "%p - add Stepheading %s", this, qPrintable( step->name() ) ); QLabel * label = new QLabel( step->name(), _stepsPanel ); YUI_CHECK_NEW( label ); + label->setObjectName( step->name() ); label->setAlignment( Qt::AlignLeft | Qt::AlignTop ); label->setProperty( "class", "steps_heading" ); @@ -326,6 +330,7 @@ // Step status // + qDebug( "%p - add Step %s", this, qPrintable( step->name() ) ); QLabel * statusLabel = new QLabel( _stepsPanel ); YUI_CHECK_NEW( statusLabel ); @@ -340,10 +345,11 @@ QLabel * nameLabel = new QLabel( step->name(), _stepsPanel ); YUI_CHECK_NEW( nameLabel ); nameLabel->setAlignment( Qt::AlignLeft | Qt::AlignTop ); + nameLabel->setObjectName( step->name() ); step->setNameLabel( nameLabel ); _stepsGrid->addWidget( nameLabel, row, nameCol ); - } + } row++; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org