#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 | initPointsOptionsStack () |
void | pickAxisLabelFont () |
void | pickDataColorMap () |
void | pickNumbersFont () |
void | pickTitleFont () |
QStringList | scaleOptions (int axis, double start, double end, const QString &majors, const QString &minors) |
void | showBarsTab (double rad) |
void | showConesTab (double rad, int quality) |
void | showCrossHairTab (double rad, double linewidth, bool smooth, bool boxed) |
void | showPointsTab (double rad, bool smooth) |
bool | updatePlot () |
void | viewAxisOptions (int axis) |
void | viewScaleLimits (int axis) |
void | worksheet () |
Private Member Functions | |
void | initAxesPage () |
void | initColorsPage () |
void | initGeneralPage () |
void | initScalesPage () |
void | initTitlePage () |
Private Attributes | |
QWidget * | axes |
QGroupBox * | AxesColorGroupBox |
QListWidget * | axesList |
QListWidget * | axesList2 |
TextFormatButtons * | axisTitleFormatButtons |
QWidget * | bars |
QLineEdit * | boxBarsRad |
QCheckBox * | boxBoxed |
QLineEdit * | boxConesRad |
QLineEdit * | boxCrossLinewidth |
QLineEdit * | boxCrossRad |
QCheckBox * | boxCrossSmooth |
QSpinBox * | boxDistance |
QLineEdit * | boxFrom |
QTextEdit * | boxLabel |
QCheckBox * | boxLegend |
QLineEdit * | boxMajorLength |
QSpinBox * | boxMajors |
QDoubleSpinBox * | boxMeshLineWidth |
QLineEdit * | boxMinorLength |
QSpinBox * | boxMinors |
QCheckBox * | boxOrthogonal |
QComboBox * | boxPointStyle |
QSpinBox * | boxQuality |
QSpinBox * | boxResolution |
QLineEdit * | boxSize |
QCheckBox * | boxSmooth |
QTextEdit * | boxTitle |
QLineEdit * | boxTo |
QSpinBox * | boxTransparency |
QComboBox * | boxType |
QSpinBox * | boxXScale |
QSpinBox * | boxYScale |
QSpinBox * | boxZoom |
QSpinBox * | boxZScale |
ColorButton * | btnAxes |
ColorButton * | btnBackground |
QPushButton * | btnColorMap |
ColorButton * | btnFromColor |
ColorButton * | btnGrid |
QPushButton * | btnLabelFont |
ColorButton * | btnLabels |
ColorButton * | btnMesh |
ColorButton * | btnNumbers |
QPushButton * | btnNumbersFont |
QPushButton * | btnTable |
ColorButton * | btnTitleColor |
QPushButton * | btnTitleFont |
ColorButton * | btnToColor |
QPushButton * | buttonApply |
QPushButton * | buttonCancel |
QPushButton * | buttonOk |
QWidget * | colors |
QWidget * | conesPage |
QWidget * | crossPage |
Graph3D * | d_plot |
QWidget * | dotsPage |
QWidget * | general |
QTabWidget * | generalDialog |
QStringList | labels |
QFont | numbersFont |
QStackedWidget * | optionStack |
QWidget * | points |
QWidget * | scale |
QStringList | scales |
QStringList | tickLengths |
QGroupBox * | TicksGroupBox |
QWidget * | title |
QFont | titleFont |
TextFormatButtons * | titleFormatButtons |
QFont | xAxisFont |
QFont | yAxisFont |
QFont | zAxisFont |
Plot3DDialog::Plot3DDialog | ( | QWidget * | parent, | |
Qt::WFlags | fl = 0 | |||
) |
References accept(), bars, btnTable, buttonApply, buttonCancel, buttonOk, generalDialog, initAxesPage(), initColorsPage(), initGeneralPage(), initScalesPage(), initTitlePage(), points, updatePlot(), and worksheet().
void Plot3DDialog::accept | ( | ) | [private, slot] |
QFont Plot3DDialog::axisFont | ( | int | axis | ) | [private, slot] |
void Plot3DDialog::changeTransparency | ( | int | val | ) | [private, slot] |
References Graph3D::changeTransparency(), colors, d_plot, generalDialog, and Graph3D::update().
Referenced by initColorsPage().
void Plot3DDialog::changeZoom | ( | int | ) | [private, slot] |
References boxXScale, boxYScale, boxZoom, boxZScale, d_plot, general, generalDialog, Graph3D::setScale(), Graph3D::setZoom(), and Graph3D::update().
Referenced by initGeneralPage().
void Plot3DDialog::disableMeshOptions | ( | ) | [private, slot] |
void Plot3DDialog::initAxesPage | ( | ) | [private] |
References axes, axesList, axesList2, axisTitleFormatButtons, boxLabel, boxMajorLength, boxMinorLength, btnLabelFont, generalDialog, pickAxisLabelFont(), TextFormatButtons::toggleCurveButton(), TextFormatButtons::toggleFontButtons(), viewAxisOptions(), and viewScaleLimits().
Referenced by Plot3DDialog().
void Plot3DDialog::initColorsPage | ( | ) | [private] |
References AxesColorGroupBox, boxTransparency, btnAxes, btnBackground, btnColorMap, btnFromColor, btnGrid, btnLabels, btnMesh, btnNumbers, btnToColor, changeTransparency(), colors, generalDialog, and pickDataColorMap().
Referenced by Plot3DDialog().
void Plot3DDialog::initGeneralPage | ( | ) | [private] |
References boxDistance, boxLegend, boxMeshLineWidth, boxOrthogonal, boxResolution, boxXScale, boxYScale, boxZoom, boxZScale, btnNumbersFont, changeZoom(), general, generalDialog, and pickNumbersFont().
Referenced by Plot3DDialog().
void Plot3DDialog::initPointsOptionsStack | ( | ) | [private, slot] |
References boxBoxed, boxConesRad, boxCrossLinewidth, boxCrossRad, boxCrossSmooth, boxPointStyle, boxQuality, boxSize, boxSmooth, conesPage, crossPage, dotsPage, generalDialog, optionStack, and points.
Referenced by setPlot().
void Plot3DDialog::initScalesPage | ( | ) | [private] |
References axesList, boxFrom, boxMajors, boxMinors, boxTo, boxType, generalDialog, scale, and TicksGroupBox.
Referenced by Plot3DDialog().
void Plot3DDialog::initTitlePage | ( | ) | [private] |
References boxTitle, btnTitleColor, btnTitleFont, generalDialog, pickTitleFont(), title, titleFormatButtons, TextFormatButtons::toggleCurveButton(), and TextFormatButtons::toggleFontButtons().
Referenced by Plot3DDialog().
void Plot3DDialog::pickAxisLabelFont | ( | ) | [private, slot] |
void Plot3DDialog::pickDataColorMap | ( | ) | [private, slot] |
References Graph3D::colorMap(), d_plot, and Graph3D::setDataColorMap().
Referenced by initColorsPage().
void Plot3DDialog::pickNumbersFont | ( | ) | [private, slot] |
void Plot3DDialog::pickTitleFont | ( | ) | [private, slot] |
QStringList Plot3DDialog::scaleOptions | ( | int | axis, | |
double | start, | |||
double | end, | |||
const QString & | majors, | |||
const QString & | minors | |||
) | [private, slot] |
void Plot3DDialog::setPlot | ( | Graph3D * | g | ) |
References axes, Graph3D::axesColor(), AxesColorGroupBox, Graph3D::axesLabels(), Graph3D::axisTickLengths(), Graph3D::barsRadius(), Graph3D::bgColor(), boxDistance, Graph3D::boxedCrossHair(), boxFrom, boxLabel, boxLegend, boxMajorLength, boxMajors, boxMeshLineWidth, boxMinorLength, boxMinors, boxOrthogonal, boxResolution, boxTitle, boxTo, boxTransparency, boxType, boxXScale, boxYScale, boxZoom, boxZScale, btnAxes, btnBackground, btnFromColor, btnGrid, btnLabels, btnMesh, btnNumbers, btnNumbersFont, btnTable, btnTitleColor, btnToColor, Graph3D::coneQuality(), Graph3D::coneRadius(), Graph3D::Cones, Graph3D::coordStyle(), Graph3D::crossHairLinewidth(), Graph3D::crossHairRadius(), d_plot, disableMeshOptions(), Graph3D::Dots, generalDialog, Graph3D::gridColor(), Graph3D::grids(), Graph3D::HairCross, initPointsOptionsStack(), Graph3D::isLegendOn(), Graph3D::isOrthogonal(), Graph3D::labelColor(), labels, Graph3D::labelsDistance(), Graph3D::matrix(), Graph3D::maxDataColor(), Graph3D::meshColor(), Graph3D::meshLineWidth(), Graph3D::minDataColor(), Graph3D::None, Graph3D::numbersFont(), numbersFont, Graph3D::numColor(), Graph3D::parametricSurface(), Graph3D::plotStyle(), Graph3D::plotTitle(), Graph3D::pointsSize(), Graph3D::pointType(), Graph3D::resolution(), Graph3D::scaleLimits(), scales, ColorButton::setColor(), showBarsTab(), showConesTab(), showCrossHairTab(), showPointsTab(), Graph3D::smoothCrossHair(), Graph3D::smoothPoints(), Graph3D::table(), tickLengths, TicksGroupBox, Graph3D::titleColor(), Graph3D::titleFont(), titleFont, Graph3D::transparency(), Graph3D::userFunction(), Graph3D::VerticalBars, xAxisFont, Graph3D::xAxisLabelFont(), Graph3D::xScale(), yAxisFont, Graph3D::yAxisLabelFont(), Graph3D::yScale(), zAxisFont, Graph3D::zAxisLabelFont(), Graph3D::zoom(), and Graph3D::zScale().
Referenced by ApplicationWindow::showPlot3dDialog().
void Plot3DDialog::showAxisTab | ( | ) |
References axes, and generalDialog.
void Plot3DDialog::showBarsTab | ( | double | rad | ) | [private, slot] |
void Plot3DDialog::showConesTab | ( | double | rad, | |
int | quality | |||
) | [private, slot] |
void Plot3DDialog::showCrossHairTab | ( | double | rad, | |
double | linewidth, | |||
bool | smooth, | |||
bool | boxed | |||
) | [private, slot] |
References boxBoxed, boxCrossLinewidth, boxCrossRad, boxCrossSmooth, boxPointStyle, and optionStack.
Referenced by setPlot().
void Plot3DDialog::showGeneralTab | ( | ) |
References general, and generalDialog.
void Plot3DDialog::showPointsTab | ( | double | rad, | |
bool | smooth | |||
) | [private, slot] |
void Plot3DDialog::showTitleTab | ( | ) |
bool Plot3DDialog::updatePlot | ( | ) | [private, slot] |
References axes, axesList, axesList2, axisFont(), bars, boxBarsRad, boxBoxed, boxConesRad, boxCrossLinewidth, boxCrossRad, boxCrossSmooth, boxDistance, boxFrom, boxLabel, boxLegend, boxMajorLength, boxMajors, boxMeshLineWidth, boxMinorLength, boxMinors, boxPointStyle, boxQuality, boxResolution, boxSize, boxSmooth, boxTitle, boxTo, boxTransparency, boxXScale, boxYScale, boxZoom, boxZScale, btnAxes, btnBackground, btnFromColor, btnGrid, btnLabels, btnMesh, btnNumbers, btnTitleColor, btnToColor, Graph3D::changeTransparency(), ColorButton::color(), colors, ApplicationWindow::custom3DActions(), d_plot, general, generalDialog, labels, ApplicationWindow::modifiedProject(), numbersFont, points, scale, scaleOptions(), Graph3D::setAxesColor(), Graph3D::setBackgroundColor(), Graph3D::setBarRadius(), Graph3D::setBarStyle(), Graph3D::setConeOptions(), Graph3D::setConeStyle(), Graph3D::setCrossOptions(), Graph3D::setCrossStyle(), Graph3D::setDataColors(), Graph3D::setDotOptions(), Graph3D::setDotStyle(), Graph3D::setGridColor(), Graph3D::setLabelsColor(), Graph3D::setLabelsDistance(), Graph3D::setMeshColor(), Graph3D::setMeshLineWidth(), Graph3D::setNumbersColor(), Graph3D::setNumbersFont(), Graph3D::setResolution(), Graph3D::setScale(), 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(), and Graph3D::updateScale().
Referenced by accept(), and Plot3DDialog().
void Plot3DDialog::viewAxisOptions | ( | int | axis | ) | [private, slot] |
References boxLabel, boxMajorLength, boxMinorLength, labels, and tickLengths.
Referenced by initAxesPage().
void Plot3DDialog::viewScaleLimits | ( | int | axis | ) | [private, slot] |
void Plot3DDialog::worksheet | ( | ) | [private, slot] |
QWidget * Plot3DDialog::axes [private] |
Referenced by initAxesPage(), setPlot(), showAxisTab(), and updatePlot().
QGroupBox * Plot3DDialog::AxesColorGroupBox [private] |
Referenced by initColorsPage(), and setPlot().
QListWidget* Plot3DDialog::axesList [private] |
Referenced by initAxesPage(), initScalesPage(), and updatePlot().
QListWidget * Plot3DDialog::axesList2 [private] |
Referenced by initAxesPage(), pickAxisLabelFont(), and updatePlot().
Referenced by initAxesPage().
QWidget * Plot3DDialog::bars [private] |
Referenced by Plot3DDialog(), showBarsTab(), and updatePlot().
QLineEdit * Plot3DDialog::boxBarsRad [private] |
Referenced by showBarsTab(), and updatePlot().
QCheckBox * Plot3DDialog::boxBoxed [private] |
Referenced by initPointsOptionsStack(), showCrossHairTab(), and updatePlot().
QLineEdit * Plot3DDialog::boxConesRad [private] |
Referenced by initPointsOptionsStack(), showConesTab(), and updatePlot().
QLineEdit * Plot3DDialog::boxCrossLinewidth [private] |
Referenced by initPointsOptionsStack(), showCrossHairTab(), and updatePlot().
QLineEdit * Plot3DDialog::boxCrossRad [private] |
Referenced by initPointsOptionsStack(), showCrossHairTab(), and updatePlot().
QCheckBox * Plot3DDialog::boxCrossSmooth [private] |
Referenced by initPointsOptionsStack(), showCrossHairTab(), and updatePlot().
QSpinBox * Plot3DDialog::boxDistance [private] |
Referenced by initGeneralPage(), setPlot(), and updatePlot().
QLineEdit* Plot3DDialog::boxFrom [private] |
Referenced by initScalesPage(), setPlot(), updatePlot(), and viewScaleLimits().
QTextEdit * Plot3DDialog::boxLabel [private] |
Referenced by initAxesPage(), setPlot(), updatePlot(), and viewAxisOptions().
QCheckBox* Plot3DDialog::boxLegend [private] |
Referenced by initGeneralPage(), setPlot(), and updatePlot().
QLineEdit* Plot3DDialog::boxMajorLength [private] |
Referenced by initAxesPage(), setPlot(), updatePlot(), and viewAxisOptions().
QSpinBox* Plot3DDialog::boxMajors [private] |
Referenced by initScalesPage(), setPlot(), updatePlot(), and viewScaleLimits().
QDoubleSpinBox* Plot3DDialog::boxMeshLineWidth [private] |
Referenced by disableMeshOptions(), initGeneralPage(), setPlot(), and updatePlot().
QLineEdit * Plot3DDialog::boxMinorLength [private] |
Referenced by initAxesPage(), setPlot(), updatePlot(), and viewAxisOptions().
QSpinBox * Plot3DDialog::boxMinors [private] |
Referenced by initScalesPage(), setPlot(), updatePlot(), and viewScaleLimits().
QCheckBox * Plot3DDialog::boxOrthogonal [private] |
Referenced by initGeneralPage(), and setPlot().
QComboBox * Plot3DDialog::boxPointStyle [private] |
Referenced by initPointsOptionsStack(), showConesTab(), showCrossHairTab(), showPointsTab(), and updatePlot().
QSpinBox * Plot3DDialog::boxQuality [private] |
Referenced by initPointsOptionsStack(), showConesTab(), and updatePlot().
QSpinBox* Plot3DDialog::boxResolution [private] |
Referenced by initGeneralPage(), setPlot(), and updatePlot().
QLineEdit* Plot3DDialog::boxSize [private] |
Referenced by initPointsOptionsStack(), showPointsTab(), and updatePlot().
QCheckBox * Plot3DDialog::boxSmooth [private] |
Referenced by initPointsOptionsStack(), showPointsTab(), and updatePlot().
QTextEdit* Plot3DDialog::boxTitle [private] |
Referenced by initTitlePage(), setPlot(), and updatePlot().
QLineEdit * Plot3DDialog::boxTo [private] |
Referenced by initScalesPage(), setPlot(), updatePlot(), and viewScaleLimits().
QSpinBox * Plot3DDialog::boxTransparency [private] |
Referenced by initColorsPage(), setPlot(), and updatePlot().
QComboBox* Plot3DDialog::boxType [private] |
Referenced by initScalesPage(), scaleOptions(), setPlot(), and viewScaleLimits().
QSpinBox * Plot3DDialog::boxXScale [private] |
Referenced by changeZoom(), initGeneralPage(), setPlot(), and updatePlot().
QSpinBox * Plot3DDialog::boxYScale [private] |
Referenced by changeZoom(), initGeneralPage(), setPlot(), and updatePlot().
QSpinBox* Plot3DDialog::boxZoom [private] |
Referenced by changeZoom(), initGeneralPage(), setPlot(), and updatePlot().
QSpinBox * Plot3DDialog::boxZScale [private] |
Referenced by changeZoom(), initGeneralPage(), setPlot(), and updatePlot().
ColorButton * Plot3DDialog::btnAxes [private] |
Referenced by initColorsPage(), setPlot(), and updatePlot().
ColorButton* Plot3DDialog::btnBackground [private] |
Referenced by initColorsPage(), setPlot(), and updatePlot().
QPushButton * Plot3DDialog::btnColorMap [private] |
Referenced by initColorsPage().
ColorButton* Plot3DDialog::btnFromColor [private] |
Referenced by initColorsPage(), setPlot(), and updatePlot().
ColorButton * Plot3DDialog::btnGrid [private] |
Referenced by initColorsPage(), setPlot(), and updatePlot().
QPushButton * Plot3DDialog::btnLabelFont [private] |
Referenced by initAxesPage().
ColorButton * Plot3DDialog::btnLabels [private] |
Referenced by initColorsPage(), setPlot(), and updatePlot().
ColorButton * Plot3DDialog::btnMesh [private] |
Referenced by disableMeshOptions(), initColorsPage(), setPlot(), and updatePlot().
ColorButton * Plot3DDialog::btnNumbers [private] |
Referenced by initColorsPage(), setPlot(), and updatePlot().
QPushButton* Plot3DDialog::btnNumbersFont [private] |
Referenced by initGeneralPage(), and setPlot().
QPushButton * Plot3DDialog::btnTable [private] |
Referenced by Plot3DDialog(), and setPlot().
ColorButton * Plot3DDialog::btnTitleColor [private] |
Referenced by initTitlePage(), setPlot(), and updatePlot().
QPushButton* Plot3DDialog::btnTitleFont [private] |
Referenced by initTitlePage().
ColorButton * Plot3DDialog::btnToColor [private] |
Referenced by initColorsPage(), setPlot(), and updatePlot().
QPushButton* Plot3DDialog::buttonApply [private] |
Referenced by Plot3DDialog().
QPushButton* Plot3DDialog::buttonCancel [private] |
Referenced by Plot3DDialog().
QPushButton* Plot3DDialog::buttonOk [private] |
Referenced by Plot3DDialog().
QWidget * Plot3DDialog::colors [private] |
Referenced by changeTransparency(), initColorsPage(), and updatePlot().
QWidget * Plot3DDialog::conesPage [private] |
Referenced by initPointsOptionsStack().
QWidget * Plot3DDialog::crossPage [private] |
Referenced by initPointsOptionsStack().
Graph3D* Plot3DDialog::d_plot [private] |
Referenced by changeTransparency(), changeZoom(), pickDataColorMap(), setPlot(), updatePlot(), and worksheet().
QWidget* Plot3DDialog::dotsPage [private] |
Referenced by initPointsOptionsStack().
QWidget * Plot3DDialog::general [private] |
Referenced by changeZoom(), initGeneralPage(), showGeneralTab(), and updatePlot().
QTabWidget* Plot3DDialog::generalDialog [private] |
QStringList Plot3DDialog::labels [private] |
Referenced by setPlot(), updatePlot(), and viewAxisOptions().
QFont Plot3DDialog::numbersFont [private] |
Referenced by pickNumbersFont(), setPlot(), and updatePlot().
QStackedWidget* Plot3DDialog::optionStack [private] |
Referenced by initPointsOptionsStack(), showConesTab(), showCrossHairTab(), and showPointsTab().
QWidget * Plot3DDialog::points [private] |
Referenced by initPointsOptionsStack(), Plot3DDialog(), and updatePlot().
QWidget* Plot3DDialog::scale [private] |
Referenced by initScalesPage(), and updatePlot().
QStringList Plot3DDialog::scales [private] |
Referenced by scaleOptions(), setPlot(), and viewScaleLimits().
QStringList Plot3DDialog::tickLengths [private] |
Referenced by setPlot(), and viewAxisOptions().
QGroupBox* Plot3DDialog::TicksGroupBox [private] |
Referenced by initScalesPage(), and setPlot().
QWidget * Plot3DDialog::title [private] |
Referenced by initTitlePage(), showTitleTab(), and updatePlot().
QFont Plot3DDialog::titleFont [private] |
Referenced by pickTitleFont(), setPlot(), and updatePlot().
Referenced by initTitlePage().
QFont Plot3DDialog::xAxisFont [private] |
Referenced by axisFont(), pickAxisLabelFont(), and setPlot().
QFont Plot3DDialog::yAxisFont [private] |
Referenced by axisFont(), pickAxisLabelFont(), and setPlot().
QFont Plot3DDialog::zAxisFont [private] |
Referenced by axisFont(), pickAxisLabelFont(), and setPlot().