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

GuiDisplayControlDialog::GuiDisplayControlDialog ( QWidget *  parent  ) 

constructor

The Constructor

Definition at line 163 of file GuiDisplayControlDialog.cxx.

References WuQWidgetGroup::addWidget(), applySelected(), arealEstimationSelectionButtonGroup, arealEstimationSelectionGridLayout, borderColorButtonGroup, borderColorGridLayout, borderNameButtonGroup, borderNameGridLayout, cellClassButtonGroup, cellClassGridLayout, cellColorButtonGroup, cellColorGridLayout, WuQDialog::close(), contourCellClassButtonGroup, contourCellClassGridLayout, contourCellColorButtonGroup, contourCellColorGridLayout, creatingDialog, dataInfoDialog, dialogDefaultSize, fociClassButtonGroup, fociClassGridLayout, fociColorButtonGroup, fociColorGridLayout, fociSearchWidget, fociShowClassesOnlyForDisplayedFociCheckBox, fociShowColorsOnlyForDisplayedFociCheckBox, fociShowKeywordsOnlyForDisplayedFociCheckBox, fociShowNamesOnlyForDisplayedFociCheckBox, fociShowTablesOnlyForDisplayedFociCheckBox, geodesicSelectionGridLayout, DebugControl::getDebugOn(), GuiBrainModelOpenGL::getLineWidthRange(), GuiBrainModelOpenGL::getPointSizeRange(), latLonSelectionGridLayout, QtUtilities::makeButtonsSameSize(), maxLineSize, maxPointSize, metricApplySelectionToLeftAndRightStructuresFlagCheckBox, metricCommentButtonGroup, metricHistogramButtonGroup, metricMetaDataButtonGroup, metricSubPageSelectionsLayout, metricThresholdButtonGroup, metricViewButtonGroup, minLineSize, minPointSize, modelSelectionGridWidgetLayout, numberOfFociClassCheckBoxesShownInGUI, numberOfFociColorCheckBoxesShownInGUI, numberOfFociKeywordCheckBoxesShownInGUI, numberOfFociNameCheckBoxesShownInGUI, numberOfFociTableCheckBoxesShownInGUI, numValidBorderColors, numValidBorderNames, numValidCellClasses, numValidCellColors, numValidContourCellClasses, numValidContourCellColors, numValidMetrics, numValidModels, numValidProbAtlasSurfaceAreas, numValidProbAtlasSurfaceChannels, numValidProbAtlasVolumeAreas, numValidProbAtlasVolumeChannels, numValidSurfaceShape, overlayNumberComboBox, overlayNumberWidgetGroup, pageArealEstimation, pageBackToolButton, pageBorderColor, pageBorderMain, pageBorderName, pageCellsClass, pageCellsColor, pageCellsMain, pageCocomacDisplay, pageCocomacInformation, pageComboBox, pageComboBoxItems, pageComboBoxSelection(), pageContourClass, pageContourColor, pageContourMain, pageDeformationField, pageFociClass, pageFociColor, pageFociKeyword, pageFociMain, pageFociName, pageFociSearch, pageFociTable, pageForwardToolButton, pageGeodesicMain, pageImages, pageLatLonMain, pageMetricMiscellaneous, pageMetricSelection, pageMetricSettings, pageModelsMain, pageModelsSettings, pageOverlayUnderlaySurfaceNew, pagePaintColumn, pagePaintMain, pagePaintName, pageProbAtlasSurfaceArea, pageProbAtlasSurfaceChannel, pageProbAtlasSurfaceMain, pageProbAtlasVolumeArea, pageProbAtlasVolumeChannel, pageProbAtlasVolumeMain, pageRegionMain, pageRgbPaintMain, pageRgbPaintSelection, pageSceneMain, pageSectionMain, pageSurfaceAndVolume, pageSurfaceClipping, pageSurfaceMisc, pageSurfaceShapeSelections, pageSurfaceShapeSettings, pagesVisitedIndex, pageTopography, pageVectorSelection, pageVectorSettings, pageVolumeSelection, pageVolumeSettings, pageVolumeSurfaceOutline, pageWidgetStack, paintApplySelectionToLeftAndRightStructuresFlagCheckBox, paintColumnMetaDataButtonGroup, paintColumnSelectionGridLayout, probAtlasSurfaceApplySelectionToLeftAndRightStructuresFlagCheckBox, probAtlasSurfaceAreasButtonGroup, probAtlasSurfaceAreasGridLayout, probAtlasSurfaceChannelButtonGroup, probAtlasSurfaceChannelGridLayout, probAtlasSurfaceSubPageAreaLayout, probAtlasSurfaceSubPageChannelLayout, probAtlasVolumeAreasButtonGroup, probAtlasVolumeAreasGridLayout, probAtlasVolumeChannelButtonGroup, probAtlasVolumeChannelGridLayout, readMetricL2LR2R(), readPaintL2LR2R(), readProbAtlasSurfaceL2LR2R(), readRgbPaintL2LR2R(), readShapeL2LR2R(), rgbApplySelectionToLeftAndRightStructuresFlagCheckBox, shapeApplySelectionToLeftAndRightStructuresFlagCheckBox, showDisplayControlPage(), skipScenePageUpdate, slotHelpButton(), slotOverlayNumberComboBox(), slotPageBackToolButtonPressed(), slotPageForwardToolButtonPressed(), slotSurfaceModelIndexComboBox(), surfaceModelGroupBox, surfaceModelIndex, surfaceModelIndexComboBox, surfaceShapeCommentButtonGroup, surfaceShapeHistogramButtonGroup, surfaceShapeMetaDataButtonGroup, surfaceShapeSubSelectionsLayout, surfaceShapeViewButtonGroup, updateAllItemsInDialog(), updateOverlayNumberComboBox(), updatePageSelectionComboBox(), validContourData, validSurfaceData, validVolumeData, and widgetStackScrollArea.

   : WuQDialog(parent)
{
   GuiBrainModelOpenGL::getPointSizeRange(minPointSize, maxPointSize);
   maxPointSize = 100000.0;
   GuiBrainModelOpenGL::getLineWidthRange(minLineSize, maxLineSize);
   
   pageOverlayUnderlaySurfaceNew = NULL;
   surfaceModelIndex = -1;
   
   creatingDialog = true;
   dataInfoDialog = NULL;
   
   setSizeGripEnabled(true);
   setWindowTitle("Display Control");
   
   //
   // Actions for back and forward tool buttons
   //
   QAction* pageBackToolButtonAction = new QAction(this);
   QAction* pageForwardToolButtonAction = new QAction(this);
   
   //
   // Create the combo box for selecting the individual pages
   //
   QLabel* pageSelLabel = new QLabel("Page Selection");
   pageBackToolButton = new QToolButton;
   pageBackToolButton->setToolTip("Go back to the \n"
                                  "previous page.");
   pageBackToolButton->setArrowType(Qt::LeftArrow);
   pageBackToolButton->setDefaultAction(pageBackToolButtonAction);
   QObject::connect(pageBackToolButton, SIGNAL(triggered(QAction*)),
                    this, SLOT(slotPageBackToolButtonPressed(QAction*)));
   pageForwardToolButton = new QToolButton;
   pageForwardToolButton->setToolTip("Go forward to the \n"
                                     "next page as a \n"
                                     "result of using \n"
                                     "the back arrow.");
   pageForwardToolButton->setArrowType(Qt::RightArrow);
   pageForwardToolButton->setDefaultAction(pageForwardToolButtonAction);
   QObject::connect(pageForwardToolButton, SIGNAL(triggered(QAction*)),
                    this, SLOT(slotPageForwardToolButtonPressed(QAction*)));
   pageComboBox = new QComboBox;
   QObject::connect(pageComboBox, SIGNAL(activated(int)),
                    this, SLOT(pageComboBoxSelection(int)));
   QHBoxLayout* pageSelLayout = new QHBoxLayout;
   pageSelLayout->addWidget(pageSelLabel);
   pageSelLayout->addWidget(pageBackToolButton);
   pageSelLayout->addWidget(pageForwardToolButton);
   pageSelLayout->addWidget(pageComboBox);
   pageSelLayout->setStretchFactor(pageSelLabel, 0);
   pageSelLayout->setStretchFactor(pageBackToolButton, 0);
   pageSelLayout->setStretchFactor(pageForwardToolButton, 0);
   pageSelLayout->setStretchFactor(pageComboBox, 100);
   
   //
   // Create the surface selection page
   //
   QLabel* surfaceModelLabel = new QLabel("Surface");
   surfaceModelIndexComboBox = new QComboBox;
   QObject::connect(surfaceModelIndexComboBox, SIGNAL(activated(int)),
                    this, SLOT(slotSurfaceModelIndexComboBox(int)));
   
   //
   // Overlay selection combo box
   //
   QLabel* overlayNumberLabel = new QLabel("Overlay");
   overlayNumberComboBox = new QComboBox;
   for (int i = 0; i < theMainWindow->getBrainSet()->getNumberOfSurfaceOverlays(); i++) {
      overlayNumberComboBox->addItem(theMainWindow->getBrainSet()->getSurfaceOverlay(i)->getName());
   }
   QObject::connect(overlayNumberComboBox, SIGNAL(activated(int)),
                    this, SLOT(slotOverlayNumberComboBox(int)));
   overlayNumberWidgetGroup = new WuQWidgetGroup(this);
   overlayNumberWidgetGroup->addWidget(overlayNumberLabel);
   overlayNumberWidgetGroup->addWidget(overlayNumberComboBox);
   updateOverlayNumberComboBox();
   
   //
   // Shape apply left/right named columns
   //
   shapeApplySelectionToLeftAndRightStructuresFlagCheckBox = new QCheckBox("Apply Shape L-to-L, R-to-R Matching to Coord Files");
   shapeApplySelectionToLeftAndRightStructuresFlagCheckBox->setToolTip("If checked and a surface shape column\n"
                                                          "is selected for display and the column\n"
                                                          "name contains left (right), the column\n"
                                                          "is assigned to all left surfaces and\n"
                                                          "if a column with right (left) in its\n"
                                                          "exists, it is applied to right (left)\n"
                                                          "surfaces.");
   QObject::connect(shapeApplySelectionToLeftAndRightStructuresFlagCheckBox, SIGNAL(toggled(bool)),
                    this, SLOT(readShapeL2LR2R()));
   
   //
   // Metric apply left/right named columns
   //
   metricApplySelectionToLeftAndRightStructuresFlagCheckBox = new QCheckBox("Apply Metric L-to-L, R-to-R Matching to Coord Files");
   metricApplySelectionToLeftAndRightStructuresFlagCheckBox->setToolTip("If checked and a metric column\n"
                                                          "is selected for display and the column\n"
                                                          "name contains left (right), the column\n"
                                                          "is assigned to all left surfaces and\n"
                                                          "if a column with right (left) in its\n"
                                                          "exists, it is applied to right (left)\n"
                                                          "surfaces.");
   QObject::connect(metricApplySelectionToLeftAndRightStructuresFlagCheckBox, SIGNAL(toggled(bool)),
                    this, SLOT(readMetricL2LR2R()));
   
   //
   // paint apply left/right named columns
   //
   paintApplySelectionToLeftAndRightStructuresFlagCheckBox = new QCheckBox("Apply Paint L-to-L, R-to-R Matching to Coord Files");
   paintApplySelectionToLeftAndRightStructuresFlagCheckBox->setToolTip("If checked and a paint column\n"
                                                          "is selected for display and the column\n"
                                                          "name contains left (right), the column\n"
                                                          "is assigned to all left surfaces and\n"
                                                          "if a column with right (left) in its\n"
                                                          "exists, it is applied to right (left)\n"
                                                          "surfaces.");
   QObject::connect(paintApplySelectionToLeftAndRightStructuresFlagCheckBox, SIGNAL(toggled(bool)),
                    this, SLOT(readPaintL2LR2R()));
   
   //
   // RGB Paint apply left/right named columns
   //
   rgbApplySelectionToLeftAndRightStructuresFlagCheckBox = new QCheckBox("Apply RGB Paint L-to-L, R-to-R Matching to Coord Files");
   rgbApplySelectionToLeftAndRightStructuresFlagCheckBox->setToolTip("If checked and an RGB paint column\n"
                                                          "is selected for display and the column\n"
                                                          "name contains left (right), the column\n"
                                                          "is assigned to all left surfaces and\n"
                                                          "if a column with right (left) in its\n"
                                                          "exists, it is applied to right (left)\n"
                                                          "surfaces.");
   QObject::connect(rgbApplySelectionToLeftAndRightStructuresFlagCheckBox, SIGNAL(toggled(bool)),
                    this, SLOT(readRgbPaintL2LR2R()));
   
   //
   // prob atlas apply left/right named columns
   //
   probAtlasSurfaceApplySelectionToLeftAndRightStructuresFlagCheckBox = new QCheckBox("Apply Prob Atlas L-to-L, R-to-R Matching to Coord Files");
   probAtlasSurfaceApplySelectionToLeftAndRightStructuresFlagCheckBox->setToolTip("If checked and a probabilistic atlas colum\n"
                                                                                  "name contains left (right), the column\n"
                                                                                  "is assigned to all left surfaces and\n"
                                                                                  "if a column with right (left) in its\n"
                                                                                  "exists, it is applied to right (left)\n"
                                                                                  "surfaces.");
   QObject::connect(probAtlasSurfaceApplySelectionToLeftAndRightStructuresFlagCheckBox, SIGNAL(toggled(bool)),
                    this, SLOT(readProbAtlasSurfaceL2LR2R()));
                    
   //
   // Group box for surface and overlay selection
   //
   surfaceModelGroupBox = new QGroupBox("Coloration Applies To");
   QGridLayout* surfaceModelGridLayout = new QGridLayout(surfaceModelGroupBox);
   surfaceModelGridLayout->addWidget(surfaceModelLabel, 0, 0);
   surfaceModelGridLayout->addWidget(surfaceModelIndexComboBox, 0, 1);
   surfaceModelGridLayout->addWidget(overlayNumberLabel, 1, 0);
   surfaceModelGridLayout->addWidget(overlayNumberComboBox, 1, 1);
   surfaceModelGridLayout->addWidget(shapeApplySelectionToLeftAndRightStructuresFlagCheckBox, 2, 0, 1, 2);
   surfaceModelGridLayout->addWidget(metricApplySelectionToLeftAndRightStructuresFlagCheckBox, 3, 0, 1, 2);
   surfaceModelGridLayout->addWidget(paintApplySelectionToLeftAndRightStructuresFlagCheckBox, 4, 0, 1, 2);
   surfaceModelGridLayout->addWidget(rgbApplySelectionToLeftAndRightStructuresFlagCheckBox, 5, 0, 1, 2);
   surfaceModelGridLayout->addWidget(probAtlasSurfaceApplySelectionToLeftAndRightStructuresFlagCheckBox, 6, 0, 1, 2);
   //surfaceModelGroupBox->setMaximumHeight(surfaceModelGroupBox->sizeHint().height());
   surfaceModelGridLayout->setColumnStretch(0, 0);
   surfaceModelGridLayout->setColumnStretch(1, 1000);

   //
   // Scroll widget for widget stack containing all sub pages
   //
   widgetStackScrollArea = new QScrollArea;
   widgetStackScrollArea->setWidgetResizable(true);
   widgetStackScrollArea->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
   widgetStackScrollArea->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);

   //
   // Widget stack for all sub pages
   //
   pageWidgetStack = new QStackedWidget;
   widgetStackScrollArea->setWidget(pageWidgetStack);

   //
   // Vertical box for all items in dialog
   //
   QVBoxLayout* dialogLayout = new QVBoxLayout(this);
   dialogLayout->setMargin(5);
   dialogLayout->setSpacing(5);
   dialogLayout->addLayout(pageSelLayout);
   dialogLayout->addWidget(surfaceModelGroupBox);
   dialogLayout->addWidget(widgetStackScrollArea);
   dialogLayout->setStretchFactor(pageSelLayout, 0);
   dialogLayout->setStretchFactor(surfaceModelGroupBox, 0);
   dialogLayout->setStretchFactor(widgetStackScrollArea, 100);
   //dialogLayout->addStretch();
   
   //
   // Volume Pages
   //
   pageVolumeSelection = NULL;
   pageVolumeSettings  = NULL;
   pageVolumeSurfaceOutline = NULL;
   
   pageArealEstimation = NULL;
   arealEstimationSelectionButtonGroup = NULL;
   arealEstimationSelectionGridLayout = NULL;
   
   borderNameButtonGroup  = NULL;
   borderNameGridLayout   = NULL;
   borderColorButtonGroup = NULL;
   borderColorGridLayout  = NULL;
   numValidBorderNames    = 0;
   numValidBorderColors   = 0;
   pageBorderMain = NULL;
   pageBorderColor = NULL;
   pageBorderName = NULL;
   
   cellColorButtonGroup = NULL;
   cellColorGridLayout  = NULL;
   cellClassButtonGroup = NULL;
   cellClassGridLayout  = NULL;
   numValidCellClasses  = 0;
   numValidCellColors   = 0;
   pageCellsMain = NULL;
   pageCellsClass = NULL;
   pageCellsColor = NULL;
   
   pageCocomacDisplay = NULL;
   pageCocomacInformation = NULL;
   
   contourCellColorButtonGroup = NULL;
   contourCellColorGridLayout  = NULL;
   contourCellClassButtonGroup = NULL;
   contourCellClassGridLayout  = NULL;
   numValidContourCellClasses  = 0;
   numValidContourCellColors   = 0;
   pageContourMain = NULL;
   pageContourClass = NULL;
   pageContourColor = NULL;
   
   pageDeformationField = NULL;
   
   fociColorButtonGroup = NULL;
   fociColorGridLayout  = NULL;
   fociClassButtonGroup = NULL;
   fociClassGridLayout  = NULL;
   //numValidFociClasses  = 0;
   //numValidFociColors   = 0;
   pageFociMain = NULL;
   pageFociClass = NULL;
   pageFociColor = NULL;
   pageFociKeyword = NULL;
   pageFociName = NULL;
   pageFociSearch = NULL;
   fociSearchWidget = NULL;
   pageFociTable = NULL;
   numberOfFociKeywordCheckBoxesShownInGUI = 0;
   numberOfFociTableCheckBoxesShownInGUI = 0;
   numberOfFociNameCheckBoxesShownInGUI = 0;
   numberOfFociClassCheckBoxesShownInGUI = 0;
   numberOfFociColorCheckBoxesShownInGUI = 0;
   fociShowKeywordsOnlyForDisplayedFociCheckBox = NULL;
   fociShowNamesOnlyForDisplayedFociCheckBox    = NULL;
   fociShowTablesOnlyForDisplayedFociCheckBox   = NULL;
   fociShowClassesOnlyForDisplayedFociCheckBox  = NULL;
   fociShowColorsOnlyForDisplayedFociCheckBox   = NULL;
   
   pageGeodesicMain = NULL;
   geodesicSelectionGridLayout = NULL;

   pageImages = NULL;
   
   latLonSelectionGridLayout = NULL;
   pageLatLonMain = NULL;
   
   metricViewButtonGroup = NULL;
   metricThresholdButtonGroup = NULL;
   metricCommentButtonGroup = NULL;
   metricSubPageSelectionsLayout = NULL;
   metricMetaDataButtonGroup = NULL;
   metricHistogramButtonGroup = NULL;
   numValidMetrics = 0;
   pageMetricMiscellaneous = NULL;
   pageMetricSettings = NULL;
   pageMetricSelection = NULL;
   
   modelSelectionGridWidgetLayout = NULL;
   numValidModels = 0;
   pageModelsMain = NULL;
   pageModelsSettings = NULL;
   
   paintColumnMetaDataButtonGroup = NULL;
   paintColumnSelectionGridLayout = NULL;
   pagePaintColumn = NULL;   
   pagePaintMain = NULL;
   pagePaintName = NULL;
   
   pageSectionMain = NULL;
   
   numValidProbAtlasSurfaceChannels   = 0;
   probAtlasSurfaceSubPageChannelLayout = NULL;
   probAtlasSurfaceChannelGridLayout = NULL;
   probAtlasSurfaceChannelButtonGroup = NULL;
   numValidProbAtlasSurfaceAreas   = 0;
   probAtlasSurfaceAreasGridLayout = NULL;
   probAtlasSurfaceSubPageAreaLayout = NULL;
   probAtlasSurfaceAreasButtonGroup = NULL;
   pageProbAtlasSurfaceMain = NULL;
   pageProbAtlasSurfaceChannel = NULL;
   pageProbAtlasSurfaceArea = NULL;
   
   numValidProbAtlasVolumeChannels   = 0;
   probAtlasVolumeChannelGridLayout       = NULL;
   probAtlasVolumeChannelButtonGroup = NULL;
   numValidProbAtlasVolumeAreas   = 0;
   probAtlasVolumeAreasGridLayout       = NULL;
   probAtlasVolumeAreasButtonGroup = NULL;
   pageProbAtlasVolumeMain = NULL;
   pageProbAtlasVolumeArea = NULL;
   pageProbAtlasVolumeChannel = NULL;
   
   pageRegionMain = NULL;
   
   pageRgbPaintMain = NULL;
   pageRgbPaintSelection = NULL;
   
   pageSceneMain = NULL;
   skipScenePageUpdate = false;
   
   surfaceShapeViewButtonGroup = NULL;
   surfaceShapeCommentButtonGroup = NULL;
   pageSurfaceShapeSelections = NULL;
   pageSurfaceShapeSettings = NULL;
   surfaceShapeSubSelectionsLayout = NULL;
   surfaceShapeMetaDataButtonGroup = NULL;
   surfaceShapeHistogramButtonGroup = NULL;
   numValidSurfaceShape = 0;
   
   pageSurfaceAndVolume = NULL;
   
   pageSurfaceMisc = NULL;

   pageVectorSelection = NULL;
   pageVectorSettings = NULL;
   
   pageTopography = NULL;

   pageSurfaceClipping = NULL;

   //
   // Layout for buttons
   //
   QHBoxLayout* buttonsLayout = new QHBoxLayout;
   buttonsLayout->setSpacing(5);
   dialogLayout->addLayout(buttonsLayout);

   //
   // Apply button
   //
   QPushButton* applyButton = new QPushButton("Apply");
   applyButton->setAutoDefault(false);
   buttonsLayout->addWidget(applyButton);
   QObject::connect(applyButton, SIGNAL(clicked()),
                    this, SLOT(applySelected()));   

   //
   // Save as image button
   //
   WuQSaveWidgetAsImagePushButton* saveAsImageButton =
              new WuQSaveWidgetAsImagePushButton("Save As Image...",
                                                this);
   saveAsImageButton->setAutoDefault(false);
   buttonsLayout->addWidget(saveAsImageButton);
   saveAsImageButton->hide();   // HIDE SAVE AS IMAGE BUTTON ***************
   
   //
   // Help button
   //
   QPushButton* helpButton = new QPushButton("Help");
   buttonsLayout->addWidget(helpButton);
   helpButton->setAutoDefault(false);
   QObject::connect(helpButton, SIGNAL(clicked()),
                    this, SLOT(slotHelpButton()));
                    
   //
   // Close button connects to QDialogs close() slot.   
   //
   QPushButton* closeButton = new QPushButton("Close");
   buttonsLayout->addWidget(closeButton);
   closeButton->setAutoDefault(false);
   QObject::connect(closeButton, SIGNAL(clicked()),
                    this, SLOT(close()));
  
   QtUtilities::makeButtonsSameSize(applyButton, saveAsImageButton, helpButton, closeButton);
 
   dialogDefaultSize = QDialog::sizeHint();
   if (DebugControl::getDebugOn()) {
      std::cout << "Initial D/C Size Hint: (" << dialogDefaultSize.width()
                << " " << dialogDefaultSize.height() << ")" << std::endl;
   }
   //07/06/2005setMinimumSize(dialogDefaultSize);
   //setMaximumSize(dialogDefaultSize);
   
   updateAllItemsInDialog(true, false);
   
   pagesVisitedIndex = -1;
   
   updatePageSelectionComboBox();
   if (pageComboBoxItems.empty() == false) {
      pageComboBoxSelection(0);
   }
   
   //surfaceModelGroupBox->setFixedWidth(pageOverlayUnderlaySurface->sizeHint().width());
   creatingDialog = false;
   
   //
   // Default to O/U Volume page if there are volumes and no surfaces
   //
   if (validSurfaceData) {
      showDisplayControlPage(PAGE_NAME_SURFACE_OVERLAY_UNDERLAY_NEW, false);
   }
   else if (validVolumeData) {
      showDisplayControlPage(PAGE_NAME_VOLUME_SELECTION, false);
   }
   else if (validContourData) {
      showDisplayControlPage(PAGE_NAME_CONTOUR_MAIN, false);
   }
   else {
      showDisplayControlPage(PAGE_NAME_SCENE, false);
   }

/*   
   //
   // Show scene page if no brain models but have scenes
   //
   if (theMainWindow->getBrainSet()->getNumberOfBrainModels() <= 0) {
      SceneFile* sf = theMainWindow->getBrainSet()->getSceneFile();
      if (sf->getNumberOfScenes() > 0) {
         showScenePage();
      }
   }
*/
   
   //07/06/05widgetStackScrollView->setMinimumHeight(pageWidgetStack->sizeHint().height());
   resize(585, 740);
}


Generated by  Doxygen 1.6.0   Back to index