Package com.trolltech.qt.core.Qt

Examples of com.trolltech.qt.core.Qt.MouseButton


   * Emits the mouse left and right clicked signals.
   * @param event Used for determining, which button was clicked.
   */
  @Override
  public void mousePressEvent(QGraphicsSceneMouseEvent event) {
    MouseButton button = event.button();
   
    switch(button) {
      case LeftButton:
        mLeftButtonPressed.emit(mCoord);
      break;
View Full Code Here

TOP

Related Classes of com.trolltech.qt.core.Qt.MouseButton

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.