![]() |
Navigator2Go
2.0
Manage your local Ocean Navigator installation.
|
Dialog window to show dataset attributes (THREDDS URL, variables, etc). More...
#include <dialogdatasetview.h>


Public Member Functions | |
| DialogDatasetView (QWidget *parent=nullptr) | |
| void | SetData (const QString &datasetKey, const QJsonObject &object) |
| Parse data from loaded config file. | |
| void | SetData (const QJsonObject &datasetObj, QNetworkAccessManager &nam) |
| Queries the remove server for dataset attributes. | |
| void | SetData (const DataDownloadDesc &data) |
| Fill the UI elements from attributes in DataDownloadDesc. | |
| NODISCARD std::pair< QString, QJsonObject > | GetData () const |
| Serializes values from the UI into a JSON object. More... | |
| NODISCARD DataDownloadDesc | GetDownloadData () const |
| Constructs a DataDownloadDesc from values in UI fields. | |
Private Member Functions | |
| int | addEmptyVariable () |
| Adds a new variable row with empty values. Returns new row index. | |
| void | checkInputEmpty (const QString &inputLabel, const QString &inputText) |
| void | setReadOnlyUI () |
Private Attributes | |
| Ui::DatasetView * | m_ui {nullptr} |
| HTMLHighlighter * | m_highlighter {nullptr} |
| QHash< QString, QString > | m_variableMap |
Dialog window to show dataset attributes (THREDDS URL, variables, etc).
| std::pair< QString, QJsonObject > DialogDatasetView::GetData | ( | ) | const |
Serializes values from the UI into a JSON object.
Returns the dataset key, and JSON object.