RISC-V/V203/usb/scope/software/mainwindow.h
2024-11-10 15:39:03 +01:00

38 lines
867 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 MarkerChangedA (bool);
void MarkerChangedB (bool);
void MarkerChangedC (bool);
void SaveSettings (bool);
void RestSettings (bool);
void PaketTriggered ();
void Started ();
void SetSelections (AllSettings);
private:
Ui_MainWindow * ui;
DataSource firmware;
};
#endif // MAINWINDOW_H