[qet] qet/qet: [5029] Conductor : double click on an handler open the property editor of the conductor

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 5029
Author:   blacksun
Date:     2017-08-24 16:55:13 +0200 (Thu, 24 Aug 2017)
Log Message:
-----------
Conductor : double click on an handler open the property editor of the conductor

Modified Paths:
--------------
    trunk/sources/qetgraphicsitem/conductor.cpp

Modified: trunk/sources/qetgraphicsitem/conductor.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/conductor.cpp	2017-08-24 14:48:58 UTC (rev 5028)
+++ trunk/sources/qetgraphicsitem/conductor.cpp	2017-08-24 14:55:13 UTC (rev 5029)
@@ -720,6 +720,11 @@
 					handlerMouseReleaseEvent(qghi, static_cast<QGraphicsSceneMouseEvent *>(event));
 					return true;
 				}
+				else if (event->type() == QEvent::GraphicsSceneMouseDoubleClick) //Double click
+				{
+					editProperty();
+					return true;
+				}
 			}
 		}
 	}


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/