OpenCores
URL https://opencores.org/ocsvn/modular_oscilloscope/modular_oscilloscope/trunk

Subversion Repositories modular_oscilloscope

[/] [modular_oscilloscope/] [trunk/] [sw/] [src/] [rvioscilloscope.h] - Blame information for rev 60

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 60 budinero
#ifndef RVIOSCILLOSCOPE_H
2
#define RVIOSCILLOSCOPE_H
3
 
4
#include <QtGui/QMainWindow>
5
#include <qwt_plot_zoomer.h>
6
#include <qwt_plot_panner.h>
7
#include "data_plot.h"
8
#include "rviboardtools.h"
9
 
10
namespace Ui
11
{
12
    class RVIOscilloscope;
13
}
14
 
15
class RVIOscilloscope : public QMainWindow
16
{
17
    Q_OBJECT
18
 
19
public:
20
    RVIOscilloscope(QWidget *parent = 0);
21
    ~RVIOscilloscope();
22
 
23
private:
24
    Ui::RVIOscilloscope *ui;
25
 
26
    QwtPlotZoomer *d_zoomer[2];
27
    QwtPlotPanner *d_panner;
28
    QAction *zoomAct;
29
 
30
    DataPlot *plot;
31
    RVIBoardTools *extraTools;
32
 
33
    void createPlot();
34
 
35
private slots:
36
    void on_actionSaveData_triggered();
37
    void on_actionBackgroundColor_triggered();
38
    void enableZoomMode(bool on);
39
    void setDockedControlsDock(bool set);
40
    void exportSVG();
41
    void updateZoomLimits();
42
};
43
 
44
#endif // RVIOSCILLOSCOPE_H

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.