Skip to content

Commit

Permalink
Deleted unnecessary stuff
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@7961 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Haris Kapidzic committed Feb 18, 2011
1 parent 49f409d commit 1b8cfa6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
13 changes: 1 addition & 12 deletions OMEdit/OMEditGUI/PlotWidget.cpp
Expand Up @@ -32,7 +32,6 @@
*/

#include "PlotWidget.h"
#include <qwt_series_data.h>

PlotWidget::PlotWidget(MainWindow *pParent)
: QWidget(pParent)
Expand Down Expand Up @@ -155,17 +154,7 @@ void PlotWidget::plotVariables(QTreeWidgetItem *item, int column)
QString plotType = mpPlotTypesCombo->currentText();

if (plotType == "Plot")
{
//Call the plot widget exe with model name and variables
// QStringList modelAndVariables;
// modelAndVariables.append(modelName);
// modelAndVariables.append(plotVariablesList);
// QProcess process(mpParentMainWindow);
// qDebug() << "modelName: " << modelName;
// process.execute("C:\\OpenModelicaTrunk\\PlotWidget\\bin\\PlotWidgetGUI.exe", modelAndVariables);
//process.start("C:\\OpenModelicaTrunk\\PlotWidget\\bin\\PlotWidgetGUI.exe", plotVariablesList);


{
plotExpression = "plot(" + modelName + ", {" + plotVariablesString + "})";
setCursor(Qt::WaitCursor);
if (!mpParentMainWindow->mpOMCProxy->plot(modelName, plotVariablesString))
Expand Down
3 changes: 0 additions & 3 deletions OMEdit/OMEditGUI/PlotWidget.h
Expand Up @@ -35,9 +35,6 @@
#define PLOTWIDGET_H

#include "mainwindow.h"
#include "qwt_plot.h"
#include "qwt_plot_curve.h"
#include "qwt_plot_marker.h"

class MainWindow;

Expand Down

0 comments on commit 1b8cfa6

Please sign in to comment.