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

void GuiDisplayControlDialog::createVectorSettingsPage (  )  [private]

create the vector settings page

create the surface vector settings page.

Definition at line 5134 of file GuiDisplayControlDialog.cxx.

References WuQWidgetGroup::addWidget(), DisplaySettingsVectors::COLOR_MODE_VECTOR_COLORS, DisplaySettingsVectors::COLOR_MODE_XYZ_AS_RGB, DisplaySettingsVectors::DISPLAY_MODE_ALL, DisplaySettingsVectors::DISPLAY_MODE_NONE, DisplaySettingsVectors::DISPLAY_MODE_SPARSE, DisplaySettingsVectors::DISPLAY_ORIENTATION_ANY, DisplaySettingsVectors::DISPLAY_ORIENTATION_INFERIOR_SUPERIOR, DisplaySettingsVectors::DISPLAY_ORIENTATION_LEFT_RIGHT, DisplaySettingsVectors::DISPLAY_ORIENTATION_POSTERIOR_ANTERIOR, BrainModelOpenGL::getMinMaxLineWidth(), pageVectorSettings, pageWidgetStack, readVectorSettingsPage(), DisplaySettingsVectors::SURFACE_SYMBOL_2D_LINE, DisplaySettingsVectors::SURFACE_SYMBOL_3D, DisplaySettingsVectors::VECTOR_TYPE_BIDIRECTIONAL, DisplaySettingsVectors::VECTOR_TYPE_UNIDIRECTIONAL_ARROW, DisplaySettingsVectors::VECTOR_TYPE_UNIDIRECTIONAL_CYLINDER, vectorColorModeComboBox, vectorDisplayModeSurfaceComboBox, vectorDisplayModeVolumeComboBox, vectorDisplayOrientationAngleSpinBox, vectorDisplayOrientationComboBox, vectorDrawWithMagnitudeCheckBox, vectorFunctionalMaskVolumeComboBox, vectorFunctionalMaskVolumeNegThreshSpinBox, vectorFunctionalMaskVolumePosThreshSpinBox, vectorFunctionalVolumeMaskGroupBox, vectorLengthMultiplierDoubleSpinBox, vectorMagnitudeThresholdSpinBox, vectorSegmentationGroupBox, vectorSegmentationMaskVolumeComboBox, vectorSettingsPageWidgetGroup, vectorSparseDistanceSpinBox, vectorSurfaceLineWidthSpinBox, vectorSurfaceSymbolComboBox, vectorTypeModeComboBox, vectorVolumeSliceAboveLimitSpinBox, vectorVolumeSliceBelowLimitSpinBox, VolumeFile::VOLUME_TYPE_FUNCTIONAL, and VolumeFile::VOLUME_TYPE_SEGMENTATION.

Referenced by showDisplayControlPage().

