Logo Search packages:      
Sourcecode: caret version File versions  Download package

void GuiDisplayControlDialog::applySelected (  )  [private, slot]

called when return is pressed in a line edit and by other methods to update graphics

Called when return is pressed in a line edit and by other methods to update graphics.

Definition at line 15737 of file GuiDisplayControlDialog.cxx.

References pageComboBox, pageComboBoxItems, readArealEstimationSelections(), readBorderColorPage(), readBorderMainPage(), readBorderNamePage(), readCellClassPage(), readCellColorPage(), readCellMainPage(), readCocomacDisplayPage(), readContourClassPage(), readContourColorPage(), readContourMainPage(), readDeformationFieldPage(), readFociClassPage(), readFociColorPage(), readFociKeywordPage(), readFociMainPage(), readFociNamePage(), readFociSearchPage(), readFociTablePage(), readGeodesicSelections(), readImagesSelections(), readLatLonSelections(), readMetricMiscellaneousPage(), readMetricSelectionPage(), readMetricSettingsPage(), readMiscSelections(), readModelMainPage(), readModelSettingsPage(), readPaintColumnSelections(), readPaintMainPageSelections(), readPaintNameSelections(), readProbAtlasSurfaceAreaPage(), readProbAtlasSurfaceChannelPage(), readProbAtlasSurfaceMainPage(), readProbAtlasVolumeAreaPage(), readProbAtlasVolumeChannelPage(), readProbAtlasVolumeMainPage(), readRegionSelections(), readRgbPaintPageMain(), readRgbPaintPageSelection(), readSectionMainPage(), readShapeSelections(), readShapeSettings(), readSurfaceAndVolumeSelections(), readSurfaceClippingPage(), readTopographySelections(), readVectorSelectionPage(), readVectorSettingsPage(), readVolumeSelections(), readVolumeSettings(), readVolumeSurfaceOutline(), sceneListBox, and slotSceneListBox().

Referenced by GuiDisplayControlDialog().

