source: subsurface/smtk-import/smrtk2ssrfc_window.h

Last change on this file was b641757, checked in by Dirk Hohndel <dirk@…>, 6 months ago

Add SPDX header to smartrak importer

Signed-off-by: Dirk Hohndel <dirk@…>

  • Property mode set to 100644
File size: 833 bytes
Line 
1// SPDX-License-Identifier: GPL-2.0
2#ifndef SMRTK2SSRFC_WINDOW_H
3#define SMRTK2SSRFC_WINDOW_H
4
5#include <QMainWindow>
6#include <QFileDialog>
7#include <QFileInfo>
8
9extern "C" void smartrak_import(const char *file, struct dive_table *divetable);
10
11namespace Ui {
12class Smrtk2ssrfcWindow;
13}
14
15class Smrtk2ssrfcWindow : public QMainWindow
16{
17        Q_OBJECT
18
19public:
20        explicit Smrtk2ssrfcWindow(QWidget *parent = 0);
21        ~Smrtk2ssrfcWindow();
22
23private:
24        Ui::Smrtk2ssrfcWindow *ui;
25        QString lastUsedDir();
26        QString filter();
27        void updateLastUsedDir(const QString &s);
28        void closeCurrentFile();
29
30private
31slots:
32        void on_inputFilesButton_clicked();
33        void on_outputFileButton_clicked();
34        void on_importButton_clicked();
35        void on_exitButton_clicked();
36        void on_outputLine_textEdited();
37        void on_inputLine_textEdited();
38};
39
40#endif // SMRTK2SSRFC_WINDOW_H
Note: See TracBrowser for help on using the repository browser.