File:  [Local Repository] / imach / imach-gui / dialog.h
Revision 1.1: download - view: text, annotated - select for diffs
Tue Feb 27 23:00:08 2018 UTC (6 years, 4 months ago) by brouard
Branches: MAIN
CVS tags: HEAD
Summary: imach gui

    1: // dialog.h
    2: 
    3: #ifndef DIALOG_H
    4: #define DIALOG_H
    5: 
    6: #include <QDialog>
    7: #include <QProcess>
    8: #include <QFile>
    9: #include <QTextEdit>
   10: 
   11: namespace Ui {
   12: class Dialog;
   13: }
   14: 
   15: class Dialog : public QDialog
   16: {
   17:     Q_OBJECT
   18: 
   19: public:
   20:     explicit Dialog(QWidget *parent = 0);
   21:     ~Dialog();
   22: 
   23: public slots:
   24: 
   25: public:
   26: 
   27: private slots:
   28:      void on_startButton_clicked();
   29:      void readyReadStandardOutput();
   30:      void processStarted();
   31:      void imachexecFinished();
   32:      void on_fileOpenButton_clicked();
   33:      void on_openLogButton_clicked();
   34:      void on_openGnuplotButton_clicked();
   35:      void on_launchbrowButton_clicked();
   36:      void on_runGnuplotButton_clicked();
   37: 
   38: 
   39:      //void on_playOutputButton_clicked();
   40: 
   41: private:
   42:     Ui::Dialog *ui;
   43:     QProcess *mImachexecProcess;
   44:     QProcess *mGnuplotProcess;
   45:     QProcess *mOutputPlayProcess;
   46:     QString mOutputString;
   47: };
   48: 
   49: #endif // DIALOG_H

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>