GLIMSView Source Code Documentation

VectorLayerDlg Class Reference

#include <VectorLayerDlg.h>

Inheritance diagram for VectorLayerDlg:

Inheritance graph
[legend]

List of all members.


Detailed Description

User interface for allowing users to view and manage vector layers.

Author:
Deborah Lee Soltesz
History:
2007-05-27 Deborah Lee Soltesz created

Definition at line 24 of file VectorLayerDlg.h.


Public Slots

void addLayer ()
void editLayer ()
void hideLayer ()
 hide layer
void setSelectedLayer ()
 Event handler for layer selection change.
void loadList ()
 Fill the list view with available layers.

Signals

void repaintViews ()
 Signal Views to be refreshed.

Public Member Functions

 VectorLayerDlg ()
 This initializes the list of available glacier IDs and builds the interface.
 ~VectorLayerDlg ()

Protected Member Functions

void keyPressEvent (QKeyEvent *e)
 Handle known key-press events.
void delSel (QKeyEvent *e)
 Delete selected glacier ID.

Protected Attributes

QListView * mListView
 list of Layers
int mSelectedLayer
 currently selected layer

Constructor & Destructor Documentation

VectorLayerDlg::VectorLayerDlg (  ) 

This initializes the list of available glacier IDs and builds the interface.

VectorLayerDlg::~VectorLayerDlg (  ) 


Member Function Documentation

void VectorLayerDlg::keyPressEvent ( QKeyEvent *  e  )  [protected]

Handle known key-press events.

For internal use only.

NOTE from Glacier ID Dlg regarding key event issues with ListView: In order to allow users to delete GIDs using the ListView, probably need to extend ListView so keyboard events can be dealt with... the dialog is not apparently processing keyevents on the ListView...

void VectorLayerDlg::delSel ( QKeyEvent *  e  )  [protected]

Delete selected glacier ID.

Tied to "delete" key press (not working).

void VectorLayerDlg::addLayer (  )  [slot]

void VectorLayerDlg::editLayer (  )  [slot]

void VectorLayerDlg::hideLayer (  )  [slot]

hide layer

void VectorLayerDlg::setSelectedLayer (  )  [slot]

Event handler for layer selection change.

void VectorLayerDlg::loadList (  )  [slot]

Fill the list view with available layers.

void VectorLayerDlg::repaintViews (  )  [signal]

Signal Views to be refreshed.


Member Data Documentation

QListView* VectorLayerDlg::mListView [protected]

list of Layers

Definition at line 28 of file VectorLayerDlg.h.

currently selected layer

Definition at line 29 of file VectorLayerDlg.h.


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

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