-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsessionwindow.h
More file actions
45 lines (33 loc) · 784 Bytes
/
Copy pathsessionwindow.h
File metadata and controls
45 lines (33 loc) · 784 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef SESSIONWINDOW_H
#define SESSIONWINDOW_H
#include <QMainWindow>
#include <QKeyEvent>
#include <QLabel>
#include <QShowEvent>
#include "session.h"
namespace Ui {
class SessionWindow;
}
class SessionWindow : public QMainWindow
{
Q_OBJECT
public:
explicit SessionWindow(Session *s, QWidget *parent = 0);
~SessionWindow();
void closeEvent(QCloseEvent *event);
void keyPressEvent(QKeyEvent *event);
Session * GetSession();
public slots:
void ButtonNextPushed();
void ButtonPreviousPushed();
void ButtonFirstPushed();
void ButtonLastPushed();
protected:
void showEvent(QShowEvent *event);
private:
void ShowCurrentImage();
Ui::SessionWindow *ui;
QLabel *lblImage;
Session *session;
};
#endif // SESSIONWINDOW_H