QtiPlot  0.9.8.2
Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
Plot3DDialog Class Reference

Surface plot options dialog. More...

#include <Plot3DDialog.h>

Public Member Functions

 Plot3DDialog (QWidget *parent, Qt::WFlags fl=0)
void setPlot (Graph3D *)
void showAxisTab ()
void showGeneralTab ()
void showTitleTab ()

Private Slots

void accept ()
QFont axisFont (int axis)
void changeTransparency (int val)
void changeZoom (int)
void disableMeshOptions ()
void enableMajorGrids (bool on)
void enableMinorGrids (bool on)
void initPointsOptionsStack ()
void pickAxisLabelFont ()
void pickDataColorMap ()
void pickNumbersFont ()
void pickTitleFont ()
void updateColorMapFileGroupBox (bool)
void updateLinearColorMapGroupBox (bool)
bool updatePlot ()
void viewAxisOptions (int axis)
void viewScaleLimits (int axis)
void worksheet ()

Private Member Functions

void initAxesPage ()
void initColorsPage ()
void initConnections ()
void initGeneralPage ()
void initGridPage ()
void initPrintPage ()
void initScalesPage ()
void initTitlePage ()
void setColorMapPreview (const QString &fileName)
void showBarsTab ()
void showConesTab (double rad, int quality)
void showCrossHairTab (double rad, double linewidth, bool smooth, bool boxed)
void showPointsTab (double rad, bool smooth)

Private Attributes

QWidget * axes
QGroupBox * AxesColorGroupBox
QListWidget * axesList
QListWidget * axesList2
TextFormatButtonsaxisTitleFormatButtons
QWidget * bars
QCheckBox * boxBarLines
DoubleSpinBoxboxBarsRad
QCheckBox * boxBoxed
DoubleSpinBoxboxConesRad
DoubleSpinBoxboxCrossLinewidth
DoubleSpinBoxboxCrossRad
QCheckBox * boxCrossSmooth
QSpinBox * boxDistance
QCheckBox * boxFilledBars
DoubleSpinBoxboxFrom
QTextEdit * boxLabel
QCheckBox * boxLegend
QCheckBox * boxMajorGrids
QComboBox * boxMajorGridStyle
DoubleSpinBoxboxMajorGridWidth
DoubleSpinBoxboxMajorLength
QSpinBox * boxMajors
QDoubleSpinBox * boxMeshLineWidth
QCheckBox * boxMinorGrids
QComboBox * boxMinorGridStyle
DoubleSpinBoxboxMinorGridWidth
DoubleSpinBoxboxMinorLength
QSpinBox * boxMinors
QCheckBox * boxOrthogonal
QComboBox * boxPointStyle
QSpinBox * boxPrecision
QCheckBox * boxPrintCropmarks
QSpinBox * boxQuality
QSpinBox * boxResolution
QCheckBox * boxScaleOnPrint
DoubleSpinBoxboxSize
QCheckBox * boxSmooth
QComboBox * boxTickLabelsFormat
QTextEdit * boxTitle
DoubleSpinBoxboxTo
QSpinBox * boxTransparency
QComboBox * boxType
DoubleSpinBoxboxXRotation
QSpinBox * boxXScale
DoubleSpinBoxboxYRotation
QSpinBox * boxYScale
QSpinBox * boxZoom
DoubleSpinBoxboxZRotation
QSpinBox * boxZScale
ColorButtonbtnAxes
ColorButtonbtnBackground
QPushButton * btnColorMap
ColorButtonbtnGrid
ColorButtonbtnGridMinor
QPushButton * btnLabelFont
ColorButtonbtnLabels
ColorButtonbtnMesh
ColorButtonbtnNumbers
QPushButton * btnNumbersFont
QPushButton * btnTable
ColorButtonbtnTitleColor
QPushButton * btnTitleFont
QPushButton * buttonApply
QPushButton * buttonCancel
QPushButton * buttonOk
QGroupBox * colorMapFileGroupBox
QLabel * colorMapPreviewLabel
QWidget * colors
QWidget * conesPage
QWidget * crossPage
ColorMapEditord_color_map_editor
QString d_color_map_file
Graph3Dd_plot
QWidget * dotsPage
QWidget * general
QTabWidget * generalDialog
QWidget * gridPage
QStringList labels
QGroupBox * linearColorMapGroupBox
QFont numbersFont
QStackedWidget * optionStack
QWidget * points
QWidget * printPage
QWidget * scale
QGroupBox * TicksGroupBox
QWidget * title
QFont titleFont
TextFormatButtonstitleFormatButtons
QSlider * transparencySlider
QFont xAxisFont
double xScale
QFont yAxisFont
double yScale
QFont zAxisFont
double zoom
double zScale

Detailed Description

Surface plot options dialog.

Constructor & Destructor Documentation

Plot3DDialog::Plot3DDialog ( QWidget *  parent,
Qt::WFlags  fl = 0 
)

Member Function Documentation

void Plot3DDialog::accept ( )
privateslot

References updatePlot().

Referenced by Plot3DDialog().

QFont Plot3DDialog::axisFont ( int  axis)
privateslot

References xAxisFont, yAxisFont, and zAxisFont.

Referenced by updatePlot().

void Plot3DDialog::changeTransparency ( int  val)
privateslot
void Plot3DDialog::changeZoom ( int  )
privateslot
void Plot3DDialog::disableMeshOptions ( )
privateslot

References boxMeshLineWidth, and btnMesh.

Referenced by setPlot().

void Plot3DDialog::enableMajorGrids ( bool  on)
privateslot
void Plot3DDialog::enableMinorGrids ( bool  on)
privateslot
void Plot3DDialog::initAxesPage ( )
private
void Plot3DDialog::initColorsPage ( )
private
void Plot3DDialog::initConnections ( )
private
void Plot3DDialog::initGeneralPage ( )
private
void Plot3DDialog::initGridPage ( )
private
void Plot3DDialog::initPointsOptionsStack ( )
privateslot
void Plot3DDialog::initPrintPage ( )
private
void Plot3DDialog::initScalesPage ( )
private
void Plot3DDialog::initTitlePage ( )
private
void Plot3DDialog::pickAxisLabelFont ( )
privateslot

References axesList2, updatePlot(), xAxisFont, yAxisFont, and zAxisFont.

Referenced by initAxesPage().

void Plot3DDialog::pickDataColorMap ( )
privateslot
void Plot3DDialog::pickNumbersFont ( )
privateslot

References numbersFont, and updatePlot().

Referenced by initGeneralPage().

void Plot3DDialog::pickTitleFont ( )
privateslot

References titleFont, and updatePlot().

Referenced by initTitlePage().

void Plot3DDialog::setColorMapPreview ( const QString &  fileName)
private
void Plot3DDialog::setPlot ( Graph3D g)

References axes, Graph3D::axesColor(), AxesColorGroupBox, Graph3D::axesLabels(), Graph3D::axisTickLengths(), Graph3D::bgColor(), boxDistance, Graph3D::boxedCrossHair(), boxLabel, boxLegend, boxMajorGrids, boxMajorGridStyle, boxMajorGridWidth, boxMajorLength, boxMeshLineWidth, boxMinorGrids, boxMinorGridStyle, boxMinorGridWidth, boxMinorLength, boxOrthogonal, boxPrintCropmarks, boxResolution, boxScaleOnPrint, boxTitle, boxTransparency, boxXRotation, boxXScale, boxYRotation, boxYScale, boxZoom, boxZRotation, boxZScale, btnAxes, btnBackground, btnGrid, btnGridMinor, btnLabels, btnMesh, btnNumbers, btnNumbersFont, btnTable, btnTitleColor, Graph3D::colorMap(), Graph3D::colorMapFile(), colorMapFileGroupBox, Graph3D::coneQuality(), Graph3D::coneRadius(), Graph3D::Cones, Graph3D::coordStyle(), Graph3D::crossHairLinewidth(), Graph3D::crossHairRadius(), d_color_map_editor, d_color_map_file, d_plot, disableMeshOptions(), Graph3D::Dots, generalDialog, gridPage, Graph3D::grids(), Graph3D::HairCross, initConnections(), initPointsOptionsStack(), Graph3D::isLegendOn(), Graph3D::isOrthogonal(), Graph3D::labelColor(), labels, Graph3D::labelsDistance(), linearColorMapGroupBox, Graph3D::matrix(), Graph3D::meshColor(), Graph3D::meshLineWidth(), Graph3D::None, numbersFont, Graph3D::numbersFont(), Graph3D::numColor(), Graph3D::parametricSurface(), Graph3D::plotStyle(), Graph3D::plotTitle(), Graph3D::pointsSize(), Graph3D::pointType(), Graph3D::printCropmarksEnabled(), Graph3D::resolution(), Graph3D::scaleOnPrint(), ColorButton::setColor(), ColorMapEditor::setColorMap(), setColorMapPreview(), ColorMapEditor::setRange(), DoubleSpinBox::setValue(), showBarsTab(), showConesTab(), showCrossHairTab(), showPointsTab(), Graph3D::smoothCrossHair(), Graph3D::smoothPoints(), Graph3D::surface(), Graph3D::table(), TicksGroupBox, Graph3D::titleColor(), titleFont, Graph3D::titleFont(), Graph3D::transparency(), transparencySlider, Graph3D::userFunction(), Graph3D::VerticalBars, viewAxisOptions(), viewScaleLimits(), xAxisFont, Graph3D::xAxisLabelFont(), Graph3D::xRotation(), xScale, Graph3D::xScale(), yAxisFont, Graph3D::yAxisLabelFont(), Graph3D::yRotation(), yScale, Graph3D::yScale(), zAxisFont, Graph3D::zAxisLabelFont(), zoom, Graph3D::zoom(), Graph3D::zRotation(), zScale, Graph3D::zScale(), Graph3D::zStart(), and Graph3D::zStop().

