General plot options dialog. More...
#include <AxesDialog.h>
Public Slots | |
int | exec () |
Shows the dialog as a modal dialog. | |
void | setCurrentScale (int axisPos) |
void | showAxesPage () |
void | showFormulaBox () |
void | showGeneralPage () |
void | showGridPage () |
Public Member Functions | |
AxesDialog (QWidget *parent=0, Qt::WFlags fl=0) | |
Constructor. | |
void | setGraph (Graph *g) |
Protected Member Functions | |
void | applyAxisFormatToLayer (Graph *g) |
Customizes graph axes. | |
void | applyCanvasFormatTo (Graph *g) |
void | applyChangesToGrid (Grid *grid) |
Modifies the grid. | |
void | initAxesPage () |
generate UI for the axes page | |
void | initFramePage () |
generate UI for the general page | |
void | initGridPage () |
generate UI for the grid page | |
void | initScalesPage () |
generate UI for the scales page | |
Protected Attributes | |
QList< int > | axesBaseline |
QListWidget * | axesGridList |
QListWidget * | axesList |
QWidget * | axesPage |
QListWidget * | axesTitlesList |
QComboBox * | axisFormatApplyToBox |
QGroupBox * | axisFormatBox |
QSpinBox * | boxAngle |
QCheckBox * | boxAntialiseGrid |
QComboBox * | boxApplyGridFormat |
QGroupBox * | boxAxesBreaks |
QSpinBox * | boxAxesLinewidth |
QCheckBox * | boxAxisBackbone |
ColorButton * | boxAxisColor |
ColorButton * | boxAxisNumColor |
QComboBox * | boxAxisType |
QCheckBox * | boxBackbones |
QSpinBox * | boxBaseline |
QSpinBox * | boxBorderWidth |
QCheckBox * | boxBreakDecoration |
DoubleSpinBox * | boxBreakEnd |
QSpinBox * | boxBreakPosition |
DoubleSpinBox * | boxBreakStart |
QSpinBox * | boxBreakWidth |
ColorButton * | boxCanvasColor |
QComboBox * | boxColName |
ColorButton * | boxColorMajor |
ColorButton * | boxColorMinor |
DoubleSpinBox * | boxEnd |
QDateTimeEdit * | boxEndDateTime |
QTimeEdit * | boxEndTime |
QComboBox * | boxFormat |
QTextEdit * | boxFormula |
ColorButton * | boxFrameColor |
QGroupBox * | boxFramed |
QSpinBox * | boxFrameWidth |
QComboBox * | boxGridXAxis |
QComboBox * | boxGridYAxis |
QSpinBox * | boxLabelsDistance |
QCheckBox * | boxLog10AfterBreak |
QCheckBox * | boxMajorGrid |
QSpinBox * | boxMajorTicksLength |
QComboBox * | boxMajorTicksType |
QSpinBox * | boxMajorValue |
QCheckBox * | boxMinorGrid |
QComboBox * | boxMinorTicksAfterBreak |
QComboBox * | boxMinorTicksBeforeBreak |
QSpinBox * | boxMinorTicksLength |
QComboBox * | boxMinorTicksType |
QComboBox * | boxMinorValue |
QSpinBox * | boxPrecision |
QLineEdit * | boxPrefix |
QComboBox * | boxScaleType |
QLabel * | boxScaleTypeLabel |
QCheckBox * | boxShowAxis |
QCheckBox * | boxShowFormula |
QGroupBox * | boxShowLabels |
DoubleSpinBox * | boxStart |
QDateTimeEdit * | boxStartDateTime |
QTimeEdit * | boxStartTime |
DoubleSpinBox * | boxStep |
DoubleSpinBox * | boxStepAfterBreak |
DoubleSpinBox * | boxStepBeforeBreak |
QLineEdit * | boxSuffix |
QComboBox * | boxTableName |
QSpinBox * | boxTickLabelDistance |
QTextEdit * | boxTitle |
PenStyleBox * | boxTypeMajor |
PenStyleBox * | boxTypeMinor |
QComboBox * | boxUnit |
DoubleSpinBox * | boxWidthMajor |
DoubleSpinBox * | boxWidthMinor |
QCheckBox * | boxXLine |
QCheckBox * | boxYLine |
QPushButton * | btnAxesFont |
QCheckBox * | btnInvert |
QRadioButton * | btnMajor |
QRadioButton * | btnStep |
QPushButton * | buttonApply |
QPushButton * | buttonCancel |
QPushButton * | buttonLabelFont |
QPushButton * | buttonOk |
QComboBox * | canvasFrameApplyToBox |
Graph * | d_graph |
TextFormatButtons * | formatButtons |
QWidget * | frame |
QPushButton * | frameDefaultBtn |
QTabWidget * | generalDialog |
QWidget * | gridPage |
QCheckBox * | invertTitleBox |
QLabel * | label1 |
QLabel * | label2 |
QLabel * | label3 |
QGroupBox * | labelBox |
QLabel * | labelTable |
QWidget * | lastPage |
Last selected tab. | |
QList< int > | majTicks |
QLabel * | minorBoxLabel |
QList< int > | minTicks |
QDateTimeEdit * | originDateTimeBox |
bool | rightAxisOn |
QWidget * | scalesPage |
QComboBox * | showTicksPolicyBox |
QStringList | tablesList |
QStringList | tickLabelsOn |
bool | topAxisOn |
bool | xAxisOn |
int | xBottomLabelsRotation |
int | xTopLabelsRotation |
bool | yAxisOn |
Private Slots | |
void | accept () |
void | applyAxisFormat () |
void | applyCanvasFormat () |
void | changeMajorTicksLength (int majLength) |
void | changeMinorTicksLength (int minLength) |
void | customAxisFont () |
void | customAxisLabelFont () |
void | majorGridEnabled (bool on) |
int | mapToQwtAxis (int axis) |
int | mapToQwtAxisId () |
void | minorGridEnabled (bool on) |
void | pageChanged (QWidget *page) |
void | setAxisType (int axis) |
void | setBaselineDist (int) |
void | setDisplayDateTimeFormat (const QString &) |
void | setFrameDefaultValues () |
void | setLabelsNumericFormat (int) |
void | setTicksType (int) |
void | showAxis (int, int, const QString &, bool, int, int, bool, const QColor &, int, int, int, int, const QString &, const QColor &, int, bool, int) |
void | showAxis () |
void | showAxisFormatOptions (int format) |
void | showAxisFormula (int axis) |
void | showGridOptions (int axis) |
void | stepDisabled () |
void | stepEnabled () |
void | updateAxisColor (int) |
void | updateAxisType (int axis) |
void | updateCurrentAxis () |
void | updateGrid () |
void | updateLabelsFormat (int) |
void | updateMinorTicksList (int scaleType) |
bool | updatePlot (QWidget *page=NULL) |
void | updateScale () |
void | updateShowBox (int axis) |
void | updateTickLabelsList (bool) |
void | updateTitleBox (int axis) |
General plot options dialog.
Remark: Don't use this dialog as a non modal dialog!
AxesDialog::AxesDialog | ( | QWidget * | parent = 0 , |
|
Qt::WFlags | fl = 0 | |||
) |
Constructor.
parent | parent widget | |
fl | window flags |
References accept(), buttonApply, buttonCancel, buttonOk, generalDialog, initAxesPage(), initFramePage(), initGridPage(), initScalesPage(), lastPage, pageChanged(), scalesPage, and updatePlot().
void AxesDialog::accept | ( | ) | [private, slot] |
References updatePlot().
Referenced by AxesDialog().
void AxesDialog::applyAxisFormat | ( | ) | [private, slot] |
References applyAxisFormatToLayer(), axesPage, axisFormatApplyToBox, d_graph, generalDialog, MultiLayer::layersList(), ApplicationWindow::modifiedProject(), Graph::multiLayer(), and ApplicationWindow::windowsList().
Referenced by customAxisFont(), and updatePlot().
void AxesDialog::applyAxisFormatToLayer | ( | Graph * | g | ) | [protected] |
Customizes graph axes.
References boxAxisBackbone, boxAxisColor, boxAxisNumColor, boxBaseline, boxMajorTicksLength, boxMajorTicksType, boxMinorTicksLength, boxMinorTicksType, boxTickLabelDistance, ColorButton::color(), d_graph, mapToQwtAxisId(), Graph::setAxisFont(), Graph::setAxisTicksLength(), ScaleDraw::setShowTicksPolicy(), showTicksPolicyBox, and Graph::updateLayout().
Referenced by applyAxisFormat().
void AxesDialog::applyCanvasFormat | ( | ) | [private, slot] |
References applyCanvasFormatTo(), canvasFrameApplyToBox, d_graph, frame, generalDialog, MultiLayer::layersList(), ApplicationWindow::modifiedProject(), Graph::multiLayer(), and ApplicationWindow::windowsList().
Referenced by changeMajorTicksLength(), changeMinorTicksLength(), initFramePage(), and updatePlot().
void AxesDialog::applyCanvasFormatTo | ( | Graph * | g | ) | [protected] |
void AxesDialog::applyChangesToGrid | ( | Grid * | grid | ) | [protected] |
Modifies the grid.
References axesGridList, boxAntialiseGrid, boxColorMajor, boxColorMinor, boxGridXAxis, boxGridYAxis, boxMajorGrid, boxMinorGrid, boxTypeMajor, boxTypeMinor, boxWidthMajor, boxWidthMinor, boxXLine, boxYLine, ColorButton::color(), Grid::enableZeroLineX(), Grid::enableZeroLineY(), Grid::setMajPenX(), Grid::setMajPenY(), Grid::setMinPenX(), Grid::setMinPenY(), PenStyleBox::style(), and DoubleSpinBox::value().
Referenced by updateGrid().
void AxesDialog::changeMajorTicksLength | ( | int | majLength | ) | [private, slot] |
References applyCanvasFormat(), and boxMinorTicksLength.
Referenced by initFramePage().
void AxesDialog::changeMinorTicksLength | ( | int | minLength | ) | [private, slot] |
References applyCanvasFormat(), and boxMajorTicksLength.
Referenced by initFramePage().
void AxesDialog::customAxisFont | ( | ) | [private, slot] |
References applyAxisFormat(), d_graph, mapToQwtAxisId(), and Graph::setAxisFont().
Referenced by initAxesPage().
void AxesDialog::customAxisLabelFont | ( | ) | [private, slot] |
References Graph::axisTitleFont(), d_graph, mapToQwtAxisId(), and Graph::setAxisTitleFont().
Referenced by initAxesPage().
int AxesDialog::exec | ( | ) | [slot] |
Shows the dialog as a modal dialog.
Show the dialog as a modal dialog and do some initialization.
References axesGridList, axesList, and axesTitlesList.
Referenced by ApplicationWindow::showScaleDialog().
void AxesDialog::initAxesPage | ( | ) | [protected] |
generate UI for the axes page
References axesPage, axesTitlesList, axisFormatApplyToBox, axisFormatBox, TextFormatButtons::AxisLabel, boxAngle, boxAxisBackbone, boxAxisColor, boxAxisNumColor, boxAxisType, boxBaseline, boxColName, boxFormat, boxFormula, boxLabelsDistance, boxMajorTicksType, boxMinorTicksType, boxPrecision, boxPrefix, boxShowAxis, boxShowFormula, boxShowLabels, boxSuffix, boxTableName, boxTickLabelDistance, boxTitle, btnAxesFont, buttonLabelFont, customAxisFont(), customAxisLabelFont(), formatButtons, generalDialog, invertTitleBox, label1, label2, label3, labelBox, labelTable, originDateTimeBox, setAxisType(), setBaselineDist(), setDisplayDateTimeFormat(), setLabelsNumericFormat(), setTicksType(), showAxis(), showAxisFormatOptions(), showFormulaBox(), showTicksPolicyBox, updateAxisColor(), updateCurrentAxis(), updateLabelsFormat(), updatePlot(), updateShowBox(), updateTickLabelsList(), and updateTitleBox().
Referenced by AxesDialog().
void AxesDialog::initFramePage | ( | ) | [protected] |
generate UI for the general page
References applyCanvasFormat(), boxAxesLinewidth, boxBackbones, boxFrameColor, boxFramed, boxFrameWidth, boxMajorTicksLength, boxMinorTicksLength, canvasFrameApplyToBox, changeMajorTicksLength(), changeMinorTicksLength(), frame, frameDefaultBtn, generalDialog, and setFrameDefaultValues().
Referenced by AxesDialog().
void AxesDialog::initGridPage | ( | ) | [protected] |
generate UI for the grid page
References axesGridList, boxAntialiseGrid, boxApplyGridFormat, boxColorMajor, boxColorMinor, boxGridXAxis, boxGridYAxis, boxMajorGrid, boxMinorGrid, boxTypeMajor, boxTypeMinor, boxWidthMajor, boxWidthMinor, boxXLine, boxYLine, generalDialog, gridPage, majorGridEnabled(), minorGridEnabled(), DoubleSpinBox::setRange(), DoubleSpinBox::setSingleStep(), DoubleSpinBox::setValue(), showGridOptions(), updateGrid(), and updatePlot().
Referenced by AxesDialog().
void AxesDialog::initScalesPage | ( | ) | [protected] |
generate UI for the scales page
References axesList, boxAxesBreaks, boxBreakDecoration, boxBreakEnd, boxBreakPosition, boxBreakStart, boxBreakWidth, boxEnd, boxEndDateTime, boxEndTime, boxLog10AfterBreak, boxMajorValue, boxMinorTicksAfterBreak, boxMinorTicksBeforeBreak, boxMinorValue, boxScaleType, boxScaleTypeLabel, boxStart, boxStartDateTime, boxStartTime, boxStep, boxStepAfterBreak, boxStepBeforeBreak, boxUnit, btnInvert, btnMajor, btnStep, ApplicationWindow::d_decimal_digits, generalDialog, minorBoxLabel, scalesPage, DoubleSpinBox::setDecimals(), DoubleSpinBox::setMinimum(), stepDisabled(), stepEnabled(), updateMinorTicksList(), updatePlot(), and updateScale().
Referenced by AxesDialog().
void AxesDialog::majorGridEnabled | ( | bool | on | ) | [private, slot] |
References boxColorMajor, boxTypeMajor, boxWidthMajor, and updateGrid().
Referenced by initGridPage().
int AxesDialog::mapToQwtAxis | ( | int | axis | ) | [private, slot] |
Referenced by mapToQwtAxisId(), updateMinorTicksList(), updatePlot(), updateScale(), and updateTitleBox().
int AxesDialog::mapToQwtAxisId | ( | ) | [private, slot] |
References axesTitlesList, and mapToQwtAxis().
Referenced by applyAxisFormatToLayer(), customAxisFont(), customAxisLabelFont(), setAxisType(), setBaselineDist(), setDisplayDateTimeFormat(), setLabelsNumericFormat(), setTicksType(), showAxisFormatOptions(), updateAxisColor(), updateAxisType(), updateCurrentAxis(), updateLabelsFormat(), updatePlot(), and updateTickLabelsList().
void AxesDialog::minorGridEnabled | ( | bool | on | ) | [private, slot] |
References boxColorMinor, boxTypeMinor, boxWidthMinor, and updateGrid().
Referenced by initGridPage().
void AxesDialog::pageChanged | ( | QWidget * | page | ) | [private, slot] |
References axesList, axesPage, axesTitlesList, lastPage, scalesPage, updateCurrentAxis(), updatePlot(), and updateScale().
Referenced by AxesDialog().
void AxesDialog::setAxisType | ( | int | axis | ) | [private, slot] |
References Graph::axisFormatInfo(), Graph::axisType(), boxAxisType, boxColName, d_graph, mapToQwtAxisId(), and showAxisFormatOptions().
Referenced by initAxesPage().
void AxesDialog::setBaselineDist | ( | int | ) | [private, slot] |
References axesBaseline, boxBaseline, and mapToQwtAxisId().
Referenced by initAxesPage().
void AxesDialog::setCurrentScale | ( | int | axisPos | ) | [slot] |
References axesList, axesPage, axesTitlesList, generalDialog, and scalesPage.
Referenced by ApplicationWindow::showAxisPageFromAxisDialog(), and ApplicationWindow::showScalePageFromAxisDialog().
void AxesDialog::setDisplayDateTimeFormat | ( | const QString & | format | ) | [private, slot] |
References d_graph, mapToQwtAxisId(), originDateTimeBox, ScaleDraw::scaleType(), and ScaleDraw::Time.
Referenced by initAxesPage().
void AxesDialog::setFrameDefaultValues | ( | ) | [private, slot] |
References ApplicationWindow::axesLineWidth, boxAxesLinewidth, boxBackbones, boxFrameColor, boxFramed, boxFrameWidth, boxMajorTicksLength, boxMinorTicksLength, ApplicationWindow::canvasFrameWidth, ColorButton::color(), ApplicationWindow::d_canvas_frame_color, ApplicationWindow::drawBackbones, ApplicationWindow::majTicksLength, ApplicationWindow::minTicksLength, and ApplicationWindow::saveSettings().
Referenced by initFramePage().
void AxesDialog::setGraph | ( | Graph * | g | ) |
References Table::All, Graph::axesBackbones(), axesBaseline, axesGridList, Graph::axesLinewidth(), boxAxesLinewidth, boxBackbones, boxColName, boxFrameColor, boxFramed, boxFrameWidth, boxMajorTicksLength, boxMinorTicksLength, boxTableName, Graph::canvasFrameColor(), Graph::canvasFrameWidth(), ApplicationWindow::columnsList(), d_graph, Graph::getMajorTicksType(), Graph::getMinorTicksType(), Graph::labelsRotation(), Graph::majorTickLength(), majTicks, Graph::minorTickLength(), minTicks, rightAxisOn, ColorButton::setColor(), showGridOptions(), ApplicationWindow::tableNames(), tablesList, tickLabelsOn, topAxisOn, updateTitleBox(), xAxisOn, xBottomLabelsRotation, xTopLabelsRotation, and yAxisOn.
Referenced by ApplicationWindow::showScaleDialog().
void AxesDialog::setLabelsNumericFormat | ( | int | ) | [private, slot] |
References Graph::axisLabelFormat(), Graph::axisLabelPrecision(), boxAngle, boxAxisBackbone, boxAxisColor, boxAxisNumColor, boxAxisType, boxBaseline, boxColName, boxFormat, boxFormula, boxMajorTicksType, boxMinorTicksType, boxPrecision, boxShowAxis, boxShowFormula, boxShowLabels, boxTickLabelDistance, ColorButton::color(), d_graph, ScaleDraw::Date, ScaleDraw::Day, mapToQwtAxisId(), ScaleDraw::Month, ScaleDraw::Numeric, originDateTimeBox, showAxis(), showTicksPolicyBox, and ScaleDraw::Time.
Referenced by initAxesPage().
void AxesDialog::setTicksType | ( | int | ) | [private, slot] |
References boxMajorTicksType, boxMinorTicksType, majTicks, mapToQwtAxisId(), and minTicks.
Referenced by initAxesPage().
void AxesDialog::showAxesPage | ( | ) | [slot] |
References axesPage, and generalDialog.
Referenced by ApplicationWindow::showAxisPageFromAxisDialog().
void AxesDialog::showAxis | ( | int | axis, | |
int | type, | |||
const QString & | labelsColName, | |||
bool | axisOn, | |||
int | majTicksType, | |||
int | minTicksType, | |||
bool | labelsOn, | |||
const QColor & | c, | |||
int | format, | |||
int | prec, | |||
int | rotation, | |||
int | baselineDist, | |||
const QString & | formula, | |||
const QColor & | labelsColor, | |||
int | spacing, | |||
bool | backbone, | |||
int | showTicks | |||
) | [private, slot] |
References boxPrefix, boxSuffix, ScaleDraw::ColHeader, d_graph, Graph::showAxis(), ApplicationWindow::table(), and ScaleDraw::Text.
void AxesDialog::showAxis | ( | ) | [private, slot] |
References axesTitlesList, axisFormatBox, boxAngle, boxAxisBackbone, boxAxisColor, boxAxisNumColor, boxAxisType, boxBaseline, boxColName, boxFormat, boxFormula, boxMajorTicksType, boxMinorTicksType, boxPrecision, boxShowAxis, boxShowFormula, boxShowLabels, boxTickLabelDistance, ColorButton::color(), labelBox, rightAxisOn, showTicksPolicyBox, tickLabelsOn, topAxisOn, xAxisOn, and yAxisOn.
Referenced by initAxesPage(), setLabelsNumericFormat(), updatePlot(), and updateTickLabelsList().
void AxesDialog::showAxisFormatOptions | ( | int | format | ) | [private, slot] |
References Graph::axisFormatInfo(), Graph::axisLabelFormat(), boxColName, boxFormat, boxFormula, boxPrecision, boxShowFormula, boxTableName, d_graph, ScaleDraw::dateTimeOrigin(), ScaleDraw::format(), label1, label2, label3, labelTable, mapToQwtAxisId(), originDateTimeBox, showAxisFormula(), and tablesList.
Referenced by initAxesPage(), and setAxisType().
void AxesDialog::showAxisFormula | ( | int | axis | ) | [private, slot] |
References Graph::axisFormula(), boxFormula, boxShowFormula, and d_graph.
Referenced by showAxisFormatOptions().
void AxesDialog::showFormulaBox | ( | ) | [slot] |
References boxFormula, and boxShowFormula.
Referenced by initAxesPage().
void AxesDialog::showGeneralPage | ( | ) | [slot] |
References frame, and generalDialog.
void AxesDialog::showGridOptions | ( | int | axis | ) | [private, slot] |
References boxAntialiseGrid, boxColorMajor, boxColorMinor, boxGridXAxis, boxGridYAxis, boxMajorGrid, boxMinorGrid, boxTypeMajor, boxTypeMinor, boxWidthMajor, boxWidthMinor, boxXLine, boxYLine, d_graph, Graph::grid(), Grid::majPenX(), Grid::majPenY(), Grid::minPenX(), Grid::minPenY(), ColorButton::setColor(), PenStyleBox::setStyle(), DoubleSpinBox::setValue(), Grid::xZeroLineEnabled(), and Grid::yZeroLineEnabled().
Referenced by initGridPage(), and setGraph().
void AxesDialog::showGridPage | ( | ) | [slot] |
References generalDialog, and gridPage.
Referenced by ApplicationWindow::showGridDialog().
void AxesDialog::stepDisabled | ( | ) | [private, slot] |
References boxMajorValue, boxStep, boxUnit, btnMajor, and btnStep.
Referenced by initScalesPage().
void AxesDialog::stepEnabled | ( | ) | [private, slot] |
References boxMajorValue, boxStep, boxUnit, btnMajor, and btnStep.
Referenced by initScalesPage().
void AxesDialog::updateAxisColor | ( | int | ) | [private, slot] |
References Graph::axisColor(), Graph::axisLabelsColor(), boxAxisColor, boxAxisNumColor, d_graph, mapToQwtAxisId(), and ColorButton::setColor().
Referenced by initAxesPage().
void AxesDialog::updateAxisType | ( | int | axis | ) | [private, slot] |
References boxAxisType, and mapToQwtAxisId().
void AxesDialog::updateCurrentAxis | ( | ) | [private, slot] |
References boxAxisBackbone, boxPrefix, boxShowLabels, boxSuffix, boxTickLabelDistance, d_graph, mapToQwtAxisId(), ScaleDraw::prefix(), ScaleDraw::showTicksPolicy(), showTicksPolicyBox, and ScaleDraw::suffix().
Referenced by initAxesPage(), and pageChanged().
void AxesDialog::updateGrid | ( | ) | [private, slot] |
References MdiSubWindow::applicationWindow(), applyChangesToGrid(), boxApplyGridFormat, d_graph, generalDialog, Graph::grid(), gridPage, Graph::isPiePlot(), MultiLayer::layersList(), ApplicationWindow::modifiedProject(), Graph::multiLayer(), Graph::notifyChanges(), and ApplicationWindow::windowsList().
Referenced by initGridPage(), majorGridEnabled(), minorGridEnabled(), and updatePlot().
void AxesDialog::updateLabelsFormat | ( | int | ) | [private, slot] |
References Graph::axisFormula(), Graph::axisLabelFormat(), Graph::axisLabelPrecision(), boxAxisType, boxFormat, boxFormula, boxPrecision, boxShowFormula, d_graph, and mapToQwtAxisId().
Referenced by initAxesPage().
void AxesDialog::updateMinorTicksList | ( | int | scaleType | ) | [private, slot] |
References axesList, boxMinorValue, Graph::curvesList(), d_graph, FunctionCurve::loadData(), mapToQwtAxis(), PlotCurve::type(), and updatePlot().
Referenced by initScalesPage().
bool AxesDialog::updatePlot | ( | QWidget * | page = NULL |
) | [private, slot] |
References applyAxisFormat(), applyCanvasFormat(), axesBaseline, axesList, axesPage, Graph::axisTitleString(), Graph::axisType(), boxAngle, boxAxesBreaks, boxAxisBackbone, boxAxisColor, boxAxisNumColor, boxAxisType, boxBaseline, boxBreakDecoration, boxBreakEnd, boxBreakPosition, boxBreakStart, boxBreakWidth, boxColName, boxEnd, boxEndDateTime, boxEndTime, boxFormat, boxFormula, boxLabelsDistance, boxLog10AfterBreak, boxMajorTicksType, boxMajorValue, boxMinorTicksAfterBreak, boxMinorTicksBeforeBreak, boxMinorTicksType, boxMinorValue, boxPrecision, boxScaleType, boxShowAxis, boxShowFormula, boxShowLabels, boxStart, boxStartDateTime, boxStartTime, boxStep, boxStepAfterBreak, boxStepBeforeBreak, boxTableName, boxTickLabelDistance, boxTitle, boxUnit, btnInvert, btnStep, ScaleDraw::ColHeader, ColorButton::color(), d_graph, ScaleDraw::Date, ScaleDraw::dateTimeOrigin(), ScaleDraw::Day, frame, generalDialog, gridPage, invertTitleBox, mapToQwtAxis(), mapToQwtAxisId(), ScaleDraw::Month, Graph::notifyChanges(), ScaleDraw::Numeric, originDateTimeBox, scalesPage, Graph::setAxisTitle(), Graph::setAxisTitleDistance(), Graph::setScale(), showAxis(), showTicksPolicyBox, ScaleDraw::Time, updateGrid(), DoubleSpinBox::value(), xBottomLabelsRotation, and xTopLabelsRotation.
Referenced by accept(), AxesDialog(), initAxesPage(), initGridPage(), initScalesPage(), pageChanged(), and updateMinorTicksList().
void AxesDialog::updateScale | ( | ) | [private, slot] |
References axesList, Graph::axisStep(), Graph::axisType(), boxAxesBreaks, boxBreakDecoration, boxBreakEnd, boxBreakPosition, boxBreakStart, boxBreakWidth, boxEnd, boxEndDateTime, boxEndTime, boxLog10AfterBreak, boxMajorValue, boxMinorTicksAfterBreak, boxMinorTicksBeforeBreak, boxMinorValue, boxScaleType, boxStart, boxStartDateTime, boxStartTime, boxStep, boxStepAfterBreak, boxStepBeforeBreak, boxUnit, btnInvert, btnMajor, btnStep, d_graph, ScaleDraw::Date, ScaleDraw::dateTimeOrigin(), ScaleDraw::format(), ScaleTransformation::Log10, mapToQwtAxis(), DoubleSpinBox::setSingleStep(), DoubleSpinBox::setValue(), and ScaleDraw::Time.
Referenced by initScalesPage(), and pageChanged().
void AxesDialog::updateShowBox | ( | int | axis | ) | [private, slot] |
References axisFormatBox, boxAngle, boxFormat, boxShowAxis, boxShowLabels, labelBox, rightAxisOn, tickLabelsOn, topAxisOn, xAxisOn, xBottomLabelsRotation, xTopLabelsRotation, and yAxisOn.
Referenced by initAxesPage().
void AxesDialog::updateTickLabelsList | ( | bool | on | ) | [private, slot] |
References boxAngle, boxAxisBackbone, boxAxisColor, boxAxisNumColor, boxAxisType, boxBaseline, boxColName, boxFormat, boxFormula, boxMajorTicksType, boxMinorTicksType, boxPrecision, boxShowAxis, boxShowFormula, boxShowLabels, boxTickLabelDistance, ColorButton::color(), ScaleDraw::Date, ScaleDraw::Day, mapToQwtAxisId(), ScaleDraw::Month, originDateTimeBox, showAxis(), showTicksPolicyBox, tickLabelsOn, and ScaleDraw::Time.
Referenced by initAxesPage().
void AxesDialog::updateTitleBox | ( | int | axis | ) | [private, slot] |
References Graph::axisTitleDistance(), Graph::axisTitleString(), boxLabelsDistance, boxTitle, d_graph, invertTitleBox, and mapToQwtAxis().
Referenced by initAxesPage(), and setGraph().
QList<int> AxesDialog::axesBaseline [protected] |
Referenced by setBaselineDist(), setGraph(), and updatePlot().
QListWidget* AxesDialog::axesGridList [protected] |
Referenced by applyChangesToGrid(), exec(), initGridPage(), and setGraph().
QListWidget* AxesDialog::axesList [protected] |
Referenced by exec(), initScalesPage(), pageChanged(), setCurrentScale(), updateMinorTicksList(), updatePlot(), and updateScale().
QWidget* AxesDialog::axesPage [protected] |
Referenced by applyAxisFormat(), initAxesPage(), pageChanged(), setCurrentScale(), showAxesPage(), and updatePlot().
QListWidget* AxesDialog::axesTitlesList [protected] |
Referenced by exec(), initAxesPage(), mapToQwtAxisId(), pageChanged(), setCurrentScale(), and showAxis().
QComboBox* AxesDialog::axisFormatApplyToBox [protected] |
Referenced by applyAxisFormat(), and initAxesPage().
QGroupBox* AxesDialog::axisFormatBox [protected] |
Referenced by initAxesPage(), showAxis(), and updateShowBox().
QSpinBox * AxesDialog::boxAngle [protected] |
Referenced by initAxesPage(), setLabelsNumericFormat(), showAxis(), updatePlot(), updateShowBox(), and updateTickLabelsList().
QCheckBox * AxesDialog::boxAntialiseGrid [protected] |
Referenced by applyChangesToGrid(), initGridPage(), and showGridOptions().
QComboBox* AxesDialog::boxApplyGridFormat [protected] |
Referenced by initGridPage(), and updateGrid().
QGroupBox* AxesDialog::boxAxesBreaks [protected] |
Referenced by initScalesPage(), updatePlot(), and updateScale().
QSpinBox * AxesDialog::boxAxesLinewidth [protected] |
Referenced by applyCanvasFormatTo(), initFramePage(), setFrameDefaultValues(), and setGraph().
QCheckBox* AxesDialog::boxAxisBackbone [protected] |
ColorButton* AxesDialog::boxAxisColor [protected] |
Referenced by applyAxisFormatToLayer(), initAxesPage(), setLabelsNumericFormat(), showAxis(), updateAxisColor(), updatePlot(), and updateTickLabelsList().
ColorButton * AxesDialog::boxAxisNumColor [protected] |
Referenced by applyAxisFormatToLayer(), initAxesPage(), setLabelsNumericFormat(), showAxis(), updateAxisColor(), updatePlot(), and updateTickLabelsList().
QComboBox * AxesDialog::boxAxisType [protected] |
Referenced by initAxesPage(), setAxisType(), setLabelsNumericFormat(), showAxis(), updateAxisType(), updateLabelsFormat(), updatePlot(), and updateTickLabelsList().
QCheckBox* AxesDialog::boxBackbones [protected] |
Referenced by applyCanvasFormatTo(), initFramePage(), setFrameDefaultValues(), and setGraph().
QSpinBox * AxesDialog::boxBaseline [protected] |
Referenced by applyAxisFormatToLayer(), initAxesPage(), setBaselineDist(), setLabelsNumericFormat(), showAxis(), updatePlot(), and updateTickLabelsList().
QSpinBox * AxesDialog::boxBorderWidth [protected] |
QCheckBox * AxesDialog::boxBreakDecoration [protected] |
Referenced by initScalesPage(), updatePlot(), and updateScale().
DoubleSpinBox * AxesDialog::boxBreakEnd [protected] |
Referenced by initScalesPage(), updatePlot(), and updateScale().
QSpinBox* AxesDialog::boxBreakPosition [protected] |
Referenced by initScalesPage(), updatePlot(), and updateScale().
DoubleSpinBox* AxesDialog::boxBreakStart [protected] |
Referenced by initScalesPage(), updatePlot(), and updateScale().
QSpinBox * AxesDialog::boxBreakWidth [protected] |
Referenced by initScalesPage(), updatePlot(), and updateScale().
ColorButton* AxesDialog::boxCanvasColor [protected] |
QComboBox * AxesDialog::boxColName [protected] |
Referenced by initAxesPage(), setAxisType(), setGraph(), setLabelsNumericFormat(), showAxis(), showAxisFormatOptions(), updatePlot(), and updateTickLabelsList().
ColorButton* AxesDialog::boxColorMajor [protected] |
Referenced by applyChangesToGrid(), initGridPage(), majorGridEnabled(), and showGridOptions().
ColorButton* AxesDialog::boxColorMinor [protected] |
Referenced by applyChangesToGrid(), initGridPage(), minorGridEnabled(), and showGridOptions().
DoubleSpinBox* AxesDialog::boxEnd [protected] |
Referenced by initScalesPage(), updatePlot(), and updateScale().
QDateTimeEdit * AxesDialog::boxEndDateTime [protected] |
Referenced by initScalesPage(), updatePlot(), and updateScale().
QTimeEdit * AxesDialog::boxEndTime [protected] |
Referenced by initScalesPage(), updatePlot(), and updateScale().
QComboBox * AxesDialog::boxFormat [protected] |
QTextEdit* AxesDialog::boxFormula [protected] |
ColorButton* AxesDialog::boxFrameColor [protected] |
Referenced by applyCanvasFormatTo(), initFramePage(), setFrameDefaultValues(), and setGraph().
QGroupBox* AxesDialog::boxFramed [protected] |
Referenced by applyCanvasFormatTo(), initFramePage(), setFrameDefaultValues(), and setGraph().
QSpinBox* AxesDialog::boxFrameWidth [protected] |
Referenced by applyCanvasFormatTo(), initFramePage(), setFrameDefaultValues(), and setGraph().
QComboBox * AxesDialog::boxGridXAxis [protected] |
Referenced by applyChangesToGrid(), initGridPage(), and showGridOptions().
QComboBox * AxesDialog::boxGridYAxis [protected] |
Referenced by applyChangesToGrid(), initGridPage(), and showGridOptions().
QSpinBox* AxesDialog::boxLabelsDistance [protected] |
Referenced by initAxesPage(), updatePlot(), and updateTitleBox().
QCheckBox* AxesDialog::boxLog10AfterBreak [protected] |
Referenced by initScalesPage(), updatePlot(), and updateScale().
QCheckBox* AxesDialog::boxMajorGrid [protected] |
Referenced by applyChangesToGrid(), initGridPage(), and showGridOptions().
QSpinBox* AxesDialog::boxMajorTicksLength [protected] |
QComboBox* AxesDialog::boxMajorTicksType [protected] |
Referenced by applyAxisFormatToLayer(), initAxesPage(), setLabelsNumericFormat(), setTicksType(), showAxis(), updatePlot(), and updateTickLabelsList().
QSpinBox* AxesDialog::boxMajorValue [protected] |
Referenced by initScalesPage(), stepDisabled(), stepEnabled(), updatePlot(), and updateScale().
QCheckBox* AxesDialog::boxMinorGrid [protected] |
Referenced by applyChangesToGrid(), initGridPage(), and showGridOptions().
QComboBox * AxesDialog::boxMinorTicksAfterBreak [protected] |
Referenced by initScalesPage(), updatePlot(), and updateScale().
QComboBox* AxesDialog::boxMinorTicksBeforeBreak [protected] |
Referenced by initScalesPage(), updatePlot(), and updateScale().
QSpinBox * AxesDialog::boxMinorTicksLength [protected] |
QComboBox * AxesDialog::boxMinorTicksType [protected] |
Referenced by applyAxisFormatToLayer(), initAxesPage(), setLabelsNumericFormat(), setTicksType(), showAxis(), updatePlot(), and updateTickLabelsList().
QComboBox* AxesDialog::boxMinorValue [protected] |
Referenced by initScalesPage(), updateMinorTicksList(), updatePlot(), and updateScale().
QSpinBox * AxesDialog::boxPrecision [protected] |
QLineEdit* AxesDialog::boxPrefix [protected] |
Referenced by initAxesPage(), showAxis(), and updateCurrentAxis().
QComboBox* AxesDialog::boxScaleType [protected] |
Referenced by initScalesPage(), updatePlot(), and updateScale().
QLabel * AxesDialog::boxScaleTypeLabel [protected] |
Referenced by initScalesPage().
QCheckBox* AxesDialog::boxShowAxis [protected] |
Referenced by initAxesPage(), setLabelsNumericFormat(), showAxis(), updatePlot(), updateShowBox(), and updateTickLabelsList().
QCheckBox * AxesDialog::boxShowFormula [protected] |
QGroupBox* AxesDialog::boxShowLabels [protected] |
Referenced by initAxesPage(), setLabelsNumericFormat(), showAxis(), updateCurrentAxis(), updatePlot(), updateShowBox(), and updateTickLabelsList().
DoubleSpinBox* AxesDialog::boxStart [protected] |
Referenced by initScalesPage(), updatePlot(), and updateScale().
QDateTimeEdit* AxesDialog::boxStartDateTime [protected] |
Referenced by initScalesPage(), updatePlot(), and updateScale().
QTimeEdit* AxesDialog::boxStartTime [protected] |
Referenced by initScalesPage(), updatePlot(), and updateScale().
DoubleSpinBox* AxesDialog::boxStep [protected] |
Referenced by initScalesPage(), stepDisabled(), stepEnabled(), updatePlot(), and updateScale().
DoubleSpinBox * AxesDialog::boxStepAfterBreak [protected] |
Referenced by initScalesPage(), updatePlot(), and updateScale().
DoubleSpinBox * AxesDialog::boxStepBeforeBreak [protected] |
Referenced by initScalesPage(), updatePlot(), and updateScale().
QLineEdit * AxesDialog::boxSuffix [protected] |
Referenced by initAxesPage(), showAxis(), and updateCurrentAxis().
QComboBox * AxesDialog::boxTableName [protected] |
Referenced by initAxesPage(), setGraph(), showAxisFormatOptions(), and updatePlot().
QSpinBox* AxesDialog::boxTickLabelDistance [protected] |
QTextEdit * AxesDialog::boxTitle [protected] |
Referenced by initAxesPage(), updatePlot(), and updateTitleBox().
PenStyleBox* AxesDialog::boxTypeMajor [protected] |
Referenced by applyChangesToGrid(), initGridPage(), majorGridEnabled(), and showGridOptions().
PenStyleBox* AxesDialog::boxTypeMinor [protected] |
Referenced by applyChangesToGrid(), initGridPage(), minorGridEnabled(), and showGridOptions().
QComboBox* AxesDialog::boxUnit [protected] |
Referenced by initScalesPage(), stepDisabled(), stepEnabled(), updatePlot(), and updateScale().
DoubleSpinBox* AxesDialog::boxWidthMajor [protected] |
Referenced by applyChangesToGrid(), initGridPage(), majorGridEnabled(), and showGridOptions().
DoubleSpinBox* AxesDialog::boxWidthMinor [protected] |
Referenced by applyChangesToGrid(), initGridPage(), minorGridEnabled(), and showGridOptions().
QCheckBox* AxesDialog::boxXLine [protected] |
Referenced by applyChangesToGrid(), initGridPage(), and showGridOptions().
QCheckBox* AxesDialog::boxYLine [protected] |
Referenced by applyChangesToGrid(), initGridPage(), and showGridOptions().
QPushButton* AxesDialog::btnAxesFont [protected] |
Referenced by initAxesPage().
QCheckBox* AxesDialog::btnInvert [protected] |
Referenced by initScalesPage(), updatePlot(), and updateScale().
QRadioButton* AxesDialog::btnMajor [protected] |
Referenced by initScalesPage(), stepDisabled(), stepEnabled(), and updateScale().
QRadioButton* AxesDialog::btnStep [protected] |
Referenced by initScalesPage(), stepDisabled(), stepEnabled(), updatePlot(), and updateScale().
QPushButton* AxesDialog::buttonApply [protected] |
Referenced by AxesDialog().
QPushButton* AxesDialog::buttonCancel [protected] |
Referenced by AxesDialog().
QPushButton* AxesDialog::buttonLabelFont [protected] |
Referenced by initAxesPage().
QPushButton* AxesDialog::buttonOk [protected] |
Referenced by AxesDialog().
QComboBox* AxesDialog::canvasFrameApplyToBox [protected] |
Referenced by applyCanvasFormat(), and initFramePage().
Graph* AxesDialog::d_graph [protected] |
Referenced by applyAxisFormat(), applyAxisFormatToLayer(), applyCanvasFormat(), customAxisFont(), customAxisLabelFont(), setAxisType(), setDisplayDateTimeFormat(), setGraph(), setLabelsNumericFormat(), showAxis(), showAxisFormatOptions(), showAxisFormula(), showGridOptions(), updateAxisColor(), updateCurrentAxis(), updateGrid(), updateLabelsFormat(), updateMinorTicksList(), updatePlot(), updateScale(), and updateTitleBox().
TextFormatButtons* AxesDialog::formatButtons [protected] |
Referenced by initAxesPage().
QWidget * AxesDialog::frame [protected] |
Referenced by applyCanvasFormat(), initFramePage(), showGeneralPage(), and updatePlot().
QPushButton* AxesDialog::frameDefaultBtn [protected] |
Referenced by initFramePage().
QTabWidget* AxesDialog::generalDialog [protected] |
QWidget* AxesDialog::gridPage [protected] |
Referenced by initGridPage(), showGridPage(), updateGrid(), and updatePlot().
QCheckBox* AxesDialog::invertTitleBox [protected] |
Referenced by initAxesPage(), updatePlot(), and updateTitleBox().
QLabel* AxesDialog::label1 [protected] |
Referenced by initAxesPage(), and showAxisFormatOptions().
QLabel * AxesDialog::label2 [protected] |
Referenced by initAxesPage(), and showAxisFormatOptions().
QLabel * AxesDialog::label3 [protected] |
Referenced by initAxesPage(), and showAxisFormatOptions().
QGroupBox* AxesDialog::labelBox [protected] |
Referenced by initAxesPage(), showAxis(), and updateShowBox().
QLabel * AxesDialog::labelTable [protected] |
Referenced by initAxesPage(), and showAxisFormatOptions().
QWidget* AxesDialog::lastPage [protected] |
Last selected tab.
Referenced by AxesDialog(), and pageChanged().
QList<int> AxesDialog::majTicks [protected] |
Referenced by setGraph(), and setTicksType().
QLabel * AxesDialog::minorBoxLabel [protected] |
Referenced by initScalesPage().
QList<int> AxesDialog::minTicks [protected] |
Referenced by setGraph(), and setTicksType().
QDateTimeEdit* AxesDialog::originDateTimeBox [protected] |
bool AxesDialog::rightAxisOn [protected] |
Referenced by setGraph(), showAxis(), and updateShowBox().
QWidget* AxesDialog::scalesPage [protected] |
Referenced by AxesDialog(), initScalesPage(), pageChanged(), setCurrentScale(), and updatePlot().
QComboBox* AxesDialog::showTicksPolicyBox [protected] |
QStringList AxesDialog::tablesList [protected] |
Referenced by setGraph(), and showAxisFormatOptions().
QStringList AxesDialog::tickLabelsOn [protected] |
Referenced by setGraph(), showAxis(), updateShowBox(), and updateTickLabelsList().
bool AxesDialog::topAxisOn [protected] |
Referenced by setGraph(), showAxis(), and updateShowBox().
bool AxesDialog::xAxisOn [protected] |
Referenced by setGraph(), showAxis(), and updateShowBox().
int AxesDialog::xBottomLabelsRotation [protected] |
Referenced by setGraph(), updatePlot(), and updateShowBox().
int AxesDialog::xTopLabelsRotation [protected] |
Referenced by setGraph(), updatePlot(), and updateShowBox().
bool AxesDialog::yAxisOn [protected] |
Referenced by setGraph(), showAxis(), and updateShowBox().