Update of /cvsroot/kuml/kuml/kuml_gui/src/ige/common
In directory usw-pr-cvs1:/tmp/cvs-serv2714/common
Modified Files:
EventHandler.h Paintable.h
Log Message:
Added more basic implementation for user interaction
Index: EventHandler.h
===================================================================
RCS file: /cvsroot/kuml/kuml/kuml_gui/src/ige/common/EventHandler.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** EventHandler.h 2001/06/20 19:21:16 1.1.1.1
--- EventHandler.h 2001/07/22 23:21:37 1.2
***************
*** 35,38 ****
--- 35,48 ----
virtual void mouseDblClick(QMouseEvent * e) = 0;
+
+ /** Left mouse button clicked
+ * Implement this in your sub classes
+ */
+ virtual void mouseLMBPress(QMouseEvent * e) =0;
+
+ /** Right mouse button clicked
+ * Implement this in your sub classes
+ */
+ virtual void mouseRMBPress(QMouseEvent * e) =0;
};
#endif //EVENTHANDLER_H
Index: Paintable.h
===================================================================
RCS file: /cvsroot/kuml/kuml/kuml_gui/src/ige/common/Paintable.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** Paintable.h 2001/06/20 19:21:16 1.1.1.1
--- Paintable.h 2001/07/22 23:21:37 1.2
***************
*** 27,31 ****
/**
! * Implement this
*/
virtual void paint(QPainter * painter) = 0;
--- 27,31 ----
/**
! * Implement this in your sub classes to paint something
*/
virtual void paint(QPainter * painter) = 0;
|