Skip to content
Snippets Groups Projects
  • Don Gagne's avatar
    6d7fb36a
    New mavlink logging support · 6d7fb36a
    Don Gagne authored
    - Logging now always on to temp file
    - User prompted to save temp file after disconnect
    - Orphaned temp logs checked for on boot
    - Logs saved to new save file location
    - Log file starts/stops with first and last connnection
    6d7fb36a
    History
    New mavlink logging support
    Don Gagne authored
    - Logging now always on to temp file
    - User prompted to save temp file after disconnect
    - Orphaned temp logs checked for on boot
    - Logs saved to new save file location
    - Log file starts/stops with first and last connnection
MAVLinkSettingsWidget.h 709 B
#ifndef MAVLINKSETTINGSWIDGET_H
#define MAVLINKSETTINGSWIDGET_H

#include <QWidget>

#include "MAVLinkProtocol.h"

namespace Ui
{
class MAVLinkSettingsWidget;
}

class MAVLinkSettingsWidget : public QWidget
{
    Q_OBJECT
public:
    MAVLinkSettingsWidget(MAVLinkProtocol* protocol, QWidget *parent = 0);
    ~MAVLinkSettingsWidget();

public slots:
    /** @brief Enable DroneOS forwarding */
    void enableDroneOS(bool enable);

    void setDroneOSKey(QString key);

    void setDroneOSHost(QString host);

protected:
    MAVLinkProtocol* protocol;
    void changeEvent(QEvent *e);
    void hideEvent(QHideEvent* event);

private:
    Ui::MAVLinkSettingsWidget *m_ui;
};

#endif // MAVLINKSETTINGSWIDGET_H