D8708: [WIP] Introduce AbstractAnnotationItemDelegate for more control by consumer
Friedrich W. H. Kossebau
noreply at phabricator.kde.org
Wed Nov 8 00:36:17 UTC 2017
kossebau created this revision.
Restricted Application added projects: Kate, Frameworks.
Restricted Application added a subscriber: Frameworks.
REVISION SUMMARY
The AbstractAnnotationItemDelegate is modelled after QAbstractItemDelegate
and should allow consumers of the annotation interfaces to customize the
rendering, the context menu and the tooltip per annotation as wanted.
Yet to be solved:
- whether, and if how, to adapt to zoomed content
- which UI font to recommend if not wanting to use content font
- tooltip hiding API (and perhaps support for async shown tooltips)
and some other TODOs spread over the patch
Done together with some new patches for KDevelop.
REPOSITORY
R39 KTextEditor
BRANCH
addAnnotationItemDelegate
REVISION DETAIL
https://phabricator.kde.org/D8708
AFFECTED FILES
src/CMakeLists.txt
src/include/CMakeLists.txt
src/include/ktexteditor/abstractannotationitemdelegate.h
src/include/ktexteditor/annotationinterface.h
src/view/kateannotationitemdelegate.cpp
src/view/kateannotationitemdelegate.h
src/view/kateview.cpp
src/view/kateview.h
src/view/kateviewhelpers.cpp
src/view/kateviewhelpers.h
src/view/kateviewinternal.h
To: kossebau
Cc: #frameworks, kevinapavew, ngraham, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171108/0930e306/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list