ValvularDefects.h 810 Bytes
Newer Older
Paul Ruales's avatar
Paul Ruales committed
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
/* Distributed under the Apache License, Version 2.0.
See accompanying NOTICE file for details.*/
#pragma once

#include <QObject>
#include <QDockWidget>
#include "QPulse.h"

namespace Ui {
  class AnaphylaxisShowcaseWidget;
}

class QAnaphylaxisShowcaseWidget : public QDockWidget, public PulseListener
{
  Q_OBJECT
public:
  QAnaphylaxisShowcaseWidget(QPulse& qp, QWidget *parent = Q_NULLPTR, Qt::WindowFlags flags = Qt::WindowFlags());
  virtual ~QAnaphylaxisShowcaseWidget();

  void ConfigurePulse(PhysiologyEngine& pulse, SEDataRequestManager& drMgr);
  void ProcessPhysiology(PhysiologyEngine& pulse);
  void PulseUpdateUI();

signals:
protected slots:
  void ApplyAirwayObstruction();
  void InjectEpinephrine();
  void ApplyAorticRegurgitation();

private:
  class Controls;
  Controls* m_Controls;
};