mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add a dialog for remote Bluetooth devices selection
Implement a dialog which can be used for remote Bluetooth devices selection and to control the local Bluetooth device. Functionalities of the widget: - expose information about the local BT device - scan for remote BT devices - pair/unpair with a remote BT device - turn on/off the local BT device - logging - save the selected BT device The selection dialog is created when the bluetoothMode checkbox is enabled. Signed-off-by: Claudiu Olteanu <olteanu.claudiu@ymail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b4c4d95ea4
commit
dff4e5f33e
7 changed files with 553 additions and 4 deletions
|
|
@ -10,6 +10,7 @@
|
|||
#include "libdivecomputer.h"
|
||||
#include "configuredivecomputerdialog.h"
|
||||
#include "ui_downloadfromdivecomputer.h"
|
||||
#include "btdeviceselectiondialog.h"
|
||||
|
||||
class QStringListModel;
|
||||
|
||||
|
|
@ -81,6 +82,7 @@ slots:
|
|||
void pickDumpFile();
|
||||
void pickLogFile();
|
||||
void selectRemoteBluetoothDevice();
|
||||
void bluetoothSelectionDialogIsFinished(int result);
|
||||
|
||||
private:
|
||||
void markChildrenAsDisabled();
|
||||
|
|
@ -106,6 +108,7 @@ private:
|
|||
bool dumpWarningShown;
|
||||
OstcFirmwareCheck *ostcFirmwareCheck;
|
||||
DiveImportedModel *diveImportedModel;
|
||||
BtDeviceSelectionDialog *btDeviceSelectionDialog;
|
||||
|
||||
public:
|
||||
bool preferDownloaded();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue