|
- #ifndef HMI_H
- #define HMI_H
-
- #include <QGraphicsScene>
- #include <QWidget>
-
- namespace Ui {
- class HMI;
- }
-
- class HMI : public QWidget
- {
- Q_OBJECT
-
- public:
- explicit HMI(QWidget *parent = nullptr);
- ~HMI();
- void createComponents();
-
- protected:
- bool eventFilter(QObject *obj, QEvent *event) override;
-
- private slots:
- void onListwidgetCurrenttextchanged(const QString ¤tText);
-
- private:
- Ui::HMI *ui;
- QGraphicsScene *m_scene;
- QString selectedComponentType;
- };
-
- #endif // HMI_H
|