GLIMSView Source Code Documentation

ImageDlg Class Reference

#include <imagedlg.h>

Inheritance diagram for ImageDlg:

Inheritance graph
[legend]

List of all members.


Detailed Description

A user interface dialog that provides the user with choices that define the information needed to open an image with glimsview.

A combo box and associated check box are provided to allow the user to define a multi file image. For example, LSAT 7 GeoTIFF formats are a group of GeoTIFF files with a standardized naming convention. An individual GeoTIFF could be opened without defining it as a LSAT image, or all bands that fit the chosen files prefix will be loaded allowing multi band views, etc.

Definition at line 31 of file imagedlg.h.


Public Slots

void setImg ()
void create ()
void chkToggle (bool)

Public Member Functions

 ImageDlg (std::string &img, int &type)

Protected Member Functions

void buildDialog ()
void loadTypes ()

Protected Attributes

QLineEdit * mTxtImg
QCheckBox * mChkMulti
QComboBox * mCmbType
std::vector< std::string > mTypeSet
std::string & mImg
int & mType

Constructor & Destructor Documentation

ImageDlg::ImageDlg ( std::string &  img,
int &  type 
)

Definition at line 4 of file imagedlg.cpp.

References buildDialog(), Image::MFF_NAMES, mTypeSet, and Image::NUM_MFF.

Here is the call graph for this function:


Member Function Documentation

void ImageDlg::buildDialog (  )  [protected]

Definition at line 17 of file imagedlg.cpp.

References chkToggle(), create(), loadTypes(), mChkMulti, mCmbType, mTxtImg, and setImg().

Referenced by ImageDlg().

Here is the call graph for this function:

void ImageDlg::loadTypes (  )  [protected]

Definition at line 78 of file imagedlg.cpp.

References mCmbType, and mTypeSet.

Referenced by buildDialog().

void ImageDlg::setImg (  )  [slot]

Definition at line 57 of file imagedlg.cpp.

References mTxtImg.

Referenced by buildDialog().

void ImageDlg::create (  )  [slot]

Definition at line 64 of file imagedlg.cpp.

References mChkMulti, mCmbType, mImg, mTxtImg, and mType.

Referenced by buildDialog().

void ImageDlg::chkToggle ( bool  toggle  )  [slot]

Definition at line 74 of file imagedlg.cpp.

References mCmbType.

Referenced by buildDialog().


Member Data Documentation

QLineEdit* ImageDlg::mTxtImg [protected]

Definition at line 34 of file imagedlg.h.

Referenced by buildDialog(), create(), and setImg().

QCheckBox* ImageDlg::mChkMulti [protected]

Definition at line 35 of file imagedlg.h.

Referenced by buildDialog(), and create().

QComboBox* ImageDlg::mCmbType [protected]

Definition at line 36 of file imagedlg.h.

Referenced by buildDialog(), chkToggle(), create(), and loadTypes().

std::vector<std::string> ImageDlg::mTypeSet [protected]

Definition at line 37 of file imagedlg.h.

Referenced by ImageDlg(), and loadTypes().

std::string& ImageDlg::mImg [protected]

Definition at line 39 of file imagedlg.h.

Referenced by create().

int& ImageDlg::mType [protected]

Definition at line 40 of file imagedlg.h.

Referenced by create().


The documentation for this class was generated from the following files:

Home | Search | Disclaimers & Privacy | Contact Us
GLIMSView Maintainer: dsoltesz@usgs.gov