ICS

QicsTable Documentation Set

QicsMouseMap Class Reference

#include <QicsMouseMap.h>

List of all members.

Public Member Functions

bool setMapMButton (Qt::MouseButton, Qt::Modifier, Qt::MouseButton)
bool setMapMButton (Qt::MouseButton, Qt::Modifier, Qt::Modifier, Qt::MouseButton)
 setMapMButton with two modifiers.
bool checkButton (Qt::MouseButton button, QMouseEvent *mouseEvent)
Qt::MouseButton currentLeftButton (void)
Qt::MouseButton currentMiddleButton (void)
Qt::MouseButton currentRightButton (void)

Public Attributes

struct QicsMouseMap::QicsButtonMap myLeftBt
struct QicsMouseMap::QicsButtonMap myMidBt
struct QicsMouseMap::QicsButtonMap myRightBt


Detailed Description

Class to provide mapping mouse buttons to other.

Member Function Documentation

bool QicsMouseMap::setMapMButton ( Qt::MouseButton  ,
Qt::Modifier  ,
Qt::MouseButton   
)

This method set's emulate rule for mouse buttons. In case Apple or 2 button mouse this can very helpfull. Return true if succes, othervise false. First parameter real mouse button

See also:
Qt::MouseButton which used to emulate button; second modifier keyboard key which pressed with real button, third - needed result

Qt::MouseButton.

bool QicsMouseMap::setMapMButton ( Qt::MouseButton  ,
Qt::Modifier  ,
Qt::Modifier  ,
Qt::MouseButton   
)

setMapMButton with two modifiers.

bool QicsMouseMap::checkButton ( Qt::MouseButton  button,
QMouseEvent *  mouseEvent 
)

Public method which verify pressed button. It compare inside class buttons map's with button.


The documentation for this class was generated from the following file:

All trademarks and copyrights on this page are properties of their respective owners.
The rest is copyright ©1999-2006 Integrated Computer Solutions, Inc.