You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »


#ifndef DIALOG_H
#define DIALOG_H
#include <QtGui/QDialog>
#include <QTimer>
#include <QtGui/QMainWindow>
#include <qwt_plot_marker.h>
#include <qwt_legend.h>
#include <qwt_scale_draw.h>
#include <qwt_math.h>
#include <qwt_plot_item.h>
#include <qwt_plot_curve.h>
#include <qwt_text.h>

namespace Ui
{
    class Dialog;
}

class Dialog : public QDialog
{
    Q_OBJECT

public:
    Dialog(QWidget *parent = 0);
    ~Dialog();
private slots:

void update();
void PaivitaNappiX(double);
void PaivitaNappiY(double);

private:
    Ui::Dialog *ui;
    QTimer *timer;
    int Arvo;
    QwtPlot *EkaPlotti;
QwtPlotCurve *EkaKurvi;
QwtPlotCurve *TokaKurvi;
QwtText Kurvi;
int i;
double x[1000], y1[1000], y2[1000];
double arvox;
double arvoy;

};

#endif // DIALOG_H
  • No labels
You must log in to comment.