Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Code Block
Header

#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