8#ifndef MARBLE_MARBLEWIDGETINPUTHANDLER_H
9#define MARBLE_MARBLEWIDGETINPUTHANDLER_H
11#include "MarbleInputHandler.h"
13#include <QPinchGesture>
14#include <QSharedPointer>
21class MarbleWidgetInputHandlerPrivate;
23class MARBLE_EXPORT MarbleWidgetInputHandler :
public MarbleDefaultInputHandler
28 MarbleWidgetInputHandler(MarbleAbstractPresenter *marblePresenter, MarbleWidget *marbleWidget);
30 void setDebugModeEnabled(
bool enabled);
33 void installPluginEventFilter(RenderPlugin *renderPlugin)
override;
34 void showLmbMenu(
int x,
int y)
override;
35 void showRmbMenu(
int x,
int y)
override;
36 void openItemToolTip()
override;
37 void setCursor(
const QCursor &cursor)
override;
40 bool handleKeyPress(
QKeyEvent *event)
override;
43 AbstractSelectionRubber *selectionRubber()
override;
49 MarbleWidgetInputHandlerPrivatePtr d;
50 friend class MarbleWidgetInputHandlerPrivate;
52 Q_DISABLE_COPY(MarbleWidgetInputHandler)
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 12:02:44 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.