Commit 95f6896e authored by Stéphane Albert's avatar Stéphane Albert

ENH: Blocked quicklook-view scrolling/zooming.

parent 5bade109
......@@ -87,6 +87,43 @@ QuicklookViewManipulator
{
}
/******************************************************************************/
/*
void
QuicklookViewManipulator
::MousePressEvent( QMouseEvent* event )
{
assert( event!=NULL );
// qDebug() << this << ":" << event;
}
*/
/******************************************************************************/
void
QuicklookViewManipulator
::MouseMoveEvent( QMouseEvent* event)
{
assert( event!=NULL );
// qDebug() << this << ":" << event;
Qt::MouseButtons buttons = event->buttons();
Qt::KeyboardModifiers modifiers = event->modifiers();
}
/******************************************************************************/
/*
void
QuicklookViewManipulator
::MouseReleaseEvent( QMouseEvent* event)
{
assert( event!=NULL );
// qDebug() << this << ":" << event;
}
*/
/******************************************************************************/
void
QuicklookViewManipulator
......@@ -97,6 +134,34 @@ QuicklookViewManipulator
emit ZoomToExtent();
}
/******************************************************************************/
void
QuicklookViewManipulator
::WheelEvent( QWheelEvent* event )
{
assert( event!=NULL );
}
/******************************************************************************/
void
QuicklookViewManipulator
::KeyPressEvent( QKeyEvent* event )
{
assert( event!=NULL );
// qDebug() << this << "::KeyPressEvent(" << event << ")";
}
/******************************************************************************/
void
QuicklookViewManipulator
::KeyReleaseEvent( QKeyEvent* event )
{
assert( event!=NULL );
// qDebug() << this << "::KeyPressEvent(" << event << ")";
}
/*****************************************************************************/
/* SLOTS */
/*****************************************************************************/
......
......@@ -96,10 +96,23 @@ public:
/** \brief Destructor. */
virtual ~QuicklookViewManipulator();
/**
*/
//
// ImageViewRenderer overloads.
virtual void MouseMoveEvent( QMouseEvent* event );
// virtual void MousePressEvent( QMouseEvent* event );
// virtual void MouseReleaseEvent( QMouseEvent* event );
virtual void WheelEvent( QWheelEvent* event);
virtual void ResizeEvent( QResizeEvent * event );
virtual void KeyPressEvent( QKeyEvent* event );
virtual void KeyReleaseEvent( QKeyEvent* event );
/*-[ PUBLIC SLOTS SECTION ]-----------------------------------------------**/
//
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment