#include <linedefdlg.h>
Definition at line 29 of file linedefdlg.h.
Public Slots | |
void | butOkPress () |
Handles the clicked() event by the OK button. | |
void | butCancelPress () |
Handles the clicked() event by the CANCEL button. | |
Public Member Functions | |
LineDefDlg (GLIMSLineData &linedata, int ildf=-1) | |
Loads the dialog with a form to allow the user to assign attributes to a LDF. | |
Protected Member Functions | |
void | loadValids () |
Fills the form's combo boxes with valid values. | |
void | setSelected () |
Fills the form with attibutes from the selected LDF when editing. | |
Protected Attributes | |
GLIMSLineData & | mLineData |
bool | mEditing |
QComboBox * | cmbGlacType |
QComboBox * | cmbSegType |
QComboBox * | cmbSegLabel |
QComboBox * | cmbLMat |
QComboBox * | cmbRMat |
QComboBox * | cmbRFtr |
QComboBox * | cmbLFtr |
QComboBox * | cmbColor |
QComboBox * | cmbStyle |
QComboBox * | cmbWidth |
QLineEdit * | txtLXUncert |
QLineEdit * | txtLYUncert |
QLineEdit * | txtGXUncert |
QLineEdit * | txtGYUncert |
int | miLDF |
LineDefDlg::LineDefDlg | ( | GLIMSLineData & | linedata, | |
int | ildf = -1 | |||
) |
Loads the dialog with a form to allow the user to assign attributes to a LDF.
If 'editing' the form will be filled with the LDF the user has selected in the LineConfigDlg that opened this.
linedata | New line data to add to mLinedata | |
ildf | New value for miLDF |
Definition at line 3 of file linedefdlg.cpp.
References butCancelPress(), butOkPress(), cmbColor, cmbGlacType, cmbLFtr, cmbLMat, cmbRFtr, cmbRMat, cmbSegLabel, cmbSegType, cmbStyle, cmbWidth, loadValids(), miLDF, setSelected(), txtGXUncert, txtGYUncert, txtLXUncert, and txtLYUncert.
void LineDefDlg::loadValids | ( | ) | [protected] |
Fills the form's combo boxes with valid values.
Definition at line 167 of file linedefdlg.cpp.
References GLIMSGlobals::AVAILCOLORSTR, cmbColor, cmbGlacType, cmbLFtr, cmbLMat, cmbRFtr, cmbRMat, cmbSegLabel, cmbSegType, cmbStyle, cmbWidth, GLIMSGlobals::mGlbFtrs, GLIMSGlobals::mGlbGlacTypes, GLIMSGlobals::mGlbLbls, GLIMSGlobals::mGlbMDF, and GLIMSGlobals::mGlbTypes.
Referenced by LineDefDlg().
void LineDefDlg::setSelected | ( | ) | [protected] |
Fills the form with attibutes from the selected LDF when editing.
Definition at line 203 of file linedefdlg.cpp.
References cmbColor, cmbGlacType, cmbLFtr, cmbLMat, cmbRFtr, cmbRMat, cmbSegLabel, cmbSegType, cmbStyle, cmbWidth, GLIMSLineData::getLDFSet(), LineDef::mColor, LineDef::mGlacType, LineDef::mGXUncert, LineDef::mGYUncert, miLDF, LineDef::mLabel, LineDef::mLFeature, mLineData, LineDef::mLMat, LineDef::mLXUncert, LineDef::mLYUncert, LineDef::mRFeature, LineDef::mRMat, LineDef::mStyle, LineDef::mType, LineDef::mWidth, txtGXUncert, txtGYUncert, txtLXUncert, and txtLYUncert.
Referenced by LineDefDlg().
void LineDefDlg::butOkPress | ( | ) | [slot] |
Handles the clicked() event by the OK button.
Creates a new LDF and adds it to the list. If editing, the selected LDF will be assigned this new LDF.
Definition at line 134 of file linedefdlg.cpp.
References LineDefSet::add(), cmbColor, cmbGlacType, cmbLFtr, cmbLMat, cmbRFtr, cmbRMat, cmbSegLabel, cmbSegType, cmbStyle, cmbWidth, GLIMSLineData::getLDFSet(), LineDef::mColor, LineDef::mGlacType, LineDef::mGXUncert, LineDef::mGYUncert, miLDF, LineDef::mLabel, LineDef::mLFeature, mLineData, LineDef::mLMat, LineDef::mLXUncert, LineDef::mLYUncert, LineDef::mRFeature, LineDef::mRMat, LineDef::mStyle, LineDef::mType, LineDef::mWidth, txtGXUncert, txtGYUncert, txtLXUncert, and txtLYUncert.
Referenced by LineDefDlg().
void LineDefDlg::butCancelPress | ( | ) | [slot] |
Handles the clicked() event by the CANCEL button.
The action taken is to close the dialog box.
Definition at line 161 of file linedefdlg.cpp.
Referenced by LineDefDlg().
GLIMSLineData& LineDefDlg::mLineData [protected] |
bool LineDefDlg::mEditing [protected] |
Definition at line 33 of file linedefdlg.h.
QComboBox* LineDefDlg::cmbGlacType [protected] |
Definition at line 35 of file linedefdlg.h.
Referenced by butOkPress(), LineDefDlg(), loadValids(), and setSelected().
QComboBox* LineDefDlg::cmbSegType [protected] |
Definition at line 36 of file linedefdlg.h.
Referenced by butOkPress(), LineDefDlg(), loadValids(), and setSelected().
QComboBox* LineDefDlg::cmbSegLabel [protected] |
Definition at line 37 of file linedefdlg.h.
Referenced by butOkPress(), LineDefDlg(), loadValids(), and setSelected().
QComboBox* LineDefDlg::cmbLMat [protected] |
Definition at line 38 of file linedefdlg.h.
Referenced by butOkPress(), LineDefDlg(), loadValids(), and setSelected().
QComboBox* LineDefDlg::cmbRMat [protected] |
Definition at line 39 of file linedefdlg.h.
Referenced by butOkPress(), LineDefDlg(), loadValids(), and setSelected().
QComboBox* LineDefDlg::cmbRFtr [protected] |
Definition at line 40 of file linedefdlg.h.
Referenced by butOkPress(), LineDefDlg(), loadValids(), and setSelected().
QComboBox* LineDefDlg::cmbLFtr [protected] |
Definition at line 41 of file linedefdlg.h.
Referenced by butOkPress(), LineDefDlg(), loadValids(), and setSelected().
QComboBox* LineDefDlg::cmbColor [protected] |
Definition at line 42 of file linedefdlg.h.
Referenced by butOkPress(), LineDefDlg(), loadValids(), and setSelected().
QComboBox* LineDefDlg::cmbStyle [protected] |
Definition at line 43 of file linedefdlg.h.
Referenced by butOkPress(), LineDefDlg(), loadValids(), and setSelected().
QComboBox* LineDefDlg::cmbWidth [protected] |
Definition at line 44 of file linedefdlg.h.
Referenced by butOkPress(), LineDefDlg(), loadValids(), and setSelected().
QLineEdit* LineDefDlg::txtLXUncert [protected] |
Definition at line 46 of file linedefdlg.h.
Referenced by butOkPress(), LineDefDlg(), and setSelected().
QLineEdit* LineDefDlg::txtLYUncert [protected] |
Definition at line 47 of file linedefdlg.h.
Referenced by butOkPress(), LineDefDlg(), and setSelected().
QLineEdit* LineDefDlg::txtGXUncert [protected] |
Definition at line 48 of file linedefdlg.h.
Referenced by butOkPress(), LineDefDlg(), and setSelected().
QLineEdit* LineDefDlg::txtGYUncert [protected] |
Definition at line 49 of file linedefdlg.h.
Referenced by butOkPress(), LineDefDlg(), and setSelected().
int LineDefDlg::miLDF [protected] |
Definition at line 51 of file linedefdlg.h.
Referenced by butOkPress(), LineDefDlg(), and setSelected().
Home |
Search |
Disclaimers & Privacy |
Contact Us GLIMSView Maintainer: dsoltesz@usgs.gov |