blob: df4a0377843f7ee9c315c3d63e6873648a01a74c (
plain)
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
|
#ifndef AOEVIDENCEDISPLAY_H
#define AOEVIDENCEDISPLAY_H
#include "aoapplication.h"
#include "aolayer.h"
#include "aosfxplayer.h"
#include <QDebug>
#include <QLabel>
#include <QPushButton>
class AOEvidenceDisplay : public QLabel {
Q_OBJECT
public:
AOEvidenceDisplay(QWidget *p_parent, AOApplication *p_ao_app);
void show_evidence(int p_index, QString p_evidence_image, bool is_left_side, int p_volume);
void reset();
void combo_resize(int w, int h);
signals:
void show_evidence_details(int index);
private:
AOApplication *ao_app;
InterfaceLayer *evidence_movie;
QPushButton *evidence_icon;
AOSfxPlayer *sfx_player;
int last_evidence_index = -1;
private slots:
void show_done();
void icon_clicked();
};
#endif // AOEVIDENCEDISPLAY_H
|