Hello community,

here is the log from the commit of package libyui-qt-pkg for openSUSE:Factory 
checked in at 2015-10-17 22:09:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libyui-qt-pkg (Old)
 and      /work/SRC/openSUSE:Factory/.libyui-qt-pkg.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libyui-qt-pkg"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libyui-qt-pkg/libyui-qt-pkg.changes      
2015-09-27 08:38:22.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libyui-qt-pkg.new/libyui-qt-pkg.changes 
2015-10-17 22:09:59.000000000 +0200
@@ -1,0 +2,7 @@
+Tue Sep 22 08:41:56 UTC 2015 - [email protected]
+
+- Better handling of secondary repository filters when there is
+  no enough screen space (bnc#876540)
+- 2.45.5
+
+-------------------------------------------------------------------

Old:
----
  libyui-qt-pkg-2.45.4.tar.bz2

New:
----
  libyui-qt-pkg-2.45.5.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libyui-qt-pkg-doc.spec ++++++
--- /var/tmp/diff_new_pack.vwSRdg/_old  2015-10-17 22:10:00.000000000 +0200
+++ /var/tmp/diff_new_pack.vwSRdg/_new  2015-10-17 22:10:00.000000000 +0200
@@ -20,7 +20,7 @@
 %define so_version 7
 
 Name:           %{parent}-doc
-Version:        2.45.4
+Version:        2.45.5
 Release:        0
 Source:         %{parent}-%{version}.tar.bz2
 

++++++ libyui-qt-pkg.spec ++++++
--- /var/tmp/diff_new_pack.vwSRdg/_old  2015-10-17 22:10:01.000000000 +0200
+++ /var/tmp/diff_new_pack.vwSRdg/_new  2015-10-17 22:10:01.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           libyui-qt-pkg
-Version:        2.45.4
+Version:        2.45.5
 Release:        0
 Source:         %{name}-%{version}.tar.bz2
 

++++++ libyui-qt-pkg-2.45.4.tar.bz2 -> libyui-qt-pkg-2.45.5.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-pkg-2.45.4/VERSION.cmake 
new/libyui-qt-pkg-2.45.5/VERSION.cmake
--- old/libyui-qt-pkg-2.45.4/VERSION.cmake      2015-09-21 11:54:06.000000000 
+0200
+++ new/libyui-qt-pkg-2.45.5/VERSION.cmake      2015-09-28 16:53:20.000000000 
+0200
@@ -1,6 +1,6 @@
 SET( VERSION_MAJOR "2" )
 SET( VERSION_MINOR "45" )
-SET( VERSION_PATCH "4" )
+SET( VERSION_PATCH "5" )
 SET( VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}" )
 
 ##### This is need for the libyui core, ONLY.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-pkg-2.45.4/package/libyui-qt-pkg-doc.spec 
new/libyui-qt-pkg-2.45.5/package/libyui-qt-pkg-doc.spec
--- old/libyui-qt-pkg-2.45.4/package/libyui-qt-pkg-doc.spec     2015-09-21 
11:54:06.000000000 +0200
+++ new/libyui-qt-pkg-2.45.5/package/libyui-qt-pkg-doc.spec     2015-09-28 
16:53:20.000000000 +0200
@@ -20,7 +20,7 @@
 %define so_version 7
 
 Name:           %{parent}-doc
-Version:        2.45.4
+Version:        2.45.5
 Release:        0
 Source:         %{parent}-%{version}.tar.bz2
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-pkg-2.45.4/package/libyui-qt-pkg.changes 
new/libyui-qt-pkg-2.45.5/package/libyui-qt-pkg.changes
--- old/libyui-qt-pkg-2.45.4/package/libyui-qt-pkg.changes      2015-09-21 
11:54:06.000000000 +0200
+++ new/libyui-qt-pkg-2.45.5/package/libyui-qt-pkg.changes      2015-09-28 
16:53:20.000000000 +0200
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Tue Sep 22 08:41:56 UTC 2015 - [email protected]
+
+- Better handling of secondary repository filters when there is
+  no enough screen space (bnc#876540)
+- 2.45.5
+
+-------------------------------------------------------------------
 Wed Sep 16 17:29:23 CEST 2015 - [email protected]
 
 - Reorganized git for easier tarball creation:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-pkg-2.45.4/package/libyui-qt-pkg.spec 
new/libyui-qt-pkg-2.45.5/package/libyui-qt-pkg.spec
--- old/libyui-qt-pkg-2.45.4/package/libyui-qt-pkg.spec 2015-09-21 
11:54:06.000000000 +0200
+++ new/libyui-qt-pkg-2.45.5/package/libyui-qt-pkg.spec 2015-09-28 
16:53:20.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           libyui-qt-pkg
-Version:        2.45.4
+Version:        2.45.5
 Release:        0
 Source:         %{name}-%{version}.tar.bz2
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-pkg-2.45.4/src/YQPkgRepoFilterView.cc 
new/libyui-qt-pkg-2.45.5/src/YQPkgRepoFilterView.cc
--- old/libyui-qt-pkg-2.45.4/src/YQPkgRepoFilterView.cc 2015-09-21 
11:54:06.000000000 +0200
+++ new/libyui-qt-pkg-2.45.5/src/YQPkgRepoFilterView.cc 2015-09-28 
16:53:20.000000000 +0200
@@ -174,9 +174,6 @@
 
     _searchFilterView = new YQPkgSearchFilterView( this );
     YUI_CHECK_NEW( _searchFilterView );
-    
-    _searchFilterView->setSizePolicy( QSizePolicy::Minimum,   // horizontal
-                                     QSizePolicy::Minimum ); // vertical
     _secondaryFilters->addPage( _( "Search" ), _searchFilterView );
 
     connect( _searchFilterView,        SIGNAL( filterStart() ),
@@ -192,10 +189,6 @@
 
     _statusFilterView = new YQPkgStatusFilterView( parent );
     YUI_CHECK_NEW( _statusFilterView );
-    
-    _searchFilterView->setSizePolicy( QSizePolicy::Minimum,   // horizontal
-                                     QSizePolicy::Minimum ); // vertical
-    
     _secondaryFilters->addPage( _( "Installation Summary" ), _statusFilterView 
);
 
     connect( _statusFilterView,        SIGNAL( filterStart() ),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-pkg-2.45.4/src/YQPkgSearchFilterView.cc 
new/libyui-qt-pkg-2.45.5/src/YQPkgSearchFilterView.cc
--- old/libyui-qt-pkg-2.45.4/src/YQPkgSearchFilterView.cc       2015-09-21 
11:54:06.000000000 +0200
+++ new/libyui-qt-pkg-2.45.5/src/YQPkgSearchFilterView.cc       2015-09-28 
16:53:20.000000000 +0200
@@ -68,11 +68,12 @@
 using std::string;
 
 YQPkgSearchFilterView::YQPkgSearchFilterView( QWidget * parent )
-    : QWidget( parent )
+    : QScrollArea( parent )
 {
+    QWidget * content = new QWidget;
     QVBoxLayout * layout = new QVBoxLayout;
     YUI_CHECK_NEW( layout );
-    setLayout( layout );
+    content->setLayout( layout );
     _matchCount = 0;
 
     // Box for search button
@@ -81,7 +82,7 @@
     layout->addLayout(hbox);
 
     // Input field ( combo box ) for search text
-    _searchText = new QComboBox( this );
+    _searchText = new QComboBox( content );
     YUI_CHECK_NEW( _searchText );
     _searchText->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, 
QSizePolicy::Minimum ) );
 
@@ -89,7 +90,7 @@
     _searchText->setEditable( true );
 
     // Search button
-    _searchButton = new QPushButton( _( "&Search" ), this );
+    _searchButton = new QPushButton( _( "&Search" ), content );
     YUI_CHECK_NEW( _searchButton );
     hbox->addWidget(_searchButton);
 
@@ -102,7 +103,7 @@
     // Where to search
     //
 
-    QGroupBox * gbox = new QGroupBox( _( "Search in" ), this );
+    QGroupBox * gbox = new QGroupBox( _( "Search in" ), content );
     YUI_CHECK_NEW( gbox );
     layout->addWidget( gbox );
     QVBoxLayout *vLayout = new QVBoxLayout;
@@ -139,11 +140,11 @@
     // Search mode
     //
 
-    QLabel * label = new QLabel( _( "Search &Mode:" ), this );
+    QLabel * label = new QLabel( _( "Search &Mode:" ), content );
     YUI_CHECK_NEW( label );
     layout->addWidget( label );
 
-    _searchMode = new QComboBox( this );
+    _searchMode = new QComboBox( content );
     YUI_CHECK_NEW( _searchMode );
     layout->addWidget( _searchMode );
 
@@ -163,12 +164,15 @@
 
     layout->addStretch();
 
-    _caseSensitive = new QCheckBox( _( "Case Sensiti&ve" ), this );
+    _caseSensitive = new QCheckBox( _( "Case Sensiti&ve" ), content );
     YUI_CHECK_NEW( _caseSensitive );
     layout->addWidget(_caseSensitive);
 
     for ( int i=0; i < 6; i++ )
        layout->addStretch();
+
+    setWidgetResizable(true);
+    setWidget(content);
 }
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-pkg-2.45.4/src/YQPkgSearchFilterView.h 
new/libyui-qt-pkg-2.45.5/src/YQPkgSearchFilterView.h
--- old/libyui-qt-pkg-2.45.4/src/YQPkgSearchFilterView.h        2015-09-21 
11:54:06.000000000 +0200
+++ new/libyui-qt-pkg-2.45.5/src/YQPkgSearchFilterView.h        2015-09-28 
16:53:20.000000000 +0200
@@ -45,6 +45,7 @@
 #include <QWidget>
 #include <QRegExp>
 #include <QEvent>
+#include <QScrollArea>
 
 
 class QComboBox;
@@ -59,7 +60,7 @@
 /**
  * @short Filter view for searching within packages
  **/
-class YQPkgSearchFilterView : public QWidget
+class YQPkgSearchFilterView : public QScrollArea
 {
     Q_OBJECT
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-pkg-2.45.4/src/YQPkgStatusFilterView.cc 
new/libyui-qt-pkg-2.45.5/src/YQPkgStatusFilterView.cc
--- old/libyui-qt-pkg-2.45.4/src/YQPkgStatusFilterView.cc       2015-09-21 
11:54:06.000000000 +0200
+++ new/libyui-qt-pkg-2.45.5/src/YQPkgStatusFilterView.cc       2015-09-28 
16:53:20.000000000 +0200
@@ -62,11 +62,11 @@
 
 
 YQPkgStatusFilterView::YQPkgStatusFilterView( QWidget * parent )
-    : QWidget( parent )
+    : QScrollArea( parent )
 {
+    QWidget * content = new QWidget;
     QVBoxLayout *layout = new QVBoxLayout();
-    setLayout(layout);
- 
+    content->setLayout(layout);
     layout->setMargin( MARGIN );
     layout->setSpacing( SPACING );
 
@@ -84,7 +84,7 @@
     // Packages with what status to show
     //
 
-    QGroupBox * gbox = new QGroupBox( _( "Show packages with status" ), this );
+    QGroupBox * gbox = new QGroupBox( _( "Show packages with status" ), 
content );
     Q_CHECK_PTR( gbox );
 
     QVBoxLayout *box = new QVBoxLayout;
@@ -117,7 +117,7 @@
     hbox->addStretch();
 
     // Refresh button
-    _refreshButton = new QPushButton( _( "&Refresh List" ), this );
+    _refreshButton = new QPushButton( _( "&Refresh List" ), content );
     Q_CHECK_PTR( _refreshButton );
     hbox->addWidget(_refreshButton);
 
@@ -128,6 +128,9 @@
 
     for ( int i=0; i < 6; i++ )
        layout->addStretch();
+
+    setWidgetResizable(true);
+    setWidget(content);
 }
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-pkg-2.45.4/src/YQPkgStatusFilterView.h 
new/libyui-qt-pkg-2.45.5/src/YQPkgStatusFilterView.h
--- old/libyui-qt-pkg-2.45.4/src/YQPkgStatusFilterView.h        2015-09-21 
11:54:06.000000000 +0200
+++ new/libyui-qt-pkg-2.45.5/src/YQPkgStatusFilterView.h        2015-09-28 
16:53:20.000000000 +0200
@@ -45,6 +45,7 @@
 #include <QWidget>
 #include <QRegExp>
 #include <QPixmap>
+#include <QScrollArea>
 
 
 class QComboBox;
@@ -55,7 +56,7 @@
 /**
  * @short Filter view for packages that made problems during update
  **/
-class YQPkgStatusFilterView : public QWidget
+class YQPkgStatusFilterView : public QScrollArea
 {
     Q_OBJECT
 


Reply via email to