[yast-commit] r59868 - in /trunk/qt-pkg: package/yast2-qt-pkg.changes src/YQPackageSelector.cc src/YQPkgGenericDetailsView.h src/YQPkgVersionsView.cc src/YQPkgVersionsView.h
Author: tgoettlicher Date: Tue Dec 1 10:14:49 2009 New Revision: 59868 URL: http://svn.opensuse.org/viewcvs/yast?rev=59868&view=rev Log: fixed bnc #549868 prepared for multiversion install Modified: trunk/qt-pkg/package/yast2-qt-pkg.changes trunk/qt-pkg/src/YQPackageSelector.cc trunk/qt-pkg/src/YQPkgGenericDetailsView.h trunk/qt-pkg/src/YQPkgVersionsView.cc trunk/qt-pkg/src/YQPkgVersionsView.h Modified: trunk/qt-pkg/package/yast2-qt-pkg.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/package/yast2-qt-pkg.changes?rev=59868&r1=59867&r2=59868&view=diff ============================================================================== --- trunk/qt-pkg/package/yast2-qt-pkg.changes (original) +++ trunk/qt-pkg/package/yast2-qt-pkg.changes Tue Dec 1 10:14:49 2009 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Tue Dec 1 10:13:02 CET 2009 - tgoettlicher@suse.de + +- fixed bnc #549868: Mnemonic clash in Software Management + +------------------------------------------------------------------- Thu Nov 19 14:15:03 CET 2009 - tgoettlicher@suse.de - fixed orphaned packages View (bnc #551771) @@ -209,7 +214,7 @@ ------------------------------------------------------------------- Fri Jan 9 18:52:44 CET 2009 - sh@suse.de -- Fixed accumulated margins in "Versions" view for installed +- Fixed accmulated margins in "Versions" view for installed ------------------------------------------------------------------- Fri Jan 9 17:59:43 CET 2009 - sh@suse.de Modified: trunk/qt-pkg/src/YQPackageSelector.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPackageSelector.cc?rev=59868&r1=59867&r2=59868&view=diff ============================================================================== --- trunk/qt-pkg/src/YQPackageSelector.cc (original) +++ trunk/qt-pkg/src/YQPackageSelector.cc Tue Dec 1 10:14:49 2009 @@ -524,6 +524,9 @@ connect( _pkgList, SIGNAL( currentItemChanged ( ZyppSel ) ), _pkgVersionsView, SLOT ( showDetailsIfVisible( ZyppSel ) ) ); + connect( _pkgList, SIGNAL( statusChanged() ), + _pkgVersionsView, SLOT ( slotRefreshDetails() ) ); + // // File List @@ -733,7 +736,7 @@ _configMenu = new QMenu( _menuBar ); YUI_CHECK_NEW( _configMenu ); action = _menuBar->addMenu( _configMenu ); - action->setText(_( "&Configuration" )); + action->setText(_( "Confi&guration" )); _configMenu->addAction( _( "&Repositories..." ), this, SLOT( repoManager() ), Qt::CTRL + Qt::Key_R ); _configMenu->addAction( _( "&Online Update..." ), this, SLOT( onlineUpdateConfiguration() ), Qt::CTRL + Qt::Key_O ); _configMenu->addAction( _( "Search Packages on &Web..." ), this, SLOT( webpinSearch() ), Qt::CTRL + Qt::Key_W ); Modified: trunk/qt-pkg/src/YQPkgGenericDetailsView.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPkgGenericDetailsView.h?rev=59868&r1=59867&r2=59868&view=diff ============================================================================== --- trunk/qt-pkg/src/YQPkgGenericDetailsView.h (original) +++ trunk/qt-pkg/src/YQPkgGenericDetailsView.h Tue Dec 1 10:14:49 2009 @@ -124,6 +124,7 @@ **/ virtual void showDetails( ZyppSel selectable ) = 0; + protected slots: Modified: trunk/qt-pkg/src/YQPkgVersionsView.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPkgVersionsView.cc?rev=59868&r1=59867&r2=59868&view=diff ============================================================================== --- trunk/qt-pkg/src/YQPkgVersionsView.cc (original) +++ trunk/qt-pkg/src/YQPkgVersionsView.cc Tue Dec 1 10:14:49 2009 @@ -73,10 +73,22 @@ void +YQPkgVersionsView::slotRefreshDetails( ) +{ + if ( !_selectable ) + return; + + showDetailsIfVisible ( _selectable ); +} + + +void YQPkgVersionsView::showDetailsIfVisible( ZyppSel selectable ) { _selectable = selectable; + yuiMilestone() << "showDetailsIfVis" << endl; + if ( _parentTab ) // Is this view embedded into a tab widget? { if ( _parentTab->currentWidget() == this ) // Is this page the topmost? @@ -92,6 +104,8 @@ void YQPkgVersionsView::showDetails( ZyppSel selectable ) { + yuiMilestone() << "showDetails" << endl; + _selectable = selectable; if ( ! selectable ) @@ -480,6 +494,7 @@ } // setStatusIcon(); +// emit candidateChanged( ); } Modified: trunk/qt-pkg/src/YQPkgVersionsView.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPkgVersionsView.h?rev=59868&r1=59867&r2=59868&view=diff ============================================================================== --- trunk/qt-pkg/src/YQPkgVersionsView.h (original) +++ trunk/qt-pkg/src/YQPkgVersionsView.h Tue Dec 1 10:14:49 2009 @@ -82,6 +82,7 @@ **/ void reload( QWidget * newCurrent ); + void slotRefreshDetails(); signals: @@ -224,6 +225,7 @@ void slotIconClicked(); + }; -- 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