30 #ifndef SEPPUKUCONFIGURATION_H
31 #define SEPPUKUCONFIGURATION_H
33 #include <QSvgRenderer>
34 #include <QGraphicsSvgItem>
37 #include "ui_seppuku.h"
48 QSvgRenderer *m_renderer;
49 QGraphicsSvgItem *m_background;
50 QGraphicsSvgItem *m_uart3;
51 QGraphicsSvgItem *m_uart4;
52 QGraphicsScene *m_scene;
54 void setupGraphicsScene();
55 QGraphicsSvgItem *addGraphicsElement(
const QString &elementId);
56 void resizeEvent(QResizeEvent *event);
57 void showEvent(QShowEvent *event);
58 void setMessage(
const QString &name,
const QString &msg = QString(),
59 const QString &severity = QString(
"warning"));
62 void magChanged(
const QString &newVal);
63 void outputsChanged(
const QString &newVal);
66 void checkUart3(
const QString &newVal);
67 void checkRcvr(
const QString &newVal);
70 #endif // SEPPUKUCONFIGURATION_H
SeppukuConfiguration(QWidget *parent=nullptr)