Hello community,

here is the log from the commit of package libyui-qt for openSUSE:Factory 
checked in at 2016-11-23 13:35:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libyui-qt (Old)
 and      /work/SRC/openSUSE:Factory/.libyui-qt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libyui-qt"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libyui-qt/libyui-qt.changes      2016-10-18 
13:28:26.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libyui-qt.new/libyui-qt.changes 2016-11-23 
13:35:47.000000000 +0100
@@ -1,0 +2,6 @@
+Wed Nov  9 16:56:49 UTC 2016 - c...@suse.com
+
+- Add handler for Shift-F1 to show advanced keyboard shortcuts (bsc#1010039)
+- 2.47.0
+
+-------------------------------------------------------------------

Old:
----
  libyui-qt-2.46.30.tar.bz2

New:
----
  libyui-qt-2.47.0.tar.bz2

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

Other differences:
------------------
++++++ libyui-qt-doc.spec ++++++
--- /var/tmp/diff_new_pack.YFpoeG/_old  2016-11-23 13:35:48.000000000 +0100
+++ /var/tmp/diff_new_pack.YFpoeG/_new  2016-11-23 13:35:48.000000000 +0100
@@ -20,7 +20,7 @@
 %define so_version 7
 
 Name:           %{parent}-doc
-Version:        2.46.30
+Version:        2.47.0
 Release:        0
 Source:         %{parent}-%{version}.tar.bz2
 

++++++ libyui-qt.spec ++++++
--- /var/tmp/diff_new_pack.YFpoeG/_old  2016-11-23 13:35:48.000000000 +0100
+++ /var/tmp/diff_new_pack.YFpoeG/_new  2016-11-23 13:35:48.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           libyui-qt
-Version:        2.46.30
+Version:        2.47.0
 Release:        0
 Source:         %{name}-%{version}.tar.bz2
 

++++++ libyui-qt-2.46.30.tar.bz2 -> libyui-qt-2.47.0.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-2.46.30/VERSION.cmake 
new/libyui-qt-2.47.0/VERSION.cmake
--- old/libyui-qt-2.46.30/VERSION.cmake 2016-10-18 09:59:12.000000000 +0200
+++ new/libyui-qt-2.47.0/VERSION.cmake  2016-11-21 15:49:12.000000000 +0100
@@ -1,6 +1,6 @@
 SET(VERSION_MAJOR "2")
-SET(VERSION_MINOR "46")
-SET(VERSION_PATCH "30")
+SET(VERSION_MINOR "47")
+SET(VERSION_PATCH "0")
 SET( VERSION 
"${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${GIT_SHA1_VERSION}" )
 
 ##### This is need for the libyui core, ONLY.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-2.46.30/package/libyui-qt-doc.spec 
new/libyui-qt-2.47.0/package/libyui-qt-doc.spec
--- old/libyui-qt-2.46.30/package/libyui-qt-doc.spec    2016-10-18 
09:59:12.000000000 +0200
+++ new/libyui-qt-2.47.0/package/libyui-qt-doc.spec     2016-11-21 
15:49:12.000000000 +0100
@@ -20,7 +20,7 @@
 %define so_version 7
 
 Name:           %{parent}-doc
-Version:        2.46.30
+Version:        2.47.0
 Release:        0
 Source:         %{parent}-%{version}.tar.bz2
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-2.46.30/package/libyui-qt.changes 
new/libyui-qt-2.47.0/package/libyui-qt.changes
--- old/libyui-qt-2.46.30/package/libyui-qt.changes     2016-10-18 
09:59:12.000000000 +0200
+++ new/libyui-qt-2.47.0/package/libyui-qt.changes      2016-11-21 
15:49:12.000000000 +0100
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Wed Nov  9 16:56:49 UTC 2016 - c...@suse.com
+
+- Add handler for Shift-F1 to show advanced keyboard shortcuts (bsc#1010039)
+- 2.47.0
+
+-------------------------------------------------------------------
 Mon Oct 17 21:22:16 UTC 2016 - igonzalezs...@suse.com
 
 - Add support for @import directive in QSS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-2.46.30/package/libyui-qt.spec 
new/libyui-qt-2.47.0/package/libyui-qt.spec
--- old/libyui-qt-2.46.30/package/libyui-qt.spec        2016-10-18 
09:59:12.000000000 +0200
+++ new/libyui-qt-2.47.0/package/libyui-qt.spec 2016-11-21 15:49:12.000000000 
+0100
@@ -17,7 +17,7 @@
 
 
 Name:           libyui-qt
-Version:        2.46.30
+Version:        2.47.0
 Release:        0
 Source:         %{name}-%{version}.tar.bz2
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-2.46.30/src/YQWizard.cc 
new/libyui-qt-2.47.0/src/YQWizard.cc
--- old/libyui-qt-2.46.30/src/YQWizard.cc       2016-10-18 09:59:13.000000000 
+0200
+++ new/libyui-qt-2.47.0/src/YQWizard.cc        2016-11-21 15:49:13.000000000 
+0100
@@ -101,6 +101,7 @@
     , _abortButtonLabel( abortButtonLabel )
     , _nextButtonLabel( nextButtonLabel )
     , _helpDlg ( NULL )
+    , _hotkeysDlg ( NULL )
     , _relNotesDlg ( NULL )
 {
     setObjectName( "wizard" );
@@ -196,6 +197,7 @@
     }
 
     delete _helpDlg;
+    delete _hotkeysDlg;
     delete _relNotesDlg;
 
     QY2Styler::styler()->unregisterWidget( this );
@@ -873,6 +875,13 @@
     connect( _helpAction, &pclass( _helpAction )::triggered,
              this,        &pclass( this )::showHelp );
 
+    // Help action to be able to react to Shift-F1 to show hotkeys
+    _hotkeysAction = new QAction( this );
+    _hotkeysAction->setShortcut( Qt::ShiftModifier + Qt::Key_F1 );
+    addAction( _hotkeysAction );
+
+    connect( _hotkeysAction, &pclass( _hotkeysAction )::triggered,
+             this,        &pclass( this )::showHotkeys );
 
     hbox->addSpacing( 10 );
 
@@ -1097,6 +1106,51 @@
 }
 
 
+void YQWizard::showHotkeys()
+{
+    /**
+     * Help text to be shown after pressing Shift-F1 listing the advanced
+     * keyboard shortcuts available in the Qt-UI
+     **/
+    _qHotkeysText = _(
+        "<h1>Advanced Hotkeys</h1>"
+        "<dl>"
+        "<dt>Print Screen</dt>"
+        "<dd>Take and save a screenshot. May not be available when YaST is 
running under "
+        "some desktop environments.</dd>"
+        "<dt>Shift-F4</dt>"
+        "<dd>Enable/disable the color palette optimized for vision impaired 
users.</dd>"
+        "<dt>Shift-F7</dt>"
+        "<dd>Enable/disable logging of debug messages.</dd>"
+        "<dt>Shift-F8</dt>"
+        "<dd>Open a file dialog to save log files to a non-standard 
location.</dd>"
+        "<dt>Ctrl-Shift-Alt-D</dt>"
+        "<dd>Send a DebugEvent. YaST modules can react on this by executing "
+        "special debugging actions. Result depends on the specific 
YaST-module.</dd>"
+        "<dt>Ctrl-Shift-Alt-M</dt>"
+        "<dd>Start/Stop macro recorder.</dd>"
+        "<dt>Ctrl-Shift-Alt-P</dt>"
+        "<dd>Replay macro.</dd>"
+        "<dt>Ctrl-Shift-Alt-S</dt>"
+        "<dd>Show style sheet editor.</dd>"
+        "<dt>Ctrl-Shift-Alt-T</dt>"
+        "<dd>Dump widget tree to the log file.</dd>"
+        "<dt>Ctrl-Alt-Shift-X</dt>"
+        "<dd>Open a terminal window (xterm). Useful for VNC 
installations.</dd>"
+        "<dt>Ctrl-Shift-Alt-Y</dt>"
+        "<dd>Show widget tree browser.</dd>"
+        "</dl>"
+        );
+
+    if (!_hotkeysDlg)
+       _hotkeysDlg = new QY2HelpDialog ( _qHotkeysText , NULL );
+
+    _hotkeysDlg->show();
+    _hotkeysDlg->raise();
+    _hotkeysDlg->activateWindow();
+}
+
+
 void YQWizard::showReleaseNotes()
 {
     if (!_relNotesDlg)
@@ -1367,6 +1421,9 @@
     if ( _helpDlg )
        _helpDlg->retranslate();
 
+    if ( _hotkeysDlg )
+       _hotkeysDlg->retranslate();
+
     if ( _relNotesDlg )
        _relNotesDlg->retranslate();
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-2.46.30/src/YQWizard.h 
new/libyui-qt-2.47.0/src/YQWizard.h
--- old/libyui-qt-2.46.30/src/YQWizard.h        2016-10-18 09:59:13.000000000 
+0200
+++ new/libyui-qt-2.47.0/src/YQWizard.h 2016-11-21 15:49:13.000000000 +0100
@@ -426,6 +426,11 @@
     void showHelp();
 
     /**
+     * Show an overview of the power-user hotkeys
+     **/
+    void showHotkeys();
+
+    /**
      * Show the current wizard steps, if there are any. If there are none,
      * nothing happens.
      **/
@@ -570,8 +575,10 @@
 
     QString    _currentStepID;
     QString     _qHelpText;
+    QString     _qHotkeysText;
 
     QY2HelpDialog *    _helpDlg;
+    QY2HelpDialog *    _hotkeysDlg;
     QY2RelNotesDialog *        _relNotesDlg;
 
     QStackedWidget *   _sideBar;
@@ -581,6 +588,7 @@
     static std::string          _releaseNotesButtonLabel;
     YQWizardButton *   _helpButton;
     QAction *           _helpAction;
+    QAction *           _hotkeysAction;
     QPushButton *              _stepsButton;
     QPushButton *              _treeButton;
     QFrame *               _treePanel;


Reply via email to