• Jarek Kobus's avatar
    Refactor HighlightScrollBar · 990da15c
    Jarek Kobus authored
    Rename it into HighlightScrollBarController.
    Don't derive it anymore from QScrollBar.
    Make it based on QObject and decorate
    the existing instance of QAbstractScrollArea as needed.
    
    Fix the highlight of the shared scrollbar of the SideBySideDiffEditor.
    Both left and right diff editors have their own
    HighlightScrollBarController and their own separate overlays, but both
    overlays are created as children of the same right editor instance.
    
    Synchronize also the cursor between left and right editors.
    Make highlight current line working.
    
    Make the overlay transparent for mouse events - this fixes
    issues on macOS when scolling over invisible scrollbar.
    
    Change-Id: Iab05c360173e09d8748658c59785da86438a7189
    Reviewed-by: David Schulz's avatarDavid Schulz <david.schulz@qt.io>
    990da15c
Name
Last commit
Last update
bin Loading commit data...
dist Loading commit data...
doc Loading commit data...
qbs Loading commit data...
scripts Loading commit data...
share Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
HACKING Loading commit data...
LICENSE.GPL3-EXCEPT Loading commit data...
README.md Loading commit data...
docs.pri Loading commit data...
qtcreator.pri Loading commit data...
qtcreator.pro Loading commit data...
qtcreator.qbs Loading commit data...
qtcreatordata.pri Loading commit data...