[Kst] extragear/graphics/kst/kst

Rick Chern rchern at interchange.ubc.ca
Wed Aug 10 21:12:23 CEST 2005


SVN commit 445250 by rchern:

2dplots should show the plot dialog when double-clicked in layout mode

 M  +7 -0      kst2dplot.cpp  
 M  +3 -0      kst2dplot.h  


--- trunk/extragear/graphics/kst/kst/kst2dplot.cpp #445249:445250
@@ -6972,6 +6972,13 @@
 }
 
 
+void Kst2DPlot::showDialog(KstTopLevelViewPtr invoker) {
+  Q_UNUSED(invoker)
+  KstViewWidget *viewwidget = KstApp::inst()->activeView()->widget();
+  KstApp::inst()->plotDialog()->show_I(viewwidget->viewObject()->tagName(), tagName());
+} 
+
+
 #undef LABEL_PRECISION
 #include "kst2dplot.moc"
 
--- trunk/extragear/graphics/kst/kst/kst2dplot.h #445249:445250
@@ -369,6 +369,9 @@
   void fitCurve(int id);
   void filterCurve(int id);
   void removeCurve(int id);
+  
+  // used in layout mode 
+  void showDialog(KstTopLevelViewPtr invoker);
 
 protected slots:
   void menuMoveUp();


More information about the Kst mailing list