-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainwindow.h
46 lines (34 loc) · 889 Bytes
/
mainwindow.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QtCore>
#include <QtGui>
#include <memory>
//#include <QDebug>
//#include "fileutils.h"
#include "photonfile.h"
extern pixelType showBuf[1440][2560];
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
//static pixelType pixelBuf[1440][2560];
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow();
private slots:
void on_actionOpen_triggered();
void on_actionSave_triggered();
void on_verticalScrollBar_valueChanged(int value);
void on_txtCurrentLayer_textChanged(const QString &arg1);
void on_btnDecrease_clicked();
private:
Ui::MainWindow *ui;
QString inFile="", outFile="";
unique_ptr<PhotonFile> photon;
//PhotonFile *photon=nullptr;
//pixelType pixelBuf[1440][2560];
};
#endif // MAINWINDOW_H