Navigator2Go  2.0
Manage your local Ocean Navigator installation.
dialogthreddslogs.h
1 #ifndef DIALOGTHREDDSLOGS_H
2 #define DIALOGTHREDDSLOGS_H
3 
4 #include <QDialog>
5 #include <QTimer>
6 
7 /***********************************************************************************/
8 // Forward declarations
9 namespace Ui {
10 class DialogTHREDDSLogs;
11 }
12 
13 /***********************************************************************************/
15 class DialogTHREDDSLogs : public QDialog {
16  Q_OBJECT
17 
18 public:
19  DialogTHREDDSLogs(const QString& threddsLogFolder, QWidget* parent = nullptr);
21 
22 private slots:
23  void on_pushButtonOpenLogFolder_clicked();
24 
25  void on_comboBoxLogFiles_currentIndexChanged(const QString& arg1);
26 
27  void on_pushButtonReloadLogFile_clicked();
28 
29 private:
31  void loadLogFile(const QString& filename);
32 
33  Ui::DialogTHREDDSLogs* m_ui{nullptr};
34 
35  QTimer m_reloadLogFileTimer{this};
36 
37  const QString m_logFolder;
38 };
39 
40 #endif // DIALOGTHREDDSLOGS_H
Dialog window to view THREDDS log files.
Definition: dialogthreddslogs.h:15
Definition: dialogdatasetview.h:16
const QString m_logFolder
Folder containing THREDDS log files.
Definition: dialogthreddslogs.h:37