Read current version from H&W web page

This is only partial. It prints the current version string (to be
processed by a regex) via qDebug().

Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Robert C. Helling 2014-12-26 22:39:53 +01:00 committed by Dirk Hohndel
parent 1e04aec7fd
commit 230ba7ace8
2 changed files with 19 additions and 0 deletions

View file

@ -7,6 +7,7 @@
#include "../libdivecomputer.h"
#include "configuredivecomputer.h"
#include <QStyledItemDelegate>
#include <QWebPage>
class GasSpinBoxItemDelegate : public QStyledItemDelegate
{
@ -73,6 +74,8 @@ private slots:
void on_updateFirmwareButton_clicked();
void on_DiveComputerList_currentRowChanged(int currentRow);
void findVersion();
private:
Ui::ConfigureDiveComputerDialog ui;
@ -99,6 +102,8 @@ private:
QString selected_vendor;
QString selected_product;
QWebPage hwVersionPage;
};
#endif // CONFIGUREDIVECOMPUTERDIALOG_H