Referenced by ApplicationWindow::showPlot3dDialog().

void Plot3DDialog::showAxisTab ( )

References axes, and generalDialog.

void Plot3DDialog::showBarsTab ( )
private
void Plot3DDialog::showConesTab ( double  rad,
int  quality 
)
private
void Plot3DDialog::showCrossHairTab ( double  rad,
double  linewidth,
bool  smooth,
bool  boxed 
)
private
void Plot3DDialog::showGeneralTab ( )

References general, and generalDialog.

void Plot3DDialog::showPointsTab ( double  rad,
bool  smooth 
)
private
void Plot3DDialog::showTitleTab ( )

References generalDialog, and title.

Referenced by ApplicationWindow::showTitleDialog().

void Plot3DDialog::updateColorMapFileGroupBox ( bool  checked)
privateslot

References colorMapFileGroupBox.

Referenced by initColorsPage().

void Plot3DDialog::updateLinearColorMapGroupBox ( bool  checked)
privateslot

References linearColorMapGroupBox.

Referenced by initColorsPage().

bool Plot3DDialog::updatePlot ( )
privateslot

References axes, axesList, axesList2, axisFont(), bars, boxBarLines, boxBarsRad, boxBoxed, boxConesRad, boxCrossLinewidth, boxCrossRad, boxCrossSmooth, boxDistance, boxFilledBars, boxFrom, boxLabel, boxLegend, boxMajorGrids, boxMajorGridStyle, boxMajorGridWidth, boxMajorLength, boxMajors, boxMeshLineWidth, boxMinorGrids, boxMinorGridStyle, boxMinorGridWidth, boxMinorLength, boxMinors, boxPointStyle, boxPrecision, boxPrintCropmarks, boxQuality, boxResolution, boxScaleOnPrint, boxSize, boxSmooth, boxTickLabelsFormat, boxTitle, boxTo, boxTransparency, boxType, boxXRotation, boxXScale, boxYRotation, boxYScale, boxZoom, boxZRotation, boxZScale, btnAxes, btnBackground, btnGrid, btnGridMinor, btnLabels, btnMesh, btnNumbers, btnTitleColor, Graph3D::changeTransparency(), ColorButton::color(), ColorMapEditor::colorMap(), colorMapFileGroupBox, colors, Graph3D::coordinateSystem(), ApplicationWindow::custom3DActions(), d_color_map_editor, d_color_map_file, d_plot, general, generalDialog, gridPage, labels, linearColorMapGroupBox, ApplicationWindow::modifiedProject(), numbersFont, points, Graph3D::printCropmarks(), printPage, scale, Graph3D::setAxesColor(), Graph3D::setAxisNumericFormat(), Graph3D::setBackgroundColor(), Graph3D::setBarLines(), Graph3D::setBarRadius(), Graph3D::setBarStyle(), setColorMapPreview(), Graph3D::setConeOptions(), Graph3D::setConeStyle(), Graph3D::setCrossOptions(), Graph3D::setCrossStyle(), Graph3D::setDataColorMap(), Graph3D::setDotOptions(), Graph3D::setDotStyle(), Graph3D::setFilledBars(), Graph3D::setLabelsColor(), Graph3D::setLabelsDistance(), Graph3D::setMeshColor(), Graph3D::setMeshLineWidth(), Graph3D::setNumbersColor(), Graph3D::setNumbersFont(), Graph3D::setResolution(), Graph3D::setRotation(), Graph3D::setScale(), Graph3D::setScaleOnPrint(), Graph3D::setTitle(), Graph3D::setXAxisLabel(), Graph3D::setXAxisLabelFont(), Graph3D::setXAxisTickLength(), Graph3D::setYAxisLabel(), Graph3D::setYAxisLabelFont(), Graph3D::setYAxisTickLength(), Graph3D::setZAxisLabel(), Graph3D::setZAxisLabelFont(), Graph3D::setZAxisTickLength(), Graph3D::setZoom(), Graph3D::showColorLegend(), title, titleFont, Graph3D::update(), DoubleSpinBox::value(), viewScaleLimits(), xScale, yScale, zoom, and zScale.

Referenced by accept(), initConnections(), initGeneralPage(), pickAxisLabelFont(), pickNumbersFont(), pickTitleFont(), and Plot3DDialog().

void Plot3DDialog::viewAxisOptions ( int  axis)
privateslot
void Plot3DDialog::viewScaleLimits ( int  axis)
privateslot
void Plot3DDialog::worksheet ( )
privateslot

References d_plot, and Graph3D::showWorksheet().

Referenced by Plot3DDialog().

Member Data Documentation

QWidget * Plot3DDialog::axes
private
QGroupBox * Plot3DDialog::AxesColorGroupBox
private

Referenced by initColorsPage(), and setPlot().

QListWidget* Plot3DDialog::axesList
private
QListWidget * Plot3DDialog::axesList2
private
TextFormatButtons * Plot3DDialog::axisTitleFormatButtons
private

Referenced by initAxesPage().

QWidget * Plot3DDialog::bars
private
QCheckBox* Plot3DDialog::boxBarLines
private

Referenced by showBarsTab(), and updatePlot().

DoubleSpinBox * Plot3DDialog::boxBarsRad
private

Referenced by showBarsTab(), and updatePlot().

QCheckBox * Plot3DDialog::boxBoxed
private
DoubleSpinBox * Plot3DDialog::boxConesRad
private
DoubleSpinBox * Plot3DDialog::boxCrossLinewidth
private
DoubleSpinBox * Plot3DDialog::boxCrossRad
private
QCheckBox * Plot3DDialog::boxCrossSmooth
private
QSpinBox * Plot3DDialog::boxDistance
private
QCheckBox * Plot3DDialog::boxFilledBars
private

Referenced by showBarsTab(), and updatePlot().

DoubleSpinBox* Plot3DDialog::boxFrom
private
QTextEdit * Plot3DDialog::boxLabel
private
QCheckBox* Plot3DDialog::boxLegend
private
QCheckBox* Plot3DDialog::boxMajorGrids
private
QComboBox* Plot3DDialog::boxMajorGridStyle
private
DoubleSpinBox* Plot3DDialog::boxMajorGridWidth
private
DoubleSpinBox* Plot3DDialog::boxMajorLength
private
QSpinBox* Plot3DDialog::boxMajors
private
QDoubleSpinBox* Plot3DDialog::boxMeshLineWidth
private
QCheckBox * Plot3DDialog::boxMinorGrids
private
QComboBox * Plot3DDialog::boxMinorGridStyle
private
DoubleSpinBox * Plot3DDialog::boxMinorGridWidth
private
DoubleSpinBox * Plot3DDialog::boxMinorLength
private
QSpinBox * Plot3DDialog::boxMinors
private
QCheckBox * Plot3DDialog::boxOrthogonal
private
QComboBox * Plot3DDialog::boxPointStyle
private
QSpinBox * Plot3DDialog::boxPrecision
private
QCheckBox * Plot3DDialog::boxPrintCropmarks
private

Referenced by initPrintPage(), setPlot(), and updatePlot().

QSpinBox * Plot3DDialog::boxQuality
private
QSpinBox* Plot3DDialog::boxResolution
private
QCheckBox * Plot3DDialog::boxScaleOnPrint
private

Referenced by initPrintPage(), setPlot(), and updatePlot().

DoubleSpinBox* Plot3DDialog::boxSize
private
QCheckBox * Plot3DDialog::boxSmooth
private
QComboBox * Plot3DDialog::boxTickLabelsFormat
private
QTextEdit* Plot3DDialog::boxTitle
private

Referenced by initTitlePage(), setPlot(), and updatePlot().