{ 
   PAGE_NAME currentPageName = PAGE_NAME_INVALID;
   if (pageComboBoxItems.empty() == false) {
      const int item = pageComboBox->currentIndex();
      if ((item >= 0) && (item < static_cast<int>(pageComboBoxItems.size()))) {
         currentPageName = pageComboBoxItems[item];
      }
   }
   
   switch (currentPageName) {
      case PAGE_NAME_SURFACE_OVERLAY_UNDERLAY_NEW:
         break;
      case PAGE_NAME_AREAL_ESTIMATION:
         readArealEstimationSelections();
         break;
      case PAGE_NAME_BORDER_MAIN:
         readBorderMainPage();
         break;
      case PAGE_NAME_BORDER_COLOR:
         readBorderColorPage();
         break;
      case PAGE_NAME_BORDER_NAME:
         readBorderNamePage();
         break;
      case PAGE_NAME_CELL_MAIN:
         readCellMainPage();
         break;
      case PAGE_NAME_CELL_CLASS:
         readCellClassPage();
         break;
      case PAGE_NAME_CELL_COLOR:
         readCellColorPage();
         break;
      case PAGE_NAME_COCOMAC_DISPLAY:
         readCocomacDisplayPage();
         break;
      case PAGE_NAME_COCOMAC_INFORMATION:
         // nothing to read
         break;
      case PAGE_NAME_CONTOUR_MAIN:
         readContourMainPage();
         break;
      case PAGE_NAME_CONTOUR_CLASS:
         readContourClassPage();
         break;
      case PAGE_NAME_CONTOUR_COLOR:
         readContourColorPage();
         break;
      case PAGE_NAME_DEFORMATION_FIELD:
         readDeformationFieldPage();
         break;
      case PAGE_NAME_FOCI_MAIN:
         readFociMainPage();
         break;
      case PAGE_NAME_FOCI_CLASS:
         readFociClassPage();
         break;
      case PAGE_NAME_FOCI_COLOR:
         readFociColorPage();
         break;
      case PAGE_NAME_FOCI_KEYWORD:
         readFociKeywordPage();
         break;
      case PAGE_NAME_FOCI_NAME:
         readFociNamePage();
         break;
      case PAGE_NAME_FOCI_SEARCH:
         readFociSearchPage();
         break;
      case PAGE_NAME_FOCI_TABLE:
         readFociTablePage();
         break;
      case PAGE_NAME_GEODESIC:
         readGeodesicSelections();
         break;
      case PAGE_NAME_IMAGES:
         readImagesSelections();
         break;
      case PAGE_NAME_LATLON:
         readLatLonSelections();
         break;
      case PAGE_NAME_METRIC_MISCELLANEOUS:
         readMetricMiscellaneousPage();
         break;
      case PAGE_NAME_METRIC_SELECTION:
         readMetricSelectionPage();
         break;
      case PAGE_NAME_METRIC_SETTINGS:
         readMetricSettingsPage();
         break;
      case PAGE_NAME_MODELS_MAIN:
         readModelMainPage();
         break;
      case PAGE_NAME_MODELS_SETTINGS:
         readModelSettingsPage();
         break;
      case PAGE_NAME_SHAPE_SELECTION:
         readShapeSelections();
         break;
      case PAGE_NAME_SHAPE_SETTINGS:
         readShapeSettings();
         break;
      case PAGE_NAME_PAINT_COLUMN:
         readPaintColumnSelections();
         break;
      case PAGE_NAME_PAINT_MAIN:
         readPaintMainPageSelections();
         break;
      case PAGE_NAME_PAINT_NAMES:
         readPaintNameSelections();
         break;
      case PAGE_NAME_SECTION_MAIN:
         readSectionMainPage();
         break;
      case PAGE_NAME_SURFACE_AND_VOLUME:
         readSurfaceAndVolumeSelections();
         break;
      case PAGE_NAME_SURFACE_CLIPPING:
         readSurfaceClippingPage();
         break;
      case PAGE_NAME_SURFACE_MISC:
         readMiscSelections();
         break;
      case PAGE_NAME_PROB_ATLAS_SURFACE_MAIN:
         readProbAtlasSurfaceMainPage();
         break;
      case PAGE_NAME_PROB_ATLAS_SURFACE_AREA:
         readProbAtlasSurfaceAreaPage();
         break;
      case PAGE_NAME_PROB_ATLAS_SURFACE_CHANNEL:
         readProbAtlasSurfaceChannelPage();
         break;
      case PAGE_NAME_PROB_ATLAS_VOLUME_MAIN:
         readProbAtlasVolumeMainPage();
         break;
      case PAGE_NAME_PROB_ATLAS_VOLUME_AREA:
         readProbAtlasVolumeAreaPage();
         break;
      case PAGE_NAME_PROB_ATLAS_VOLUME_CHANNEL:
         readProbAtlasVolumeChannelPage();
         break;
      case PAGE_NAME_REGION:
         readRegionSelections();
         break;
      case PAGE_NAME_RGB_PAINT_MAIN:
         readRgbPaintPageMain();
         break;
      case PAGE_NAME_RGB_PAINT_SELECTION:
         readRgbPaintPageSelection();
         break;
      case PAGE_NAME_SCENE:
         slotSceneListBox(sceneListBox->currentRow());
         break;
      case PAGE_NAME_TOPOGRAPHY:
         readTopographySelections();
         break;
      case PAGE_NAME_VECTOR_SELECTION:
         readVectorSelectionPage();
         break;
      case PAGE_NAME_VECTOR_SETTINGS:
         readVectorSettingsPage();
         break;
      case PAGE_NAME_VOLUME_SELECTION:
         readVolumeSelections();
         break;
      case PAGE_NAME_VOLUME_SETTINGS:
         readVolumeSettings();
         break;
      case PAGE_NAME_VOLUME_SURFACE_OUTLINE:
         readVolumeSurfaceOutline();
         break;
      case PAGE_NAME_INVALID:
         break;
   }
   
}


Generated by  Doxygen 1.6.0   Back to index