Change colors of stars if widget has focus

Some widgets on the main tab don't show any kind of focus indicator on
some systems (like Mac), so it's a good thing to provide another way to
show that they indeed have focus.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2015-08-06 11:57:06 -03:00 committed by Dirk Hohndel
parent 25273a3912
commit b62cf45d59
2 changed files with 27 additions and 3 deletions

View file

@ -31,6 +31,10 @@
#include <QScrollBar>
#include <QTextBlock>
#include <QPainter>
#include <QApplication>
#include <QStyle>
#include <QStyleOptionFocusRect>
#include <QDebug>
struct GroupedLineEdit::Private {
struct Block {