#include <QicsMouseMap.h>
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 |
| 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
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.