Connect up custom serial in dc configuration

This connects up the custom serial code in the configure dive computer
dialogs.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2015-09-12 22:37:35 +02:00 committed by Dirk Hohndel
parent a42df06dbf
commit 5472036931
4 changed files with 65 additions and 5 deletions

View file

@ -8,6 +8,7 @@
#include "configuredivecomputer.h"
#include <QStyledItemDelegate>
#include <QNetworkAccessManager>
#include "btdeviceselectiondialog.h"
class GasSpinBoxItemDelegate : public QStyledItemDelegate {
Q_OBJECT
@ -84,6 +85,11 @@ slots:
void dc_open();
void dc_close();
#if BT_SUPPORT
void bluetoothSelectionDialogIsFinished(int result);
void selectRemoteBluetoothDevice();
#endif
private:
Ui::ConfigureDiveComputerDialog ui;
@ -112,6 +118,8 @@ private:
QString selected_vendor;
QString selected_product;
bool fw_upgrade_possible;
BtDeviceSelectionDialog *btDeviceSelectionDialog;
};
class OstcFirmwareCheck : QObject {