-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspectromanager.h
More file actions
29 lines (29 loc) · 855 Bytes
/
spectromanager.h
File metadata and controls
29 lines (29 loc) · 855 Bytes
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
#ifndef SPECTROMANAGER_H
#define SPECTROMANAGER_H
#include<QFrame>
#include"spectrogram.h"
#include"tif.h"
class Spectromanager:public QFrame{
QGridLayout*const grid=new QGridLayout(this);
QSlider*const frameSlider=new QSlider(Qt::Horizontal,this),*const sliceSlider=new QSlider(Qt::Horizontal,this);
QLabel*const beamLabel=new QLabel("Beam Position: 0x, 0y, 0z"),*const angleLabel=new QLabel("Deviation Angle: 0");
Spectrogram*det,*poynting,*dh,*d0;
wavefield_iterator waves={0,0,0,0};
bool focused=false;
bool setSliceCount(size_t count=0);
public:
Spectromanager(QWidget*parent=0);
public slots:
int getFrameMax();
int getSliceMax();
int getFrame();
int getSlice();
bool load1st();
bool setFrame(int i=0);
bool setSlice(int i=0);
bool setFrameCount(size_t count=0);
bool clear();
private slots:
bool focus(QWidget*widget=0);
};
#endif