[yast-commit] r58214 - in /trunk/qt-pkg: package/yast2-qt-pkg.changes src/YQPkgSearchFilterView.cc

Author: tgoettlicher Date: Thu Jul 30 11:25:12 2009 New Revision: 58214 URL: http://svn.opensuse.org/viewcvs/yast?rev=58214&view=rev Log: Fixed bnc #499699: position of search button in software management module Modified: trunk/qt-pkg/package/yast2-qt-pkg.changes trunk/qt-pkg/src/YQPkgSearchFilterView.cc Modified: trunk/qt-pkg/package/yast2-qt-pkg.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/package/yast2-qt-pkg.chang... ============================================================================== --- trunk/qt-pkg/package/yast2-qt-pkg.changes (original) +++ trunk/qt-pkg/package/yast2-qt-pkg.changes Thu Jul 30 11:25:12 2009 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Thu Jul 30 11:24:17 CEST 2009 - tgoettlicher@suse.de + +- Fixed bnc #499699: position of search button in software management module + +------------------------------------------------------------------- Thu Jul 30 10:56:42 CEST 2009 - tgoettlicher@suse.de - Fixed buggy search in keywords (bnc #470069) Modified: trunk/qt-pkg/src/YQPkgSearchFilterView.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPkgSearchFilterView.... ============================================================================== --- trunk/qt-pkg/src/YQPkgSearchFilterView.cc (original) +++ trunk/qt-pkg/src/YQPkgSearchFilterView.cc Thu Jul 30 11:25:12 2009 @@ -53,27 +53,19 @@ YUI_CHECK_NEW( layout ); setLayout( layout ); _matchCount = 0; - layout->addStretch(); - // Headline - QLabel * label = new QLabel( _( "Searc&h:" ), this ); - YUI_CHECK_NEW( label ); - layout->addWidget(label); - label->setFont( YQUI::yqApp()->headingFont() ); + // Box for search button + QHBoxLayout * hbox = new QHBoxLayout(); + YUI_CHECK_NEW( hbox ); + layout->addLayout(hbox); // Input field ( combo box ) for search text _searchText = new QComboBox( this ); YUI_CHECK_NEW( _searchText ); - layout->addWidget(_searchText); - _searchText->setEditable( true ); - label->setBuddy( _searchText ); + _searchText->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Minimum ) ); - - // Box for search button - QHBoxLayout * hbox = new QHBoxLayout(); - YUI_CHECK_NEW( hbox ); - layout->addLayout(hbox); - hbox->addStretch(); + hbox->addWidget(_searchText); + _searchText->setEditable( true ); // Search button _searchButton = new QPushButton( _( "&Search" ), this ); @@ -127,7 +119,7 @@ // Search mode // - label = new QLabel( _( "Search &Mode:" ), this ); + QLabel * label = new QLabel( _( "Search &Mode:" ), this ); YUI_CHECK_NEW( label ); layout->addWidget( label ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
tgoettlicher@svn.opensuse.org