Hi Andreas,

Andreas Aardal Hanssen wrote:
Hi, Albert,

Albert Zhykhar wrote:
I have found the same behavior on Linux, so Windows in itself can be

So the result till now:
   - dragging with a mouse is Okay in Qt-4.3.x (both Windows/Linux,
     my modified collidingmice example,
     view.setDragMode(QGraphicsView::NoDrag))

I don't understand how this can work - when you set the view to NoDrag mode,
the scroll dragging is disabled. I've tried with 4.3 using NoDrag myself;
dragging does not work...

I created a subclass of QGraphicsView and overloaded 
mouse{Press|Move|Release}Event
methods to implement custom dragging mechanism. So I set 
view.setDragMode(QGraphicsView::NoDrag)
and keep track of middle mouse button states. Please look at my GraphicsView 
class
in the example I posted earlier.

   - dragging (NATIVE) with left mouse button is Okay in Qt-4.4.x (both

What does it mean to drag native?

Native - I mean dragging with left mouse button implemented in QGraphicsView 
that works
of course when drag mode QGraphicsView::ScrollHandDrag is set.

To unsubscribe - send "unsubscribe" in the subject to [EMAIL PROTECTED]

Reply via email to