D7782: Provide access to MarbleWidget instance of AbstractPresenter.
Juan Álvarez
noreply at phabricator.kde.org
Tue Sep 12 10:43:34 UTC 2017
jalvarez created this revision.
jalvarez created this object with visibility "All Users".
jalvarez added a project: Marble.
REVISION SUMMARY
In order to instantiate and use a custom MarbleWidgetInputHandler an instance of MarbleAbstractPresenter is required. Creating an Abtract Presenter from scratch, creting the InputHandler and then setting it via MarbleWidget::setInputHandler() makes you lose almost all mouse input. Using MarbleWidget instance of the presenter works as expected.
REPOSITORY
R34 Marble
REVISION DETAIL
https://phabricator.kde.org/D7782
AFFECTED FILES
src/lib/marble/MarbleWidget.cpp
src/lib/marble/MarbleWidget.h
To: jalvarez, #marble
Cc: jalvarez, tjakobi, mnafees, shentey, chaz6, dkolozsvari, cmihalache, rahn, nienhueser, marble-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20170912/2757ef5a/attachment.html>
More information about the Marble-devel
mailing list