dRonin
adbada4
dRonin GCS
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Groups
Pages
flightlogdownload.h
Go to the documentation of this file.
1
14
/*
15
* This program is free software; you can redistribute it and/or modify
16
* it under the terms of the GNU General Public License as published by
17
* the Free Software Foundation; either version 3 of the License, or
18
* (at your option) any later version.
19
*
20
* This program is distributed in the hope that it will be useful, but
21
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
22
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
23
* for more details.
24
*
25
* You should have received a copy of the GNU General Public License along
26
* with this program; if not, see <http://www.gnu.org/licenses/>
27
*/
28
#ifndef FLIGHTLOGDOWNLOAD_H
29
#define FLIGHTLOGDOWNLOAD_H
30
31
#include <QDialog>
32
#include <QByteArray>
33
#include <QFile>
34
#include "loggingstats.h"
35
36
namespace
Ui {
37
class
FlightLogDownload
;
38
}
39
40
class
FlightLogDownload
:
public
QDialog
41
{
42
Q_OBJECT
43
44
public
:
45
explicit
FlightLogDownload
(QWidget *parent =
nullptr
);
46
~FlightLogDownload
();
47
48
private
slots:
49
void
updateReceived();
50
void
startDownload();
51
void
getFilename();
52
53
private
:
54
LoggingStats *loggingStats;
55
QByteArray log;
56
QFile *logFile;
57
58
enum
LOG_DL_STATE { DL_IDLE, DL_DOWNLOADING, DL_COMPLETE } dl_state;
59
60
Ui::FlightLogDownload *ui;
61
};
62
63
#endif // FLIGHTLOGDOWNLOAD_H
64
FlightLogDownload::~FlightLogDownload
~FlightLogDownload()
Definition:
flightlogdownload.cpp:69
FlightLogDownload::FlightLogDownload
FlightLogDownload(QWidget *parent=nullptr)
Definition:
flightlogdownload.cpp:43
FlightLogDownload
Definition:
flightlogdownload.h:40
ground
gcs
src
plugins
logging
flightlogdownload.h
Generated by
1.8.6