Navigator2Go  2.0
Manage your local Ocean Navigator installation.
dialogselectvars.h
1 #ifndef DIALOGSELECTVARS_H
2 #define DIALOGSELECTVARS_H
3 
4 #include "nodiscard.h"
5 
6 #include <QDialog>
7 
8 #include <netcdf4/ncFile.h>
9 
10 /***********************************************************************************/
11 // Forward declarations
12 namespace Ui {
13 class DialogSelectVars;
14 }
15 
16 /***********************************************************************************/
18 
19 class DialogSelectVars : public QDialog {
20  Q_OBJECT
21 
22 public:
23  DialogSelectVars(const netCDF::NcFile& ds, QWidget* parent = nullptr);
25 
27  NODISCARD QStringList GetSelectedVars() const;
28 
29 private slots:
30  void on_tableWidget_cellClicked(int row, int column);
31 
32 private:
33  Ui::DialogSelectVars* m_ui{nullptr};
34 };
35 
36 #endif // DIALOGSELECTVARS_H
Dialog window to select variables to add to a dataset config file.
Definition: dialogselectvars.h:19
Definition: dialogdatasetview.h:16