{
   const int spinBoxMaxWidth = 200;

   //
   // Color Mode
   //
   QLabel* colorModeLabel = new QLabel("Coloring Mode");
   vectorColorModeComboBox = new QComboBox;
   vectorColorModeComboBox->insertItem(DisplaySettingsVectors::COLOR_MODE_VECTOR_COLORS,
                                       "Use Vector Colors");
   vectorColorModeComboBox->insertItem(DisplaySettingsVectors::COLOR_MODE_XYZ_AS_RGB,
                                       "Use XYZ as Red, Green, Blue");
   QObject::connect(vectorColorModeComboBox, SIGNAL(activated(int)),
                    this, SLOT(readVectorSettingsPage()));

   //
   // Vector Type
   //
   QLabel* vectorTypeLabel = new QLabel("Vector Type");
   vectorTypeModeComboBox = new QComboBox;
   vectorTypeModeComboBox->insertItem(DisplaySettingsVectors::VECTOR_TYPE_BIDIRECTIONAL,
                                      "Bidirectional");
   vectorTypeModeComboBox->insertItem(DisplaySettingsVectors::VECTOR_TYPE_UNIDIRECTIONAL_ARROW,
                                      "Unidirectional (Arrow)");
   vectorTypeModeComboBox->insertItem(DisplaySettingsVectors::VECTOR_TYPE_UNIDIRECTIONAL_CYLINDER,
                                      "Unidirectional (Cylinder)");
   QObject::connect(vectorTypeModeComboBox, SIGNAL(activated(int)),
                    this, SLOT(readVectorSettingsPage()));

   //
   // Sparse distance spin box
   //
   QLabel* sparseDistanceLabel = new QLabel("Sparse Index Skip");
   vectorSparseDistanceSpinBox = new QSpinBox;
   vectorSparseDistanceSpinBox->setMaximumWidth(spinBoxMaxWidth);
   vectorSparseDistanceSpinBox->setMinimum(0);
   vectorSparseDistanceSpinBox->setMaximum(100000);
   vectorSparseDistanceSpinBox->setSingleStep(1);
   QObject::connect(vectorSparseDistanceSpinBox, SIGNAL(valueChanged(int)),
                    this, SLOT(readVectorSettingsPage()));
   vectorSparseDistanceSpinBox->setToolTip("Number of indices skipped when \n"
                                           "drawing vectors in a sparse mode.");

   //
   // Length multiplier
   //
   QLabel* lengthLabel = new QLabel("Length Multiplier ");
   vectorLengthMultiplierDoubleSpinBox = new QDoubleSpinBox;
   vectorLengthMultiplierDoubleSpinBox->setMaximumWidth(spinBoxMaxWidth);
   vectorLengthMultiplierDoubleSpinBox->setMinimum(0.0001);
   vectorLengthMultiplierDoubleSpinBox->setMaximum(1000.0);
   vectorLengthMultiplierDoubleSpinBox->setSingleStep(1.0);
   vectorLengthMultiplierDoubleSpinBox->setDecimals(3);
   vectorLengthMultiplierDoubleSpinBox->setValue(1.0);
   QObject::connect(vectorLengthMultiplierDoubleSpinBox, SIGNAL(valueChanged(double)),
                    this, SLOT(readVectorSettingsPage()));
   vectorLengthMultiplierDoubleSpinBox->setToolTip("Scales the length of\n"
                                                   "vectors for display.");


   //
   // Drawing group box and layout
   //
   QGroupBox* drawingGroupBox = new QGroupBox("Drawing");
   QGridLayout* drawGridLayout = new QGridLayout(drawingGroupBox);
   drawGridLayout->addWidget(colorModeLabel, 0, 0);
   drawGridLayout->addWidget(vectorColorModeComboBox, 0, 1);
   drawGridLayout->addWidget(vectorTypeLabel, 1, 0);
   drawGridLayout->addWidget(vectorTypeModeComboBox, 1, 1);
   drawGridLayout->addWidget(sparseDistanceLabel, 2, 0);
   drawGridLayout->addWidget(vectorSparseDistanceSpinBox, 2, 1);
   drawGridLayout->addWidget(lengthLabel, 3, 0);
   drawGridLayout->addWidget(vectorLengthMultiplierDoubleSpinBox, 3, 1);
   drawingGroupBox->setFixedSize(drawingGroupBox->sizeHint());

   //===========================================================================

   //
   // Surface Symbol
   //
   QLabel* surfaceSymbolLabel = new QLabel("Symbol");
   vectorSurfaceSymbolComboBox = new QComboBox;
   vectorSurfaceSymbolComboBox->insertItem(DisplaySettingsVectors::SURFACE_SYMBOL_3D,
                                           "3D Symbol");
   vectorSurfaceSymbolComboBox->insertItem(DisplaySettingsVectors::SURFACE_SYMBOL_2D_LINE,
                                           "2D Line");
   QObject::connect(vectorSurfaceSymbolComboBox, SIGNAL(activated(int)),
                    this, SLOT(readVectorSettingsPage()));

   //
   // Display mode surface
   //
   QLabel* displayModeSurfaceLabel = new QLabel("Display Mode");
   vectorDisplayModeSurfaceComboBox = new QComboBox;
   vectorDisplayModeSurfaceComboBox->insertItem(DisplaySettingsVectors::DISPLAY_MODE_ALL,
                                                "All");
   vectorDisplayModeSurfaceComboBox->insertItem(DisplaySettingsVectors::DISPLAY_MODE_NONE,
                                                "None");
   vectorDisplayModeSurfaceComboBox->insertItem(DisplaySettingsVectors::DISPLAY_MODE_SPARSE,
                                                "Sparse");
   QObject::connect(vectorDisplayModeSurfaceComboBox, SIGNAL(activated(int)),
                    this, SLOT(readVectorSettingsPage()));
   
   //
   // Surface line width
   //
   float minLineWidth = 0.0, maxLineWidth = 10.0;
   BrainModelOpenGL::getMinMaxLineWidth(minLineWidth, maxLineWidth);
   QLabel* surfaceLineWidthLabel = new QLabel("Line Width");
   vectorSurfaceLineWidthSpinBox = new QDoubleSpinBox;
   vectorSurfaceLineWidthSpinBox->setMaximumWidth(spinBoxMaxWidth);
   vectorSurfaceLineWidthSpinBox->setMinimum(minLineWidth);
   vectorSurfaceLineWidthSpinBox->setMaximum(maxLineWidth);
   vectorSurfaceLineWidthSpinBox->setSingleStep(1.0);
   vectorSurfaceLineWidthSpinBox->setDecimals(2);
   QObject::connect(vectorSurfaceLineWidthSpinBox, SIGNAL(valueChanged(double)),
                    this, SLOT(readVectorSettingsPage()));
   vectorSurfaceLineWidthSpinBox->setToolTip("Controls width of vectors drawn\n"
                                             "as lines in 2D on a surface.");

   //
   // Surface Display Layout
   //
   QGroupBox* surfaceDisplayGroupBox = new QGroupBox("Surface Display");
   QGridLayout* surfaceGridLayout = new QGridLayout(surfaceDisplayGroupBox);
   surfaceGridLayout->addWidget(displayModeSurfaceLabel, 0, 0);
   surfaceGridLayout->addWidget(vectorDisplayModeSurfaceComboBox, 0, 1);
   surfaceGridLayout->addWidget(surfaceSymbolLabel, 1, 0);
   surfaceGridLayout->addWidget(vectorSurfaceSymbolComboBox, 1, 1);
   surfaceGridLayout->addWidget(surfaceLineWidthLabel, 2, 0);
   surfaceGridLayout->addWidget(vectorSurfaceLineWidthSpinBox, 2, 1);
   surfaceDisplayGroupBox->setFixedSize(surfaceDisplayGroupBox->sizeHint());

   //===========================================================================

   //
   // Volume Display mode
   //
   QLabel* displayModeVolumeLabel = new QLabel("Display Mode");
   vectorDisplayModeVolumeComboBox = new QComboBox;
   vectorDisplayModeVolumeComboBox->insertItem(DisplaySettingsVectors::DISPLAY_MODE_ALL,
                                                "All");
   vectorDisplayModeVolumeComboBox->insertItem(DisplaySettingsVectors::DISPLAY_MODE_NONE,
                                                "None");
   vectorDisplayModeVolumeComboBox->insertItem(DisplaySettingsVectors::DISPLAY_MODE_SPARSE,
                                                "Sparse");
   QObject::connect(vectorDisplayModeVolumeComboBox, SIGNAL(activated(int)),
                    this, SLOT(readVectorSettingsPage()));


   //
   // Volume slice above limit
   //
   QLabel* volumeSliceAboveLimitLabel = new QLabel("Slice Above Limit");
   vectorVolumeSliceAboveLimitSpinBox = new QDoubleSpinBox;
   vectorVolumeSliceAboveLimitSpinBox->setMaximumWidth(spinBoxMaxWidth);
   vectorVolumeSliceAboveLimitSpinBox->setMinimum(0.0);
   vectorVolumeSliceAboveLimitSpinBox->setMaximum(1000000.0);
   vectorVolumeSliceAboveLimitSpinBox->setSingleStep(0.1);
   vectorVolumeSliceAboveLimitSpinBox->setDecimals(2);
   QObject::connect(vectorVolumeSliceAboveLimitSpinBox, SIGNAL(valueChanged(double)),
                    this, SLOT(readVectorSettingsPage()));
   vectorVolumeSliceAboveLimitSpinBox->setToolTip("Vectors within this distance above\n"
                                                 "a volume slice are drawn.");

   //
   // Volume slice below limit
   //
   QLabel* volumeSliceBelowLimitLabel = new QLabel("Slice Below Limit");
   vectorVolumeSliceBelowLimitSpinBox = new QDoubleSpinBox;
   vectorVolumeSliceBelowLimitSpinBox->setMaximumWidth(spinBoxMaxWidth);
   vectorVolumeSliceBelowLimitSpinBox->setMinimum(-1000000.0);
   vectorVolumeSliceBelowLimitSpinBox->setMaximum(0.0);
   vectorVolumeSliceBelowLimitSpinBox->setSingleStep(0.1);
   vectorVolumeSliceBelowLimitSpinBox->setDecimals(2);
   QObject::connect(vectorVolumeSliceBelowLimitSpinBox, SIGNAL(valueChanged(double)),
                    this, SLOT(readVectorSettingsPage()));
   vectorVolumeSliceBelowLimitSpinBox->setToolTip("Vectors within this distance below\n"
                                                 "a volume slice are drawn.");

   QGroupBox* volumeDisplayGroupBox = new QGroupBox("Volume Display");
   QGridLayout* volumeDisplayGridLayout = new QGridLayout(volumeDisplayGroupBox);
   volumeDisplayGridLayout->addWidget(displayModeVolumeLabel, 0, 0);
   volumeDisplayGridLayout->addWidget(vectorDisplayModeVolumeComboBox, 0, 1);
   volumeDisplayGridLayout->addWidget(volumeSliceAboveLimitLabel, 1, 0);
   volumeDisplayGridLayout->addWidget(vectorVolumeSliceAboveLimitSpinBox, 1, 1);
   volumeDisplayGridLayout->addWidget(volumeSliceBelowLimitLabel, 2, 0);
   volumeDisplayGridLayout->addWidget(vectorVolumeSliceBelowLimitSpinBox, 2, 1);
   volumeDisplayGroupBox->setFixedSize(volumeDisplayGroupBox->sizeHint());

   //===========================================================================

   //
   // Magnitude Threshold
   //
   QLabel* magnitudeThresholdLabel = new QLabel("Threshold");
   vectorMagnitudeThresholdSpinBox = new QDoubleSpinBox;
   vectorMagnitudeThresholdSpinBox->setMaximumWidth(spinBoxMaxWidth);
   vectorMagnitudeThresholdSpinBox->setMinimum(0.0);
   vectorMagnitudeThresholdSpinBox->setMaximum(1000000.0);
   vectorMagnitudeThresholdSpinBox->setSingleStep(0.05);
   vectorMagnitudeThresholdSpinBox->setDecimals(3);
   QObject::connect(vectorMagnitudeThresholdSpinBox, SIGNAL(valueChanged(double)),
                    this, SLOT(readVectorSettingsPage()));
   vectorMagnitudeThresholdSpinBox->setToolTip("Vectors with a magnitude less\n"
                                               "than this value are not displayed.");

   //
   // Draw with magnitude check box
   //
   vectorDrawWithMagnitudeCheckBox = new QCheckBox("Draw With Magnitude");
   QObject::connect(vectorDrawWithMagnitudeCheckBox, SIGNAL(toggled(bool)),
                    this, SLOT(readVectorSettingsPage()));
   vectorDrawWithMagnitudeCheckBox->setToolTip("If selected, vectors are drawn using their\n"
                                               "magnitude as the vector length.  Otherwise, \n"
                                               "vectors are drawn with a length of 1.0.");

   //
   // Group box and layout for magnitude
   //
   QGroupBox* magnitudeGroupBox = new QGroupBox("Magnitude");
   QGridLayout* magnitudeGridLayout = new QGridLayout(magnitudeGroupBox);
   magnitudeGridLayout->addWidget(vectorDrawWithMagnitudeCheckBox, 0, 0, 1, 2);
   magnitudeGridLayout->addWidget(magnitudeThresholdLabel, 1, 0);
   magnitudeGridLayout->addWidget(vectorMagnitudeThresholdSpinBox, 1, 1);
   magnitudeGroupBox->setFixedSize(magnitudeGroupBox->sizeHint());

   //===========================================================================

   //
   // Segmentation mask controls
   //
   QLabel* segmentationVolumeLabel = new QLabel("Volume");
   vectorSegmentationMaskVolumeComboBox = 
           new GuiVolumeFileSelectionComboBox(VolumeFile::VOLUME_TYPE_SEGMENTATION);
   QObject::connect(vectorSegmentationMaskVolumeComboBox, SIGNAL(activated(int)),
                    this, SLOT(readVectorSettingsPage()));

   //
   // Segmentation mask group box and layout
   //
   vectorSegmentationGroupBox = new QGroupBox("Segmentation Volume Masking");
   vectorSegmentationGroupBox->setCheckable(true);
   QObject::connect(vectorSegmentationGroupBox, SIGNAL(toggled(bool)),
                    this, SLOT(readVectorSettingsPage()));
   QGridLayout* segmentationGridLayout = new QGridLayout(vectorSegmentationGroupBox);
   segmentationGridLayout->setColumnStretch(0, 0);
   segmentationGridLayout->setColumnStretch(1, 100);
   segmentationGridLayout->addWidget(segmentationVolumeLabel, 0, 0);
   segmentationGridLayout->addWidget(vectorSegmentationMaskVolumeComboBox, 0, 1);

   //===========================================================================

   //
   // Functional mask controls
   //
   QLabel* vectorFunctionalMaskVolumeLabel = new QLabel("Volume");
   vectorFunctionalMaskVolumeComboBox =
           new GuiVolumeFileSelectionComboBox(VolumeFile::VOLUME_TYPE_FUNCTIONAL);
   QObject::connect(vectorFunctionalMaskVolumeComboBox, SIGNAL(activated(int)),
                    this, SLOT(readVectorSettingsPage()));
   vectorFunctionalMaskVolumeNegThreshSpinBox = new QDoubleSpinBox;
   vectorFunctionalMaskVolumeNegThreshSpinBox->setMaximumWidth(spinBoxMaxWidth);
   vectorFunctionalMaskVolumeNegThreshSpinBox->setMinimum(-1.0E10);
   vectorFunctionalMaskVolumeNegThreshSpinBox->setMaximum(1.0E10);
   vectorFunctionalMaskVolumeNegThreshSpinBox->setSingleStep(1.0);
   vectorFunctionalMaskVolumeNegThreshSpinBox->setDecimals(3);
   QObject::connect(vectorFunctionalMaskVolumeNegThreshSpinBox, SIGNAL(valueChanged(double)),
                    this, SLOT(readVectorSettingsPage()));
   vectorFunctionalMaskVolumePosThreshSpinBox = new QDoubleSpinBox;
   vectorFunctionalMaskVolumePosThreshSpinBox->setMaximumWidth(spinBoxMaxWidth);
   vectorFunctionalMaskVolumePosThreshSpinBox->setMinimum(-1.0E10);
   vectorFunctionalMaskVolumePosThreshSpinBox->setMaximum(1.0E10);
   vectorFunctionalMaskVolumePosThreshSpinBox->setSingleStep(1.0);
   vectorFunctionalMaskVolumePosThreshSpinBox->setDecimals(3);
   QObject::connect(vectorFunctionalMaskVolumePosThreshSpinBox, SIGNAL(valueChanged(double)),
                    this, SLOT(readVectorSettingsPage()));
   QLabel* functionalMaskValueLabel = new QLabel("Neg/Pos Threshold");
   vectorFunctionalVolumeMaskGroupBox = new QGroupBox("Functional Volume Masking");
   vectorFunctionalVolumeMaskGroupBox->setCheckable(true);
   QObject::connect(vectorFunctionalVolumeMaskGroupBox, SIGNAL(toggled(bool)),
                    this, SLOT(readVectorSettingsPage()));
   QGridLayout* functionalMaskGridLayout = new QGridLayout(vectorFunctionalVolumeMaskGroupBox);
   functionalMaskGridLayout->setColumnStretch(0, 0);
   functionalMaskGridLayout->setColumnStretch(1, 0);
   functionalMaskGridLayout->setColumnStretch(2, 0);
   functionalMaskGridLayout->setColumnStretch(3, 100);
   functionalMaskGridLayout->addWidget(vectorFunctionalMaskVolumeLabel, 0, 0);
   functionalMaskGridLayout->addWidget(vectorFunctionalMaskVolumeComboBox, 0, 1, 1, 3);
   functionalMaskGridLayout->addWidget(functionalMaskValueLabel, 1, 0);
   functionalMaskGridLayout->addWidget(vectorFunctionalMaskVolumeNegThreshSpinBox, 1, 1);
   functionalMaskGridLayout->addWidget(vectorFunctionalMaskVolumePosThreshSpinBox, 1, 2);

   //===========================================================================

   //
   // Orientation combo box
   //
   QLabel* displayOrientationAxisLabel = new QLabel("Axis");
   vectorDisplayOrientationComboBox = new QComboBox;
   vectorDisplayOrientationComboBox->insertItem(DisplaySettingsVectors::DISPLAY_ORIENTATION_ANY,
                                      "Any");
   vectorDisplayOrientationComboBox->insertItem(DisplaySettingsVectors::DISPLAY_ORIENTATION_LEFT_RIGHT,
                                      "Left/Right");
   vectorDisplayOrientationComboBox->insertItem(DisplaySettingsVectors::DISPLAY_ORIENTATION_POSTERIOR_ANTERIOR,
                                      "Posterior/Anterior");;
   vectorDisplayOrientationComboBox->insertItem(DisplaySettingsVectors::DISPLAY_ORIENTATION_INFERIOR_SUPERIOR,
                                      "Inferior/Superior");
   QObject::connect(vectorDisplayOrientationComboBox, SIGNAL(activated(int)),
                    this, SLOT(readVectorSettingsPage()));

   //
   // Orientation angle
   //
   QLabel* orientationAngleLabel = new QLabel("Angle");
   vectorDisplayOrientationAngleSpinBox = new QDoubleSpinBox;
   vectorDisplayOrientationAngleSpinBox->setMaximumWidth(spinBoxMaxWidth);
   vectorDisplayOrientationAngleSpinBox->setMinimum(-90.0);
   vectorDisplayOrientationAngleSpinBox->setMaximum(90.0);
   vectorDisplayOrientationAngleSpinBox->setSingleStep(1.0);
   vectorDisplayOrientationAngleSpinBox->setDecimals(1);
   QObject::connect(vectorDisplayOrientationAngleSpinBox, SIGNAL(valueChanged(double)),
                    this, SLOT(readVectorSettingsPage()));
   vectorDisplayOrientationAngleSpinBox->setToolTip("Angle of vectors from orientation.");

   //
   // Orientation layout
   //
   QGroupBox* vectorDisplayOrientationGroupBox = new QGroupBox("Orientation Filtering");
   QGridLayout* vectorDisplayOrientationGridLayout = new QGridLayout(vectorDisplayOrientationGroupBox);
   vectorDisplayOrientationGridLayout->addWidget(displayOrientationAxisLabel, 0, 0);
   vectorDisplayOrientationGridLayout->addWidget(vectorDisplayOrientationComboBox, 0, 1);
   vectorDisplayOrientationGridLayout->addWidget(orientationAngleLabel, 1, 0);
   vectorDisplayOrientationGridLayout->addWidget(vectorDisplayOrientationAngleSpinBox, 1, 1);
   vectorDisplayOrientationGroupBox->setFixedSize(vectorDisplayOrientationGroupBox->sizeHint());

   //===========================================================================

   //
   // Layout for surface and volume display
   //
   QHBoxLayout* displayLayouts = new QHBoxLayout;
   displayLayouts->addWidget(surfaceDisplayGroupBox);
   displayLayouts->addWidget(volumeDisplayGroupBox);
   displayLayouts->addStretch();

   //
   // Layout for orientation and magnitude
   //
   QHBoxLayout* orientationMagnitudeLayouts = new QHBoxLayout;
   orientationMagnitudeLayouts->addWidget(vectorDisplayOrientationGroupBox);
   orientationMagnitudeLayouts->addWidget(magnitudeGroupBox);
   orientationMagnitudeLayouts->addStretch();


   //
   // Box for settings page
   //
   pageVectorSettings = new QWidget;
   QVBoxLayout* vectorSettingsPageLayout = new QVBoxLayout(pageVectorSettings);
   vectorSettingsPageLayout->setSpacing(1);
   vectorSettingsPageLayout->addLayout(displayLayouts);
   vectorSettingsPageLayout->addWidget(drawingGroupBox);
   vectorSettingsPageLayout->addLayout(orientationMagnitudeLayouts);
   vectorSettingsPageLayout->addWidget(vectorFunctionalVolumeMaskGroupBox);
   vectorSettingsPageLayout->addWidget(vectorSegmentationGroupBox);
   vectorSettingsPageLayout->addStretch();
   pageVectorSettings->setFixedSize(pageVectorSettings->sizeHint());

   pageWidgetStack->addWidget(pageVectorSettings);

   //
   // Widget group for vector page items
   //
   vectorSettingsPageWidgetGroup = new WuQWidgetGroup(this);
   vectorSettingsPageWidgetGroup->addWidget(vectorColorModeComboBox);
   vectorSettingsPageWidgetGroup->addWidget(vectorTypeModeComboBox);
   vectorSettingsPageWidgetGroup->addWidget(vectorSurfaceSymbolComboBox);
   vectorSettingsPageWidgetGroup->addWidget(vectorDisplayModeSurfaceComboBox);
   vectorSettingsPageWidgetGroup->addWidget(vectorDisplayModeVolumeComboBox);
   vectorSettingsPageWidgetGroup->addWidget(vectorSparseDistanceSpinBox);
   vectorSettingsPageWidgetGroup->addWidget(vectorLengthMultiplierDoubleSpinBox);
   vectorSettingsPageWidgetGroup->addWidget(vectorSurfaceLineWidthSpinBox);
   vectorSettingsPageWidgetGroup->addWidget(vectorVolumeSliceAboveLimitSpinBox);
   vectorSettingsPageWidgetGroup->addWidget(vectorVolumeSliceBelowLimitSpinBox);
   vectorSettingsPageWidgetGroup->addWidget(vectorDrawWithMagnitudeCheckBox);
   vectorSettingsPageWidgetGroup->addWidget(vectorMagnitudeThresholdSpinBox);
   vectorSettingsPageWidgetGroup->addWidget(vectorSegmentationGroupBox);
   vectorSettingsPageWidgetGroup->addWidget(vectorSegmentationMaskVolumeComboBox);
   vectorSettingsPageWidgetGroup->addWidget(vectorDisplayOrientationComboBox);
   vectorSettingsPageWidgetGroup->addWidget(vectorDisplayOrientationAngleSpinBox);
   vectorSettingsPageWidgetGroup->addWidget(vectorFunctionalVolumeMaskGroupBox);
   vectorSettingsPageWidgetGroup->addWidget(vectorFunctionalMaskVolumeComboBox);
   vectorSettingsPageWidgetGroup->addWidget(vectorFunctionalMaskVolumeNegThreshSpinBox);
   vectorSettingsPageWidgetGroup->addWidget(vectorFunctionalMaskVolumePosThreshSpinBox);
}


Generated by  Doxygen 1.6.0   Back to index