Navigator2Go
2.0
Manage your local Ocean Navigator installation.
|
Data order widget in the Data Order tab. More...
#include <widgetdataorder.h>
Signals | |
void | refreshRequested () |
Signal emitted to MainWindow to refresh the Ocean Navigator servers and cache. | |
void | showStatusBarMessage (const char *message) |
Signal emitted to MainWindow to show a given message in the window status bar. | |
Public Member Functions | |
WidgetDataOrder (QWidget *parent, MainWindow *mainWindow, Preferences &prefs) | |
void | updateRemoteDatasetListWidget () |
void | setNAMOnline () |
void | setNAMOffline () |
Private Slots | |
void | on_pushButtonDownload_clicked () |
Download button callback. | |
void | on_listWidgetRemoteDatasets_itemDoubleClicked (QListWidgetItem *item) |
Remote dataset item double-clicked callback: Opens new window showing metadata. | |
void | on_listWidgetDownloadQueue_itemDoubleClicked (QListWidgetItem *item) |
Download queue item double-clicked callback: Removes item from queue. | |
void | on_pushButtonUpdateRemoteList_clicked () |
Update remote dataset widget button callback. | |
void | on_pushButtonDeleteSelected_clicked () |
Delete button callback: removes selected item(s) from download queue. | |
void | on_spinboxMinLat_valueChanged (double arg1) |
void | on_spinboxMinLon_valueChanged (double arg1) |
void | on_spinboxMaxLat_valueChanged (double arg1) |
void | on_spinboxMaxLon_valueChanged (double arg1) |
Private Member Functions | |
void | configureNetwork () |
Setup m_downloader callbacks, and network settings. | |
void | deleteQueueItem (QListWidgetItem *item) |
Remove item from download queue given corresponding UI widget. | |
Private Attributes | |
Ui::WidgetDataOrder * | m_ui {nullptr} |
Pointer to UI widgets. | |
MainWindow *const | m_mainWindow {nullptr} |
Ptr to parent MainWindow. | |
Preferences & | m_prefs |
Ref to preferences object in MainWindow. | |
QHash< QString, QJsonObject > | m_datasetsAPIResultCache |
Cache API results by dataset ID. | |
QHash< QString, DataDownloadDesc > | m_downloadQueue |
Download queue maps dataset ID to download description. | |
QNetworkAccessManager | m_networkAccessManager {this} |
QEasyDownloader | m_downloader {this, &m_networkAccessManager} |
Data order widget in the Data Order tab.