DoubleSpinBox * Plot3DDialog::boxTo
private
QSpinBox * Plot3DDialog::boxTransparency
private

Referenced by initColorsPage(), setPlot(), and updatePlot().

QComboBox* Plot3DDialog::boxType
private
DoubleSpinBox* Plot3DDialog::boxXRotation
private
QSpinBox * Plot3DDialog::boxXScale
private
DoubleSpinBox * Plot3DDialog::boxYRotation
private
QSpinBox * Plot3DDialog::boxYScale
private
QSpinBox* Plot3DDialog::boxZoom
private
DoubleSpinBox * Plot3DDialog::boxZRotation
private
QSpinBox * Plot3DDialog::boxZScale
private
ColorButton * Plot3DDialog::btnAxes
private
ColorButton* Plot3DDialog::btnBackground
private
QPushButton * Plot3DDialog::btnColorMap
private

Referenced by initColorsPage().

ColorButton * Plot3DDialog::btnGrid
private
ColorButton * Plot3DDialog::btnGridMinor
private
QPushButton * Plot3DDialog::btnLabelFont
private

Referenced by initAxesPage().

ColorButton * Plot3DDialog::btnLabels
private
ColorButton * Plot3DDialog::btnMesh
private
ColorButton * Plot3DDialog::btnNumbers
private
QPushButton* Plot3DDialog::btnNumbersFont
private

Referenced by initGeneralPage(), and setPlot().

QPushButton * Plot3DDialog::btnTable
private

Referenced by Plot3DDialog(), and setPlot().

ColorButton * Plot3DDialog::btnTitleColor
private
QPushButton* Plot3DDialog::btnTitleFont
private

Referenced by initTitlePage().

QPushButton* Plot3DDialog::buttonApply
private

Referenced by Plot3DDialog().

QPushButton* Plot3DDialog::buttonCancel
private

Referenced by Plot3DDialog().

QPushButton* Plot3DDialog::buttonOk
private

Referenced by Plot3DDialog().

QGroupBox * Plot3DDialog::colorMapFileGroupBox
private
QLabel* Plot3DDialog::colorMapPreviewLabel
private
QWidget * Plot3DDialog::colors
private
QWidget * Plot3DDialog::conesPage
private

Referenced by initPointsOptionsStack().

QWidget * Plot3DDialog::crossPage
private

Referenced by initPointsOptionsStack().

ColorMapEditor* Plot3DDialog::d_color_map_editor
private
QString Plot3DDialog::d_color_map_file
private
Graph3D* Plot3DDialog::d_plot
private
QWidget* Plot3DDialog::dotsPage
private

Referenced by initPointsOptionsStack().

QWidget * Plot3DDialog::general
private
QTabWidget* Plot3DDialog::generalDialog
private
QWidget * Plot3DDialog::gridPage
private

Referenced by initGridPage(), setPlot(), and updatePlot().

QStringList Plot3DDialog::labels
private
QGroupBox* Plot3DDialog::linearColorMapGroupBox
private
QFont Plot3DDialog::numbersFont
private
QStackedWidget* Plot3DDialog::optionStack
private
QWidget * Plot3DDialog::points
private
QWidget * Plot3DDialog::printPage
private

Referenced by initPrintPage(), and updatePlot().

QWidget* Plot3DDialog::scale
private

Referenced by initScalesPage(), and updatePlot().

QGroupBox* Plot3DDialog::TicksGroupBox
private

Referenced by initScalesPage(), and setPlot().

QWidget * Plot3DDialog::title
private
QFont Plot3DDialog::titleFont
private

Referenced by pickTitleFont(), setPlot(), and updatePlot().

TextFormatButtons* Plot3DDialog::titleFormatButtons
private

Referenced by initTitlePage().

QSlider* Plot3DDialog::transparencySlider
private

Referenced by initColorsPage(), and setPlot().

QFont Plot3DDialog::xAxisFont
private
double Plot3DDialog::xScale
private

Referenced by changeZoom(), setPlot(), and updatePlot().

QFont Plot3DDialog::yAxisFont
private
double Plot3DDialog::yScale
private

Referenced by changeZoom(), setPlot(), and updatePlot().

QFont Plot3DDialog::zAxisFont
private
double Plot3DDialog::zoom
private

Referenced by changeZoom(), setPlot(), and updatePlot().

double Plot3DDialog::zScale
private

Referenced by changeZoom(), setPlot(), and updatePlot().


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