Sensors | Qt Protobuf 6.5.0

- Qt 6.5
- Qt Protobuf
- Qt Protobuf Examples
- Sensors
- Qt 6.5.0 Reference Documentation

# Sensors

     // Copyright (C) 2023 The Qt Company Ltd.
     // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

     #ifndef EMULATORCONSOLE_H
     #define EMULATORCONSOLE_H

     #include <QWidget>

     namespace qt::examples::sensors {
     class Coordinates;
     class Temperature;
     class WarningNotification;
     } // namespace qt::examples::sensors

     namespace Ui {
     class EmulatorConsole;
     }

     class EmulatorConsole : public QWidget
     {
         Q_OBJECT

     public:
         explicit EmulatorConsole(QWidget *parent = nullptr);
         ~EmulatorConsole();

     signals:
         void coordinatesUpdated(const qt::examples::sensors::Coordinates &);
         void temperatureUpdated(const qt::examples::sensors::Temperature &);
         void warning(const qt::examples::sensors::WarningNotification &);

     private:
         Ui::EmulatorConsole *ui;
     };
     #endif // EMULATORCONSOLE_H