Salome HOME
Fix for problem: numbers of isolines functionality work incorrect.
[modules/gui.git] / src / Plot2d / Plot2d_ViewFrame.cxx
index 116410def87b44fbe522a8be4bfe9fa41c1b49e2..03540eabd1bd5a2097cfcb1854331c5275b8a9c0 100755 (executable)
@@ -25,7 +25,7 @@
 
 #include <qwt_math.h>
 #include <qwt_plot_canvas.h>
-#include <iostream.h>
+#include <iostream>
 #include <stdlib.h>
 
 //#include "utilities.h"
@@ -1331,6 +1331,7 @@ bool Plot2d_ViewFrame::isModeVerLinear()
 */
 void Plot2d_ViewFrame::plotMousePressed(const QMouseEvent& me )
 {
+  ((Plot2d_ViewWindow*)parent())->putInfo(getInfo(me.pos()));
   if ( myOperation == NoOpId )
     myOperation = testOperation( me );
   if ( myOperation != NoOpId ) {
@@ -1702,3 +1703,9 @@ bool Plot2d_Plot2d::existMarker( const QwtSymbol::Style typeMarker, const QColor
   }
   return false;
 }
+
+// TEMPORARY SOLUTION!!!  TO BE IMPLEMENTED!!!
+Plot2d_Prs* Plot2d_ViewFrame::CreatePrs( const char* /*entry*/ )
+{
+  return 0;
+}