#include <imageinfdlg.h>
This needs improvement to allow more access to the fields within ImageInf. Currently, only aqusition date/time is editable. But this is also the only field in the images.shp file that is not able to be null in the GLIMS database.
Definition at line 58 of file imageinfdlg.h.
Public Slots | |
void | aquchanged (const QString &) |
Image aquisition date/time changed. | |
void | aquCompleted () |
Image aquisition date/time completed. | |
void | fnchanged (const QString &str) |
Image filename changed. | |
void | instIdChanged (const QString &str) |
Image ID changed. | |
void | origIdChanged (const QString &str) |
Origin ID changed. | |
void | cLatChanged (const QString &str) |
Center latitude changed. | |
void | cLonChanged (const QString &str) |
Center longitude changed. | |
void | cLatUncChanged (const QString &str) |
Center latitude uncertainty changed. | |
void | cLonUncChanged (const QString &str) |
Center longitude uncertainty changed. | |
void | imgAzChanged (const QString &str) |
Image azimuth changed. | |
void | cloudPctChanged (const QString &str) |
Percentage cloud cover changed. | |
void | sunAzChanged (const QString &str) |
Sun azimuth changed. | |
void | sunElevChanged (const QString &str) |
Sun elevation changed. | |
void | instAzChanged (const QString &str) |
Instrument azimuth changed. | |
void | instZenChanged (const QString &str) |
Instrument zenith changed. | |
void | projChanged (const QString &str) |
Image projection information changed. | |
Public Member Functions | |
ImageInfDlg (ImageInf &) | |
void | loadData () |
string | getAquiDate () |
Protected Member Functions | |
bool | validIso8601DateTime (QString &str) |
Do the characters in the input string represent a complete and valid ISO 8601 date/time string? This function does not do a very stringent test, just simply checks that there are the correct range of characters in each slot and there's a sufficient number of digits to create a valid date/time string. | |
Protected Attributes | |
ImageInf & | mImgInf |
QLineEdit * | fne |
image filename (or image location) | |
QLineEdit * | le |
image acquisition date/time | |
QLineEdit * | instID |
instrument identifier | |
QLineEdit * | origID |
origin identifier | |
QLineEdit * | cLat |
center latitude | |
QLineEdit * | cLon |
center longitude | |
QLineEdit * | cLatUnc |
center latitude UNC (?) | |
QLineEdit * | cLonUnc |
center longitude UNC (?) | |
QLineEdit * | imgAz |
image azimuth | |
QLineEdit * | cloudPct |
percentage cloud cover | |
QLineEdit * | sunAz |
sun azimuth | |
QLineEdit * | sunElev |
sun elevation | |
QLineEdit * | instAz |
instrument azimuth | |
QLineEdit * | instZen |
instrument zenith | |
QLineEdit * | proj |
projection | |
QPushButton * | checkLe |
validates date/time stamp |
ImageInfDlg::ImageInfDlg | ( | ImageInf & | imginf | ) |
< Reusable QHbox
Definition at line 6 of file imageinfdlg.cpp.
References aquchanged(), aquCompleted(), checkLe, cLat, cLatChanged(), cLatUnc, cLatUncChanged(), cLon, cLonChanged(), cLonUnc, cLonUncChanged(), cloudPct, cloudPctChanged(), fnchanged(), fne, imgAz, imgAzChanged(), instAz, instAzChanged(), instID, instIdChanged(), instZen, instZenChanged(), le, ImageInf::mAquiDateTime, ImageInf::mCenterLat, ImageInf::mCenterLatUnc, ImageInf::mCenterLon, ImageInf::mCenterLonUnc, ImageInf::mCloudPct, ImageInf::mImageAzim, mImgInf, ImageInf::mInstID, ImageInf::mInstrument_azimuth, ImageInf::mInstrument_zenith, ImageInf::mLocURL, ImageInf::mOrigID, ImageInf::mProjection, ImageInf::mSunAzim, ImageInf::mSunElev, origID, origIdChanged(), proj, projChanged(), sunAz, sunAzChanged(), sunElev, and sunElevChanged().
bool ImageInfDlg::validIso8601DateTime | ( | QString & | str | ) | [protected] |
Do the characters in the input string represent a complete and valid ISO 8601 date/time string? This function does not do a very stringent test, just simply checks that there are the correct range of characters in each slot and there's a sufficient number of digits to create a valid date/time string.
See http://www.w3.org/TR/NOTE-datetime
Definition at line 407 of file imageinfdlg.cpp.
References mImgInf, and ImageInf::validIso8601DateTime().
Referenced by aquCompleted().
void ImageInfDlg::loadData | ( | ) |
Definition at line 333 of file imageinfdlg.cpp.
References cLat, cLatUnc, cLon, cLonUnc, cloudPct, fne, imgAz, instAz, instID, instZen, le, ImageInf::mAquiDateTime, ImageInf::mCenterLat, ImageInf::mCenterLatUnc, ImageInf::mCenterLon, ImageInf::mCenterLonUnc, ImageInf::mCloudPct, ImageInf::mImageAzim, mImgInf, ImageInf::mInstID, ImageInf::mInstrument_azimuth, ImageInf::mInstrument_zenith, ImageInf::mLocURL, ImageInf::mOrigID, ImageInf::mProjection, ImageInf::mSunAzim, ImageInf::mSunElev, origID, proj, sunAz, and sunElev.
Referenced by ConfigDlg::resetAll().
string ImageInfDlg::getAquiDate | ( | ) | [inline] |
void ImageInfDlg::aquchanged | ( | const QString & | str | ) | [slot] |
Image aquisition date/time changed.
Definition at line 240 of file imageinfdlg.cpp.
References ImageInf::mAquiDateTime, and mImgInf.
Referenced by ImageInfDlg().
void ImageInfDlg::aquCompleted | ( | ) | [slot] |
Image aquisition date/time completed.
Definition at line 386 of file imageinfdlg.cpp.
References le, and validIso8601DateTime().
Referenced by ImageInfDlg().
void ImageInfDlg::fnchanged | ( | const QString & | str | ) | [slot] |
Image filename changed.
Definition at line 251 of file imageinfdlg.cpp.
References mImgInf, and ImageInf::mLocURL.
Referenced by ImageInfDlg().
void ImageInfDlg::instIdChanged | ( | const QString & | str | ) | [slot] |
Image ID changed.
Definition at line 265 of file imageinfdlg.cpp.
References mImgInf, and ImageInf::mInstID.
Referenced by ImageInfDlg().
void ImageInfDlg::origIdChanged | ( | const QString & | str | ) | [slot] |
Origin ID changed.
Definition at line 270 of file imageinfdlg.cpp.
References mImgInf, and ImageInf::mOrigID.
Referenced by ImageInfDlg().
void ImageInfDlg::cLatChanged | ( | const QString & | str | ) | [slot] |
Center latitude changed.
Definition at line 275 of file imageinfdlg.cpp.
References ImageInf::mCenterLat, and mImgInf.
Referenced by ImageInfDlg().
void ImageInfDlg::cLonChanged | ( | const QString & | str | ) | [slot] |
Center longitude changed.
Definition at line 280 of file imageinfdlg.cpp.
References ImageInf::mCenterLon, and mImgInf.
Referenced by ImageInfDlg().
void ImageInfDlg::cLatUncChanged | ( | const QString & | str | ) | [slot] |
Center latitude uncertainty changed.
Definition at line 285 of file imageinfdlg.cpp.
References ImageInf::mCenterLatUnc, and mImgInf.
Referenced by ImageInfDlg().
void ImageInfDlg::cLonUncChanged | ( | const QString & | str | ) | [slot] |
Center longitude uncertainty changed.
Definition at line 290 of file imageinfdlg.cpp.
References ImageInf::mCenterLonUnc, and mImgInf.
Referenced by ImageInfDlg().
void ImageInfDlg::imgAzChanged | ( | const QString & | str | ) | [slot] |
Image azimuth changed.
Definition at line 295 of file imageinfdlg.cpp.
References ImageInf::mImageAzim, and mImgInf.
Referenced by ImageInfDlg().
void ImageInfDlg::cloudPctChanged | ( | const QString & | str | ) | [slot] |
Percentage cloud cover changed.
Definition at line 300 of file imageinfdlg.cpp.
References ImageInf::mCloudPct, and mImgInf.
Referenced by ImageInfDlg().
void ImageInfDlg::sunAzChanged | ( | const QString & | str | ) | [slot] |
Sun azimuth changed.
Definition at line 305 of file imageinfdlg.cpp.
References mImgInf, and ImageInf::mSunAzim.
Referenced by ImageInfDlg().
void ImageInfDlg::sunElevChanged | ( | const QString & | str | ) | [slot] |
Sun elevation changed.
Definition at line 310 of file imageinfdlg.cpp.
References mImgInf, and ImageInf::mSunElev.
Referenced by ImageInfDlg().
void ImageInfDlg::instAzChanged | ( | const QString & | str | ) | [slot] |
Instrument azimuth changed.
Definition at line 315 of file imageinfdlg.cpp.
References mImgInf, and ImageInf::mInstrument_azimuth.
Referenced by ImageInfDlg().
void ImageInfDlg::instZenChanged | ( | const QString & | str | ) | [slot] |
Instrument zenith changed.
Definition at line 320 of file imageinfdlg.cpp.
References mImgInf, and ImageInf::mInstrument_zenith.
Referenced by ImageInfDlg().
void ImageInfDlg::projChanged | ( | const QString & | str | ) | [slot] |
Image projection information changed.
Definition at line 325 of file imageinfdlg.cpp.
References mImgInf, and ImageInf::mProjection.
Referenced by ImageInfDlg().
ImageInf& ImageInfDlg::mImgInf [protected] |
Definition at line 62 of file imageinfdlg.h.
Referenced by aquchanged(), cLatChanged(), cLatUncChanged(), cLonChanged(), cLonUncChanged(), cloudPctChanged(), fnchanged(), getAquiDate(), ImageInfDlg(), imgAzChanged(), instAzChanged(), instIdChanged(), instZenChanged(), loadData(), origIdChanged(), projChanged(), sunAzChanged(), sunElevChanged(), and validIso8601DateTime().
QLineEdit* ImageInfDlg::fne [protected] |
image filename (or image location)
Definition at line 64 of file imageinfdlg.h.
Referenced by ImageInfDlg(), and loadData().
QLineEdit* ImageInfDlg::le [protected] |
image acquisition date/time
Definition at line 65 of file imageinfdlg.h.
Referenced by aquCompleted(), ImageInfDlg(), and loadData().
QLineEdit* ImageInfDlg::instID [protected] |
instrument identifier
Definition at line 67 of file imageinfdlg.h.
Referenced by ImageInfDlg(), and loadData().
QLineEdit* ImageInfDlg::origID [protected] |
origin identifier
Definition at line 68 of file imageinfdlg.h.
Referenced by ImageInfDlg(), and loadData().
QLineEdit* ImageInfDlg::cLat [protected] |
center latitude
Definition at line 69 of file imageinfdlg.h.
Referenced by ImageInfDlg(), and loadData().
QLineEdit* ImageInfDlg::cLon [protected] |
center longitude
Definition at line 70 of file imageinfdlg.h.
Referenced by ImageInfDlg(), and loadData().
QLineEdit* ImageInfDlg::cLatUnc [protected] |
center latitude UNC (?)
Definition at line 71 of file imageinfdlg.h.
Referenced by ImageInfDlg(), and loadData().
QLineEdit* ImageInfDlg::cLonUnc [protected] |
center longitude UNC (?)
Definition at line 72 of file imageinfdlg.h.
Referenced by ImageInfDlg(), and loadData().
QLineEdit* ImageInfDlg::imgAz [protected] |
image azimuth
Definition at line 73 of file imageinfdlg.h.
Referenced by ImageInfDlg(), and loadData().
QLineEdit* ImageInfDlg::cloudPct [protected] |
percentage cloud cover
Definition at line 74 of file imageinfdlg.h.
Referenced by ImageInfDlg(), and loadData().
QLineEdit* ImageInfDlg::sunAz [protected] |
sun azimuth
Definition at line 75 of file imageinfdlg.h.
Referenced by ImageInfDlg(), and loadData().
QLineEdit* ImageInfDlg::sunElev [protected] |
sun elevation
Definition at line 76 of file imageinfdlg.h.
Referenced by ImageInfDlg(), and loadData().
QLineEdit* ImageInfDlg::instAz [protected] |
instrument azimuth
Definition at line 77 of file imageinfdlg.h.
Referenced by ImageInfDlg(), and loadData().
QLineEdit* ImageInfDlg::instZen [protected] |
instrument zenith
Definition at line 78 of file imageinfdlg.h.
Referenced by ImageInfDlg(), and loadData().
QLineEdit* ImageInfDlg::proj [protected] |
projection
Definition at line 79 of file imageinfdlg.h.
Referenced by ImageInfDlg(), and loadData().
QPushButton* ImageInfDlg::checkLe [protected] |
Home |
Search |
Disclaimers & Privacy |
Contact Us GLIMSView Maintainer: dsoltesz@usgs.gov |