[mythtv-commits] mythtv branch master updated by jyavenard. v0.28-pre-1042-g96ecd53

Git Repo Owner noreply at mythtv.org
Mon Mar 31 15:53:37 UTC 2014


The branch, master has been updated on the
mythtv repository by gitolite user jyavenard.
       via  96ecd539de8e76a880f0013b4b8854da216e17b1 (commit)
      from  a0a32ef6881c9f3454e1514bc662d87ee172d574 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 96ecd539de8e76a880f0013b4b8854da216e17b1
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 1 Apr 2014 02:51:41 +1100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 1 Apr 2014 02:52:55 +1100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=96ecd539de8e76a880f0013b4b8854da216e17b1

Fix settings display on macs
Qt widgets uses a default style that varies between platforms. On Linux, the default text is white, on mac its black.
The color of the text in the old settings aren’t configurable as it is (wouldn’t be difficult to do so)

Most themes are using a dark background, so on mac, using the old type settings is proving difficult as mostly unreadable.

So we redefine the style of most QWidget objects so it looks more similar to Linux.
This is done using Qt stylesheets. Where Qt stylesheets do not provided the intended behavior, we use QPalettes instead



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmyth/dialogbox.cpp        |    2 +-
 mythtv/libs/libmyth/mythconfiggroups.cpp |    7 +-
 mythtv/libs/libmyth/mythconfiggroups.h   |    4 +-
 mythtv/libs/libmyth/mythdialogs.cpp      |    9 +-
 mythtv/libs/libmyth/mythdialogs.h        |    6 +-
 mythtv/libs/libmyth/mythwidgets.cpp      |  157 +++++++++++++++++++++++++++++-
 mythtv/libs/libmyth/mythwidgets.h        |   55 ++++++-----
 mythtv/libs/libmyth/mythwizard.cpp       |   14 +--
 mythtv/libs/libmyth/settings.cpp         |   21 ++--
 9 files changed, 212 insertions(+), 63 deletions(-)

-- 



More information about the mythtv-commits mailing list