aboutsummaryrefslogtreecommitdiff
path: root/include/aoevidencedisplay.h
blob: 13ca00d57f407e30f7dbd6f09898da931c4827d2 (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
#ifndef AOEVIDENCEDISPLAY_H
#define AOEVIDENCEDISPLAY_H

#include "aoapplication.h"
#include "aosfxplayer.h"

#include <QLabel>
#include <QMovie>
#include <QDebug>

class AOEvidenceDisplay : public QLabel
{
  Q_OBJECT

public:
  AOEvidenceDisplay(QWidget *p_parent, AOApplication *p_ao_app);

  void show_evidence(QString p_evidence_image, bool is_left_side, int p_volume);
  QLabel* get_evidence_icon();
  void reset();

private:
  AOApplication *ao_app;
  QMovie *evidence_movie;
  QLabel *evidence_icon;
  AOSfxPlayer *sfx_player;

private slots:
  void frame_change(int p_frame);
};

#endif // AOEVIDENCEDISPLAY_H