diff options
| author | Frank Reininghaus <[email protected]> | 2014-07-04 00:49:31 +0200 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2014-07-04 00:49:46 +0200 |
| commit | 20e13c31df64f5fe3dfd410a1b0a0bd78c07ba32 (patch) | |
| tree | 85276ce9288334d6f46ef6aea8386ebdf8fa187f /src/kitemviews/kstandarditemlistwidget.h | |
| parent | 4d8f89f55a030758bf818a668bf6edad451df356 (diff) | |
Improve drawing selected items in Compact/Details View and Places Panel
This commit removes the icon tinting for the selected item in Compact
and Details View, and extends the selection rectangle such that it
includes the icon area as well. The icon tinting can be disturbing, and
having a selection rectangle that only includes the text can look a bit
strange, especially in the Places Panel.
BUG: 304643
REVIEW: 119018
FIXED-IN: 4.14.0
Diffstat (limited to 'src/kitemviews/kstandarditemlistwidget.h')
| -rw-r--r-- | src/kitemviews/kstandarditemlistwidget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kitemviews/kstandarditemlistwidget.h b/src/kitemviews/kstandarditemlistwidget.h index 4f7a9136e..403794fc3 100644 --- a/src/kitemviews/kstandarditemlistwidget.h +++ b/src/kitemviews/kstandarditemlistwidget.h @@ -109,6 +109,7 @@ public: virtual QRectF iconRect() const; virtual QRectF textRect() const; virtual QRectF textFocusRect() const; + virtual QRectF selectionRect() const; virtual QRectF expansionToggleRect() const; virtual QRectF selectionToggleRect() const; virtual QPixmap createDragPixmap(const QStyleOptionGraphicsItem* option, QWidget* widget = 0); |
