#include <viewset.h>
This also provides a current list of the views names in the Window menu item.
Definition at line 22 of file viewset.h.
Public Slots | |
void | initViews () |
void | resetViews () |
void | repaintViews () |
void | redrawViews () |
void | popupView (ViewPopupAction *) |
Signals | |
void | viewSetChanged () |
Public Member Functions | |
ViewSet () | |
virtual | ~ViewSet () |
void | addView (View &) |
void | delView (int iview) |
unsigned int | size () |
View & | getView (int iview) |
void | setSelBox (Rect &selbox) |
View & | operator[] (int iview) |
void | setActGrp (QActionGroup *grp) |
void | setMenuParent (QWidget *p) |
void | setRSM (ImageFormat::ScaleType st) |
Protected Attributes | |
std::vector< View * > | mViewSet |
QActionGroup * | mMenuGroup |
QWidget * | mMenuParent |
void ViewSet::addView | ( | View & | view | ) |
Definition at line 5 of file viewset.cpp.
References View::getViewState(), mMenuGroup, mMenuParent, ViewState::mName, mViewSet, popupView(), and viewSetChanged().
Referenced by MainToolbar::buildDefaultViews(), and MainToolbar::fromXML().
void ViewSet::delView | ( | int | iview | ) |
unsigned int ViewSet::size | ( | ) |
Definition at line 34 of file viewset.cpp.
References mViewSet.
Referenced by MainToolbar::buildViews(), MainToolbar::fromXML(), MainToolbar::setupProj(), and MainToolbar::toXML().
View & ViewSet::getView | ( | int | iview | ) |
Definition at line 38 of file viewset.cpp.
References mViewSet.
Referenced by MainToolbar::buildViews(), and MainToolbar::setupProj().
void ViewSet::setSelBox | ( | Rect & | selbox | ) |
Definition at line 56 of file viewset.cpp.
References mViewSet.
Referenced by VectorEditor::viewMouseMove(), and VectorEditor::viewMouseRelease().
void ViewSet::setActGrp | ( | QActionGroup * | grp | ) | [inline] |
void ViewSet::setMenuParent | ( | QWidget * | p | ) | [inline] |
void ViewSet::setRSM | ( | ImageFormat::ScaleType | st | ) |
Definition at line 90 of file viewset.cpp.
References mViewSet.
Referenced by MainToolbar::buildDefaultViews(), MainToolbar::setBC(), MainToolbar::setBI(), and MainToolbar::setNN().
void ViewSet::initViews | ( | ) | [slot] |
Definition at line 71 of file viewset.cpp.
References mViewSet.
Referenced by MainToolbar::setupProj().
void ViewSet::resetViews | ( | ) | [slot] |
void ViewSet::repaintViews | ( | ) | [slot] |
Definition at line 48 of file viewset.cpp.
References mViewSet.
Referenced by VectorEditor::breakLine(), ImageCalculator::calculate(), VectorEditor::delSel(), GLIMSProject::importGIDsFromShapefile(), GLIMSProject::importGLIMSIngestData(), GLIMSProject::importSegmentsFromShapefile(), VectorEditor::joinLine(), MainToolbar::repaintViews(), VectorEditor::viewKeyPress(), VectorEditor::viewMouseMove(), VectorEditor::viewMousePress(), VectorEditor::viewMouseRelease(), and VectorEditor::viewSelChanged().
void ViewSet::redrawViews | ( | ) | [slot] |
void ViewSet::popupView | ( | ViewPopupAction * | act | ) | [slot] |
Definition at line 79 of file viewset.cpp.
References View::getViewState(), ViewState::mName, and mViewSet.
Referenced by addView().
std::vector<View*> ViewSet::mViewSet [protected] |
Definition at line 25 of file viewset.h.
Referenced by addView(), delView(), getView(), initViews(), popupView(), redrawViews(), repaintViews(), resetViews(), setRSM(), setSelBox(), and size().
QActionGroup* ViewSet::mMenuGroup [protected] |
QWidget* ViewSet::mMenuParent [protected] |
Home |
Search |
Disclaimers & Privacy |
Contact Us GLIMSView Maintainer: dsoltesz@usgs.gov |