QtiPlot 0.9.7.3
Public Member Functions | Private Slots | Private Member Functions | Private Attributes

Plot3DDialog Class Reference

Surface plot options dialog. More...

#include <Plot3DDialog.h>

List of all members.

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
QSpinBox * boxXScale
QSpinBox * boxYScale
QSpinBox * boxZoom
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
QStringList tickLengths
QGroupBox * TicksGroupBox
QWidget * title
QFont titleFont
TextFormatButtonstitleFormatButtons
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 ( ) [private, slot]

References updatePlot().

Referenced by Plot3DDialog().

QFont Plot3DDialog::axisFont ( int  axis) [private, slot]

References xAxisFont, yAxisFont, and zAxisFont.

Referenced by updatePlot().

void Plot3DDialog::changeTransparency ( int  val) [private, slot]
void Plot3DDialog::changeZoom ( int  ) [private, slot]
void Plot3DDialog::disableMeshOptions ( ) [private, slot]

References boxMeshLineWidth, and btnMesh.

Referenced by setPlot().

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

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

Referenced by initAxesPage().

void Plot3DDialog::pickDataColorMap ( ) [private, slot]
void Plot3DDialog::pickNumbersFont ( ) [private, slot]

References numbersFont, and updatePlot().

Referenced by initGeneralPage().

void Plot3DDialog::pickTitleFont ( ) [private, slot]

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, boxXScale, boxYScale, boxZoom, 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, Graph3D::numbersFont(), 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(), tickLengths, TicksGroupBox, Graph3D::titleColor(), Graph3D::titleFont(), titleFont, Graph3D::transparency(), Graph3D::userFunction(), Graph3D::VerticalBars, viewAxisOptions(), viewScaleLimits(), xAxisFont, Graph3D::xAxisLabelFont(), Graph3D::xScale(), xScale, yAxisFont, Graph3D::yAxisLabelFont(), Graph3D::yScale(), yScale, zAxisFont, Graph3D::zAxisLabelFont(), Graph3D::zoom(), zoom, Graph3D::zScale(), 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) [private, slot]

References colorMapFileGroupBox.

Referenced by initColorsPage().

void Plot3DDialog::updateLinearColorMapGroupBox ( bool  checked) [private, slot]

References linearColorMapGroupBox.

Referenced by initColorsPage().

bool Plot3DDialog::updatePlot ( ) [private, slot]

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, boxXScale, boxYScale, boxZoom, 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::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(), xScale, yScale, zoom, and zScale.

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

void Plot3DDialog::viewAxisOptions ( int  axis) [private, slot]
void Plot3DDialog::viewScaleLimits ( int  axis) [private, slot]
void Plot3DDialog::worksheet ( ) [private, slot]

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]

Referenced by initAxesPage().

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

Referenced by showBarsTab(), and updatePlot().

Referenced by showBarsTab(), and updatePlot().

QCheckBox * Plot3DDialog::boxBoxed [private]
QCheckBox * Plot3DDialog::boxCrossSmooth [private]
QSpinBox * Plot3DDialog::boxDistance [private]
QCheckBox * Plot3DDialog::boxFilledBars [private]

Referenced by showBarsTab(), and updatePlot().

QTextEdit * Plot3DDialog::boxLabel [private]
QCheckBox* Plot3DDialog::boxLegend [private]
QCheckBox* Plot3DDialog::boxMajorGrids [private]
QComboBox* Plot3DDialog::boxMajorGridStyle [private]
QSpinBox* Plot3DDialog::boxMajors [private]
QDoubleSpinBox* Plot3DDialog::boxMeshLineWidth [private]
QCheckBox * Plot3DDialog::boxMinorGrids [private]
QComboBox * Plot3DDialog::boxMinorGridStyle [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().

QCheckBox * Plot3DDialog::boxSmooth [private]
QComboBox * Plot3DDialog::boxTickLabelsFormat [private]
QTextEdit* Plot3DDialog::boxTitle [private]

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

QSpinBox * Plot3DDialog::boxTransparency [private]

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

QComboBox* Plot3DDialog::boxType [private]
QSpinBox * Plot3DDialog::boxXScale [private]
QSpinBox * Plot3DDialog::boxYScale [private]
QSpinBox* Plot3DDialog::boxZoom [private]
QSpinBox * Plot3DDialog::boxZScale [private]
QPushButton * Plot3DDialog::btnColorMap [private]

Referenced by initColorsPage().

QPushButton * Plot3DDialog::btnLabelFont [private]

Referenced by initAxesPage().

QPushButton* Plot3DDialog::btnNumbersFont [private]

Referenced by initGeneralPage(), and setPlot().

QPushButton * Plot3DDialog::btnTable [private]

Referenced by Plot3DDialog(), and setPlot().

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]
QWidget * Plot3DDialog::colors [private]
QWidget * Plot3DDialog::conesPage [private]

Referenced by initPointsOptionsStack().

QWidget * Plot3DDialog::crossPage [private]

Referenced by initPointsOptionsStack().

QString Plot3DDialog::d_color_map_file [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]
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().

QStringList Plot3DDialog::tickLengths [private]

Referenced by setPlot(), and viewAxisOptions().

QGroupBox* Plot3DDialog::TicksGroupBox [private]

Referenced by initScalesPage(), and setPlot().

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

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

Referenced by initTitlePage().

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: