17 #ifndef QmitkGnuplotWidget_h
18 #define QmitkGnuplotWidget_h
22 #include <QScopedPointer>
24 #include <itkTimeStamp.h>
42 QString GetGnuplotPath()
const;
43 void SetGnuplotPath(
const QString &path);
45 QStringList GetCommands()
const;
46 void SetCommands(
const QStringList &commands);
50 QSize sizeHint()
const override;
53 void contextMenuEvent(QContextMenuEvent *event)
override;
54 void resizeEvent(QResizeEvent *event)
override;
57 void OnProcessStateChanged(QProcess::ProcessState state);
58 void OnProcessError(QProcess::ProcessError error);
59 void OnProcessFinished(
int exitCode, QProcess::ExitStatus exitStatus);
64 void CreateContextMenu();
65 QString CreateSetTermCommand()
const;
67 QScopedPointer<Ui::QmitkGnuplotWidget> m_Ui;
69 QAction *m_CopyPlotAction;
70 QAction *m_CopyScriptAction;
72 QString m_GnuplotPath;
73 QStringList m_Commands;
74 itk::TimeStamp m_ModifiedTime;
75 itk::TimeStamp m_UpdateTime;
static void Update(vtkPolyData *)