mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
a42df06dbf
commit
5472036931
4 changed files with 65 additions and 5 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue