Hello community,
here is the log from the commit of package yast2-qt
checked in at Tue Nov 18 14:19:56 CET 2008.
--------
--- yast2-qt/yast2-qt.changes 2008-11-07 19:19:58.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2-qt/yast2-qt.changes 2008-11-18 00:13:29.203026000 +0100
@@ -1,0 +2,12 @@
+Thu Nov 13 18:19:01 CET 2008 - sh@suse.de
+
+- Updated lang_fonts from mfabian for Hebrew (bnc #444296)
+- V 2.17.20
+
+-------------------------------------------------------------------
+Wed Nov 12 17:59:17 CET 2008 - sh@suse.de
+
+- Infrastructure for better table column widths (bnc #441828)
+- V 2.17.19
+
+-------------------------------------------------------------------
@@ -253 +265 @@
------------------------------------------------------------------------
+-------------------------------------------------------------------
@@ -586 +597,0 @@
--------------------------------------------------------------------
@@ -587,0 +599 @@
+-------------------------------------------------------------------
@@ -592 +603,0 @@
--------------------------------------------------------------------
@@ -593,0 +605 @@
+-------------------------------------------------------------------
@@ -599 +610,0 @@
--------------------------------------------------------------------
@@ -600,0 +612 @@
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-qt-2.17.18.tar.bz2
New:
----
yast2-qt-2.17.20.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-qt.spec ++++++
--- /var/tmp/diff_new_pack.Ts5546/_old 2008-11-18 14:18:49.000000000 +0100
+++ /var/tmp/diff_new_pack.Ts5546/_new 2008-11-18 14:18:49.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-qt (Version 2.17.18)
+# spec file for package yast2-qt (Version 2.17.20)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -18,12 +18,12 @@
Name: yast2-qt
-Version: 2.17.18
+Version: 2.17.20
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-qt-2.17.18.tar.bz2
+Source0: yast2-qt-2.17.20.tar.bz2
BuildRequires: docbook-xsl-stylesheets
BuildRequires: doxygen
BuildRequires: libdrm-devel
@@ -119,6 +119,12 @@
%_includedir/*
%changelog
+* Thu Nov 13 2008 sh@suse.de
+- Updated lang_fonts from mfabian for Hebrew (bnc #444296)
+- V 2.17.20
+* Wed Nov 12 2008 sh@suse.de
+- Infrastructure for better table column widths (bnc #441828)
+- V 2.17.19
* Fri Nov 07 2008 sh@suse.de
- Updated lang_fonts from mfabian for bnc #438855 (inst fonts)
- V 2.17.18
++++++ yast2-qt-2.17.18.tar.bz2 -> yast2-qt-2.17.20.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-qt-2.17.18/package/yast2-qt.changes new/yast2-qt-2.17.20/package/yast2-qt.changes
--- old/yast2-qt-2.17.18/package/yast2-qt.changes 2008-11-07 19:19:38.000000000 +0100
+++ new/yast2-qt-2.17.20/package/yast2-qt.changes 2008-11-13 18:19:57.000000000 +0100
@@ -1,4 +1,16 @@
-------------------------------------------------------------------
+Thu Nov 13 18:19:01 CET 2008 - sh@suse.de
+
+- Updated lang_fonts from mfabian for Hebrew (bnc #444296)
+- V 2.17.20
+
+-------------------------------------------------------------------
+Wed Nov 12 17:59:17 CET 2008 - sh@suse.de
+
+- Infrastructure for better table column widths (bnc #441828)
+- V 2.17.19
+
+-------------------------------------------------------------------
Fri Nov 7 19:18:25 CET 2008 - sh@suse.de
- Updated lang_fonts from mfabian for bnc #438855 (inst fonts)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-qt-2.17.18/src/lang_fonts new/yast2-qt-2.17.20/src/lang_fonts
--- old/yast2-qt-2.17.18/src/lang_fonts 2008-11-07 19:19:38.000000000 +0100
+++ new/yast2-qt-2.17.20/src/lang_fonts 2008-11-13 18:19:56.000000000 +0100
@@ -23,6 +23,7 @@
font[zh_HK]="Albany AMT,DejaVu Sans,FZMingTiB,FZSongTi,AR PL ShanHeiSun Uni,AR PL Mingti2L Big5,AR PL SungtiL GB,HGPGothicB,IPAPGothic,IPAGothic,Sazanami Gothic,UnDotum,Baekmuk Gulim,Baekmuk Dotum,Lohit Hindi,Lohit Gujarati,Khmer OS System,Lohit Punjabi,TSCu_Paranar,LKLUG,Mukti Narrow,Lohit Bengali,Gnu Unifont,Efont Biwidth,Sans Serif"
font[ja]="Albany AMT,DejaVu Sans,HGPGothicB,IPAPGothic,IPAGothic,Sazanami Gothic,FZMingTiB,FZSongTi,AR PL ShanHeiSun Uni,AR PL Mingti2L Big5,AR PL SungtiL GB,UnDotum,Baekmuk Gulim,Baekmuk Dotum,Lohit Hindi,Lohit Gujarati,Khmer OS System,Lohit Punjabi,TSCu_Paranar,LKLUG,Mukti Narrow,Lohit Bengali,Efont Biwidth,Gnu Unifont,Sans Serif"
font[ko]="Albany AMT,DejaVu Sans,UnDotum,Baekmuk Gulim,Baekmuk Dotum,HGPGothicB,IPAPGothic,IPAGothic,Sazanami Gothic,FZMingTiB,FZSongTi,AR PL ShanHeiSun Uni,AR PL Mingti2L Big5,AR PL SungtiL GB,Lohit Hindi,Lohit Gujarati,Khmer OS System,Lohit Punjabi,TSCu_Paranar,LKLUG,Mukti Narrow,Lohit Bengali,Efont Biwidth,Gnu Unifont,Sans Serif"
+ font[he]="Albany AMT,DejaVu Sans,Lohit Hindi,Lohit Gujarati,Khmer OS System,Lohit Punjabi,TSCu_Paranar,LKLUG,Mukti Narrow,Lohit Bengali,HGPGothicB,IPAPGothic,IPAGothic,Sazanami Gothic,FZMingTiB,FZSongTi,AR PL ShanHeiSun Uni,AR PL Mingti2L Big5,AR PL SungtiL GB,UnDotum,Baekmuk Gulim,Baekmuk Dotum,Efont Biwidth,Gnu Unifont,Sans Serif"
font[hi]="Albany AMT,DejaVu Sans,Lohit Hindi,Lohit Gujarati,Khmer OS System,Lohit Punjabi,TSCu_Paranar,LKLUG,Mukti Narrow,Lohit Bengali,HGPGothicB,IPAPGothic,IPAGothic,Sazanami Gothic,FZMingTiB,FZSongTi,AR PL ShanHeiSun Uni,AR PL Mingti2L Big5,AR PL SungtiL GB,UnDotum,Baekmuk Gulim,Baekmuk Dotum,Efont Biwidth,Gnu Unifont,Sans Serif"
font[gu]="Albany AMT,DejaVu Sans,Lohit Gujarati,Lohit Hindi,Khmer OS System,Lohit Punjabi,TSCu_Paranar,LKLUG,Mukti Narrow,Lohit Bengali,HGPGothicB,IPAPGothic,IPAGothic,Sazanami Gothic,FZMingTiB,FZSongTi,AR PL ShanHeiSun Uni,AR PL Mingti2L Big5,AR PL SungtiL GB,UnDotum,Baekmuk Gulim,Baekmuk Dotum,Efont Biwidth,Gnu Unifont,Sans Serif"
font[km]="Albany AMT,DejaVu Sans,Khmer OS System,Lohit Hindi,Lohit Gujarati,Lohit Punjabi,TSCu_Paranar,LKLUG,Mukti Narrow,Lohit Bengali,HGPGothicB,IPAPGothic,IPAGothic,Sazanami Gothic,FZMingTiB,FZSongTi,AR PL ShanHeiSun Uni,AR PL Mingti2L Big5,AR PL SungtiL GB,UnDotum,Baekmuk Gulim,Baekmuk Dotum,Efont Biwidth,Gnu Unifont,Sans Serif"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-qt-2.17.18/src/QY2ListView.cc new/yast2-qt-2.17.20/src/QY2ListView.cc
--- old/yast2-qt-2.17.18/src/QY2ListView.cc 2008-11-07 19:19:38.000000000 +0100
+++ new/yast2-qt-2.17.20/src/QY2ListView.cc 2008-11-13 18:19:56.000000000 +0100
@@ -44,13 +44,14 @@
_toolTip = new QY2ListViewToolTip( this );
#endif
- if ( header() )
- header()->installEventFilter( this );
+ if ( header() )
+ {
+ header()->installEventFilter( this );
+ header()->setStretchLastSection( false );
+ }
-#if FIXME
- connect( this, SIGNAL( columnResized ( int, int, int ) ),
- this, SLOT ( columnWidthChanged( int, int, int ) ) );
-#endif
+ connect( header(), SIGNAL( sectionResized ( int, int, int ) ),
+ this, SLOT ( columnWidthChanged ( int, int, int ) ) );
connect( this, SIGNAL( itemExpanded ( QTreeWidgetItem *) ),
this, SLOT ( treeExpanded ( QTreeWidgetItem *) ) );
@@ -140,9 +141,7 @@
QString text;
-#if 0
- text.sprintf( "Column %d:\n%s", column, (const char *) listViewItem->text( column ) );
-#endif
+ // text.sprintf( "Column %d:\n%s", column, (const char *) listViewItem->text( column ) );
// Try known item classes
@@ -168,7 +167,9 @@
for ( int i = 0; i < columnCount(); i++ )
{
- _savedColumnWidth.push_back( columnWidth(i) );
+ int size = header()->sectionSize(i);
+ yuiMilestone() << "Saving size " << size << " for section " << i << endl;
+ _savedColumnWidth.push_back( size );
}
}
@@ -178,14 +179,21 @@
{
if ( _savedColumnWidth.size() != (unsigned) columnCount() ) // never manually resized
{
- for ( int i = 0; i < columnCount(); i++ ) // use optimized column width
+#if 0
+ for ( int i = 0; i < columnCount(); i++ ) // use optimized column width
resizeColumnToContents(i);
+#endif
}
else // stored settings after manual resizing
{
for ( int i = 0; i < columnCount(); i++ )
{
- setColumnWidth( i, _savedColumnWidth[ i ] ); // restore saved column width
+ header()->resizeSection( i, _savedColumnWidth[ i ] ); // restore saved column width
+
+ yuiMilestone() << "Restoring size " << _savedColumnWidth[i]
+ << " for section " << i
+ << " now " << header()->sectionSize(i)
+ << endl;
}
}
}
@@ -271,6 +279,9 @@
void
QY2ListView::columnWidthChanged( int, int, int )
{
+ saveColumnWidths();
+
+#if 0
// Workaround for Qt bug:
//
// QHeader sends a sizeChange() signal for every size change, not only (as
@@ -281,7 +292,6 @@
if ( _mouseButton1PressedInHeader || _finalSizeChangeExpected )
{
- saveColumnWidths();
// Consume that one sizeChange() signal that is sent immediately after
// the mouse button is released, but make sure to reset that flag only
@@ -290,6 +300,7 @@
if ( ! _mouseButton1PressedInHeader )
_finalSizeChangeExpected = false;
}
+#endif
}
@@ -340,24 +351,10 @@
}
-#if 0
-class QY2ListViewItemDelegate : public QItemDelegate
-{
-public:
- QY2ListViewItemDelegate( QTreeWidget *parent ) : QItemDelegate( parent ) {}
- virtual void paint ( QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index ) const
- {
- painter->save();
- QY2ListViewItem *item = dynamic_cast