Juan Álvarez
2017-09-12 10:43:34 UTC
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
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