[Breeze] [Bug 158379] Draw focus rect in Kate Part instead of Widget Style (Oxygen)

Hugo Pereira Da Costa hugo.pereira at free.fr
Thu Sep 11 21:25:43 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=158379

--- Comment #11 from Hugo Pereira Da Costa <hugo.pereira at free.fr> ---
Git commit c71ed504dad4f92979e905067b22cafc015b8afd by Hugo Pereira Da Costa.
Committed on 11/09/2014 at 21:18.
Pushed by hpereiradacosta into branch 'master'.

- Use QGridLayout for setting up View layout
- Added QSpacerItems in order to properly implement frame around edition area.
- properly account for whether style requires frame around contents only, or
around contents + scrollbars
- Call style primitive in order to render a frame around the said area, with
proper mouse-over and focus set.
- Adjust scrollbar background based on whether frame must be drawn around
contents only, or scrollbars+contents
- Force update of widget and scrollbars on focusIn and focusOut events
REVIEW: 120147

M  +224  -31   src/view/kateview.cpp
M  +11   -1    src/view/kateview.h

http://commits.kde.org/ktexteditor/c71ed504dad4f92979e905067b22cafc015b8afd

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Plasma-devel mailing list