#include <glacieridchooserdlg.h>
The items in the list can be selected and edited.
Definition at line 36 of file glacieridchooserdlg.h.
Public Slots | |
void | setCurLines () |
Assign the selected GID to all selected lines. | |
void | loadList () |
Fill the list view with available GIDs. | |
void | setSelectedGID () |
Event handler for GID selection change. | |
Signals | |
void | repaintViews () |
Signal Views to be refreshed. | |
Public Member Functions | |
GlacierIDChooserDlg (GLIMSGIDData &giddata, GLIMSLineData &linedata) | |
This initializes the list of available glacier ids and builds the interface. | |
~GlacierIDChooserDlg () | |
Protected Attributes | |
QListView * | mListView |
GLIMSLineData & | mLineData |
GLIMSGIDData & | mGIDData |
int | mSelectedGID |
GlacierIDChooserDlg::GlacierIDChooserDlg | ( | GLIMSGIDData & | giddata, | |
GLIMSLineData & | linedata | |||
) |
This initializes the list of available glacier ids and builds the interface.
Definition at line 4 of file glacieridchooserdlg.cpp.
References loadList(), mListView, mSelectedGID, setCurLines(), and setSelectedGID().
GlacierIDChooserDlg::~GlacierIDChooserDlg | ( | ) |
Definition at line 67 of file glacieridchooserdlg.cpp.
void GlacierIDChooserDlg::setCurLines | ( | ) | [slot] |
Assign the selected GID to all selected lines.
Definition at line 71 of file glacieridchooserdlg.cpp.
References VectorData::getSelSet(), mLineData, mSelectedGID, GLIMSLineData::setGID(), and SelectionSet::size().
Referenced by GlacierIDChooserDlg().
void GlacierIDChooserDlg::loadList | ( | ) | [slot] |
Fill the list view with available GIDs.
Definition at line 83 of file glacieridchooserdlg.cpp.
References GLIMSGIDData::getDefSet(), mGIDData, mListView, GlacierIDDef::mLocalID, GlacierIDDef::mName, GlacierIDDef::mParentID, GlacierIDDef::mWGMSID, and GlacierIDDef::toString().
Referenced by GlacierConfigDlg::glacierIDChooser(), and GlacierIDChooserDlg().
void GlacierIDChooserDlg::setSelectedGID | ( | ) | [slot] |
Event handler for GID selection change.
Definition at line 105 of file glacieridchooserdlg.cpp.
References mLineData, mListView, mSelectedGID, repaintViews(), and GLIMSLineData::setDefGID().
Referenced by GlacierIDChooserDlg().
void GlacierIDChooserDlg::repaintViews | ( | ) | [signal] |
QListView* GlacierIDChooserDlg::mListView [protected] |
Definition at line 39 of file glacieridchooserdlg.h.
Referenced by GlacierIDChooserDlg(), loadList(), and setSelectedGID().
GLIMSLineData& GlacierIDChooserDlg::mLineData [protected] |
Definition at line 40 of file glacieridchooserdlg.h.
Referenced by setCurLines(), and setSelectedGID().
GLIMSGIDData& GlacierIDChooserDlg::mGIDData [protected] |
int GlacierIDChooserDlg::mSelectedGID [protected] |
Definition at line 43 of file glacieridchooserdlg.h.
Referenced by GlacierIDChooserDlg(), setCurLines(), and setSelectedGID().
Home |
Search |
Disclaimers & Privacy |
Contact Us GLIMSView Maintainer: dsoltesz@usgs.gov |