Logo Search packages:      
Sourcecode: qmk-groundstation version File versions  Download package

void qmapcontrol::MapControl::setMouseMode ( MouseMode  mousemode  ) 

sets the Mouse Mode of the MapControl

There are three MouseModes declard by an enum. The MouesMode Dragging draws an rectangular in the map while the MouseButton is pressed. When the Button is released a boxDragged() signal is emitted.

The second MouseMode (the default) is Panning, which allows to drag the map around.

Parameters:
mousemode the MouseMode

Definition at line 377 of file mapcontrol.cpp.

    {
        mymousemode = mousemode;
    }


Generated by  Doxygen 1.6.0   Back to index