RISC-V/V203/usb/scope/software/mainwindow.h
2024-11-08 20:56:19 +01:00

36 lines
803 B
C++

#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include "datasource.h"
class Ui_MainWindow;
class MainWindow : public QMainWindow {
Q_OBJECT
public:
MainWindow (QWidget *parent = 0);
~MainWindow ();
protected:
public slots:
void SendVoltageA (int n);
void SendVoltageB (int n);
void SendTrigerMode (int n);
void SendTrigerEdge (int n);
void SendTrigerChan (int n);
void TriggerValues (int n);
void TimeBaseRange (int n);
void ExportImage (bool);
void MarkerChanged (bool);
void SaveSettings (bool);
void RestSettings (bool);
void PaketTriggered ();
void Started ();
void SetSelections (AllSettings);
private:
Ui_MainWindow * ui;
DataSource firmware;
};
#endif // MAINWINDOW_H