Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r54545 - in /trunk/qt-pkg: package/yast2-qt-pkg.changes src/YQPkgLangList.cc src/YQPkgPatchList.cc src/YQPkgRepoList.cc
  • From: tgoettlicher@xxxxxxxxxxxxxxxx
  • Date: Mon, 12 Jan 2009 13:14:09 -0000
  • Message-id: <E1LMMcL-0006wI-Kx@xxxxxxxxxxxxxxxx>
Author: tgoettlicher
Date: Mon Jan 12 14:14:09 2009
New Revision: 54545

URL: http://svn.opensuse.org/viewcvs/yast?rev=54545&view=rev
Log:
Fixed column widths in patch and language lists (bnc #461177)

Modified:
trunk/qt-pkg/package/yast2-qt-pkg.changes
trunk/qt-pkg/src/YQPkgLangList.cc
trunk/qt-pkg/src/YQPkgPatchList.cc
trunk/qt-pkg/src/YQPkgRepoList.cc

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=54545&r1=54544&r2=54545&view=diff
==============================================================================
--- trunk/qt-pkg/package/yast2-qt-pkg.changes (original)
+++ trunk/qt-pkg/package/yast2-qt-pkg.changes Mon Jan 12 14:14:09 2009
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Mon Jan 12 14:12:31 CET 2009 - tgoettlicher@xxxxxxx
+
+- Fixed column widths in patch and language lists (bnc #461177)
+
+-------------------------------------------------------------------
Fri Jan 9 18:52:44 CET 2009 - sh@xxxxxxx

- Fixed accumulated margins in "Versions" view for installed

Modified: trunk/qt-pkg/src/YQPkgLangList.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPkgLangList.cc?rev=54545&r1=54544&r2=54545&view=diff
==============================================================================
--- trunk/qt-pkg/src/YQPkgLangList.cc (original)
+++ trunk/qt-pkg/src/YQPkgLangList.cc Mon Jan 12 14:14:09 2009
@@ -51,6 +51,9 @@
headers << _( "Language"); _summaryCol = numCol++;
setAllColumnsShowFocus( true );
setHeaderLabels(headers);
+ header()->setResizeMode( _nameCol, QHeaderView::ResizeToContents );
+ header()->setResizeMode( _summaryCol, QHeaderView::Stretch );
+

setSortingEnabled( true );
header()->setSortIndicatorShown( true );

Modified: trunk/qt-pkg/src/YQPkgPatchList.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPkgPatchList.cc?rev=54545&r1=54544&r2=54545&view=diff
==============================================================================
--- trunk/qt-pkg/src/YQPkgPatchList.cc (original)
+++ trunk/qt-pkg/src/YQPkgPatchList.cc Mon Jan 12 14:14:09 2009
@@ -108,7 +108,7 @@
header()->setResizeMode(_statusCol, QHeaderView::ResizeToContents);
//header()->setResizeMode(_versionCol, QHeaderView::ResizeToContents);
//header()->setResizeMode(_categoryCol, QHeaderView::ResizeToContents);
- header()->setResizeMode(_summaryCol, QHeaderView::Interactive);
+ header()->setResizeMode(_summaryCol, QHeaderView::Stretch);


setItemDelegateForColumn( _summaryCol, new YQPkgPatchItemDelegate( this )
);

Modified: trunk/qt-pkg/src/YQPkgRepoList.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPkgRepoList.cc?rev=54545&r1=54544&r2=54545&view=diff
==============================================================================
--- trunk/qt-pkg/src/YQPkgRepoList.cc (original)
+++ trunk/qt-pkg/src/YQPkgRepoList.cc Mon Jan 12 14:14:09 2009
@@ -55,7 +55,7 @@
// headers << _( "URL"); _urlCol = numCol++;

setHeaderLabels( headers );
- header()->setResizeMode( _nameCol, QHeaderView::ResizeToContents );
+ header()->setResizeMode( _nameCol, QHeaderView::Stretch );

//setAllColumnsShowFocus( true );
setSelectionMode( QAbstractItemView::ExtendedSelection ); // allow
multi-selection with Ctrl-mouse

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages