Merge pull request #35 from jsrain/logo_header

Avoid hiding "Show Relnotes" button when new Wizard window is created (bnc#876668)
This changes the semantics of YQWizard::showReleaseNotesButton from "do it for this instance, of course" to "do it for this instance and any new instance too".
load per-language font info and refresh widget fonts (bnc #866705)

The background (long story):

One problem is that Qt5 doesn't seem to refresh its font database after the
initialization. YaST tries to fetch (or copy) the needed fonts on the fly
(e.g. ipag.ttf for Japanese) to /usr/share/fonts/truetype. libyui-qt calls
FcInitReinitialize() for refreshing fontconfig side, but it doesn't suffice.

This problem of Qt has existed since ages ago, and this seems inherited still
to Qt5. For working around it, YaST introduced lang_fonts setup. This
contains the explicit font list for each language.

That worked with Qt4, but no longer with Qt5, unfortunately.

How to trigger the fontdata base refresh in Qt5: You can load a
font manually via QFontDatabase::addApplicationFont(). Note that you have to
pass a font file path. In the case of Japanese, for example, it'd be like:

    QFontDatabase::addApplicationFont("/usr/share/fonts/truetype/ipag.ttf");

So,instead of (or in addition to) FcInitReinitialize() call in
YQApplication::setLangFonts(), we need to call of such in addition.
In that function, the font fresh is performed only when the font family is
changed. The logic has to be changed, and also we have to give some list of
the newly added fonts there.
release 2.46.9
fix last font selection fix (bnc #878859)
release 2.46.10
Merge pull request #37 from wfeldt/bnc_878859_fix

Bnc 878859 fix
Fix recent ugly fonts in cs_CZ, hu_HU (bnc#879991).

It seems that Qt picks up random (and worst) fonts when no font is
specified as default.  And libyui-qt doesn't set the font as default,
thus it results in the weird output.
version + changelog
factored out and commented the Sans Serif font
Merge pull request #38 from mvidner/default-font

Fix recent ugly fonts in cs_CZ, hu_HU (bnc#879991).
Avoid QXcbEventReader crash (bnc#879295).

The crash happened because Qt was unloaded before QApplication was
destroyed. The XCB thread was still running and an X message was handled
by missing code.

QApplication::deleteLater did not work, delete it directly.

This introduces
<libqt-warning> QThreadStorage: Thread 0x620c80 exited after QThreadStorage 2 destroyed
<libqt-warning> QThreadStorage: Thread 0x620c80 exited after QThreadStorage 1 destroyed
so that will still need some debugging.
This is a quick fix to unblock a release.
version + changelog
When using libyui threads, destroy qApp in the right one.
Merge pull request #39 from mvidner/xcb-crash

Avoid QXcbEventReader crash during library shutdown (bnc#879295).
Fixed Table(:multiSelection) selecting 1st item when focused (bnc#888090).

The code uses these two signals:

  http://qt-project.org/doc/qt-5/qtreewidget.html#currentItemChanged
  http://qt-project.org/doc/qt-5/qtreewidget.html#itemSelectionChanged

but the difference is only explained in these:

  http://qt-project.org/doc/qt-5/qitemselectionmodel.html#currentChanged
  http://qt-project.org/doc/qt-5/qitemselectionmodel.html#selectionChanged

That is, the selection and the current item are independent. Therefore Qt can
change the current item when the widget gets the keyboard focus, and we should
not change the selection.
repo-wide indentation settings for Emacs
version + changelog
Merge pull request #40 from mvidner/table-focused-selected

Fixed Table(:multiSelection) selecting 1st item when focused
added QT-specific dialog for displaying release notes