aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/importgps.h
blob: 9de8c2895b0aa2d72b3042f6ad9b9e987b929e59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// SPDX-License-Identifier: GPL-2.0
#ifndef IMPORT_GPS_H
#define IMPORT_GPS_H

#include "ui_importgps.h"
#include "desktop-widgets/locationinformation.h"
#include "core/parse-gpx.h"

#include <QFile>

class ImportGPS : public QDialog {
	Q_OBJECT
public:
	Ui::ImportGPS ui;
	explicit ImportGPS(QWidget *parent, QString fileName, class Ui::LocationInformation *LocationUI);
	struct dive_coords coords;
	void updateUI();

private
slots:
	void timeDiffEditChanged();
	void timeZoneEditChanged();
	void changeZoneForward();
	void changeZoneBackwards();
	void changeDiffForward();
	void changeDiffBackwards();
	void buttonClicked(QAbstractButton *button);

private:
	QString fileName;
	class Ui::LocationInformation *LocationUI;
	int pixmapSize;
};

#endif