#include <AxesDialog.h>
Remark: Don't use this dialog as a non modal dialog!
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 | 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 |
QList< int > | axesType |
QSpinBox * | boxAngle |
QSpinBox * | boxAxesLinewidth |
ColorButton * | boxAxisColor |
ColorButton * | boxAxisNumColor |
QComboBox * | boxAxisType |
QCheckBox * | boxBackbones |
QSpinBox * | boxBaseline |
QSpinBox * | boxBorderWidth |
DoubleSpinBox * | boxBreakEnd |
DoubleSpinBox * | boxBreakStart |
ColorButton * | boxCanvasColor |
QComboBox * | boxColName |
ColorBox * | boxColorMajor |
ColorBox * | boxColorMinor |
QLineEdit * | boxEnd |
QComboBox * | boxFormat |
QTextEdit * | boxFormula |
ColorButton * | boxFrameColor |
QGroupBox * | boxFramed |
QSpinBox * | boxFrameWidth |
QComboBox * | boxGridXAxis |
QComboBox * | boxGridYAxis |
QCheckBox * | boxMajorGrid |
QSpinBox * | boxMajorTicksLength |
QComboBox * | boxMajorTicksType |
QSpinBox * | boxMajorValue |
QCheckBox * | boxMinorGrid |
QSpinBox * | boxMinorTicksLength |
QComboBox * | boxMinorTicksType |
QComboBox * | boxMinorValue |
QSpinBox * | boxPrecision |
QComboBox * | boxScaleType |
QLabel * | boxScaleTypeLabel |
QCheckBox * | boxShowAxis |
QCheckBox * | boxShowFormula |
QGroupBox * | boxShowLabels |
QLineEdit * | boxStart |
QLineEdit * | boxStep |
QComboBox * | boxTableName |
QTextEdit * | boxTitle |
QComboBox * | boxTypeMajor |
QComboBox * | boxTypeMinor |
QComboBox * | boxUnit |
QSpinBox * | boxWidthMajor |
QSpinBox * | boxWidthMinor |
QCheckBox * | boxXLine |
QCheckBox * | boxYLine |
QPushButton * | btnAxesFont |
QCheckBox * | btnInvert |
QCheckBox * | btnMajor |
QCheckBox * | btnStep |
QPushButton * | buttonApply |
QPushButton * | buttonCancel |
QPushButton * | buttonLabelFont |
QPushButton * | buttonOk |
Graph * | d_graph |
TextFormatButtons * | formatButtons |
QStringList | formatInfo |
QWidget * | frame |
QTabWidget * | generalDialog |
QWidget * | gridPage |
QLabel * | label1 |
QLabel * | label2 |
QLabel * | label3 |
QGroupBox * | labelBox |
QLabel * | labelTable |
QWidget * | lastPage |
Last selected tab. | |
QList< int > | majTicks |
QLabel * | minorBoxLabel |
QList< int > | minTicks |
bool | rightAxisOn |
QWidget * | scalesPage |
QStringList | tablesList |
QStringList | tickLabelsOn |
bool | topAxisOn |
bool | xAxisOn |
QFont | xBottomFont |
int | xBottomLabelsRotation |
QFont | xTopFont |
int | xTopLabelsRotation |
bool | yAxisOn |
QFont | yLeftFont |
QFont | yRightFont |
Private Slots | |
void | accept () |
void | changeAxesLinewidth (int) |
void | changeBaselineDist (int baseline) |
void | changeMajorTicksLength (int majLength) |
void | changeMinorTicksLength (int minLength) |
void | customAxisFont () |
void | customAxisLabelFont () |
void | drawAxesBackbones (bool) |
void | drawFrame (bool framed) |
void | majorGridEnabled (bool on) |
int | mapToQwtAxis (int axis) |
int | mapToQwtAxisId () |
void | minorGridEnabled (bool on) |
void | pageChanged (QWidget *page) |
void | pickAxisColor () |
void | pickAxisNumColor () |
void | pickCanvasFrameColor () |
void | setAxisType (int axis) |
void | setBaselineDist (int) |
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 &) |
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 | updateFrame (int) |
void | updateGrid () |
void | updateLabelsFormat (int) |
void | updateMajTicksType (int) |
void | updateMinorTicksList (int scaleType) |
void | updateMinTicksType (int) |
bool | updatePlot () |
void | updateScale () |
void | updateShowBox (int axis) |
void | updateTickLabelsList (bool) |
void | updateTitleBox (int axis) |
AxesDialog::AxesDialog | ( | QWidget * | parent = 0 , |
|
Qt::WFlags | fl = 0 | |||
) |
Constructor.
parent | parent widget | |
fl | window flags |
void AxesDialog::accept | ( | ) | [private, slot] |
void AxesDialog::changeAxesLinewidth | ( | int | width | ) | [private, slot] |
void AxesDialog::changeBaselineDist | ( | int | baseline | ) | [private, slot] |
void AxesDialog::changeMajorTicksLength | ( | int | majLength | ) | [private, slot] |
void AxesDialog::changeMinorTicksLength | ( | int | minLength | ) | [private, slot] |
void AxesDialog::customAxisFont | ( | ) | [private, slot] |
void AxesDialog::customAxisLabelFont | ( | ) | [private, slot] |
void AxesDialog::drawAxesBackbones | ( | bool | draw | ) | [private, slot] |
void AxesDialog::drawFrame | ( | bool | framed | ) | [private, slot] |
int AxesDialog::exec | ( | ) | [slot] |
Shows the dialog as a modal dialog.
Show the dialog as a modal dialog and do some initialization.
void AxesDialog::initAxesPage | ( | ) | [protected] |
generate UI for the axes page
void AxesDialog::initFramePage | ( | ) | [protected] |
generate UI for the general page
void AxesDialog::initGridPage | ( | ) | [protected] |
generate UI for the grid page
void AxesDialog::initScalesPage | ( | ) | [protected] |
generate UI for the scales page
void AxesDialog::majorGridEnabled | ( | bool | on | ) | [private, slot] |
int AxesDialog::mapToQwtAxis | ( | int | axis | ) | [private, slot] |
int AxesDialog::mapToQwtAxisId | ( | ) | [private, slot] |
void AxesDialog::minorGridEnabled | ( | bool | on | ) | [private, slot] |
void AxesDialog::pageChanged | ( | QWidget * | page | ) | [private, slot] |
void AxesDialog::pickAxisColor | ( | ) | [private, slot] |
void AxesDialog::pickAxisNumColor | ( | ) | [private, slot] |
void AxesDialog::pickCanvasFrameColor | ( | ) | [private, slot] |
void AxesDialog::setAxisType | ( | int | axis | ) | [private, slot] |
void AxesDialog::setBaselineDist | ( | int | ) | [private, slot] |
void AxesDialog::setCurrentScale | ( | int | axisPos | ) | [slot] |
void AxesDialog::setGraph | ( | Graph * | g | ) |
void AxesDialog::setLabelsNumericFormat | ( | int | ) | [private, slot] |
void AxesDialog::setTicksType | ( | int | ) | [private, slot] |
void AxesDialog::showAxesPage | ( | ) | [slot] |
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 | |||
) | [private, slot] |
void AxesDialog::showAxis | ( | ) | [private, slot] |
void AxesDialog::showAxisFormatOptions | ( | int | format | ) | [private, slot] |
void AxesDialog::showAxisFormula | ( | int | axis | ) | [private, slot] |
void AxesDialog::showFormulaBox | ( | ) | [slot] |
void AxesDialog::showGeneralPage | ( | ) | [slot] |
void AxesDialog::showGridOptions | ( | int | axis | ) | [private, slot] |
void AxesDialog::showGridPage | ( | ) | [slot] |
void AxesDialog::stepDisabled | ( | ) | [private, slot] |
void AxesDialog::stepEnabled | ( | ) | [private, slot] |
void AxesDialog::updateAxisColor | ( | int | ) | [private, slot] |
void AxesDialog::updateAxisType | ( | int | axis | ) | [private, slot] |
void AxesDialog::updateFrame | ( | int | width | ) | [private, slot] |
void AxesDialog::updateGrid | ( | ) | [private, slot] |
void AxesDialog::updateLabelsFormat | ( | int | ) | [private, slot] |
void AxesDialog::updateMajTicksType | ( | int | ) | [private, slot] |
void AxesDialog::updateMinorTicksList | ( | int | scaleType | ) | [private, slot] |
void AxesDialog::updateMinTicksType | ( | int | ) | [private, slot] |
bool AxesDialog::updatePlot | ( | ) | [private, slot] |
void AxesDialog::updateScale | ( | ) | [private, slot] |
void AxesDialog::updateShowBox | ( | int | axis | ) | [private, slot] |
void AxesDialog::updateTickLabelsList | ( | bool | on | ) | [private, slot] |
void AxesDialog::updateTitleBox | ( | int | axis | ) | [private, slot] |
QList<int> AxesDialog::axesBaseline [protected] |
QListWidget* AxesDialog::axesGridList [protected] |
QListWidget* AxesDialog::axesList [protected] |
QWidget* AxesDialog::axesPage [protected] |
QListWidget* AxesDialog::axesTitlesList [protected] |
QList<int> AxesDialog::axesType [protected] |
QSpinBox * AxesDialog::boxAngle [protected] |
QSpinBox * AxesDialog::boxAxesLinewidth [protected] |
ColorButton* AxesDialog::boxAxisColor [protected] |
ColorButton * AxesDialog::boxAxisNumColor [protected] |
QComboBox * AxesDialog::boxAxisType [protected] |
QCheckBox* AxesDialog::boxBackbones [protected] |
QSpinBox * AxesDialog::boxBaseline [protected] |
QSpinBox * AxesDialog::boxBorderWidth [protected] |
DoubleSpinBox * AxesDialog::boxBreakEnd [protected] |
DoubleSpinBox* AxesDialog::boxBreakStart [protected] |
ColorButton* AxesDialog::boxCanvasColor [protected] |
QComboBox * AxesDialog::boxColName [protected] |
ColorBox* AxesDialog::boxColorMajor [protected] |
ColorBox* AxesDialog::boxColorMinor [protected] |
QLineEdit* AxesDialog::boxEnd [protected] |
QComboBox * AxesDialog::boxFormat [protected] |
QTextEdit* AxesDialog::boxFormula [protected] |
ColorButton* AxesDialog::boxFrameColor [protected] |
QGroupBox* AxesDialog::boxFramed [protected] |
QSpinBox* AxesDialog::boxFrameWidth [protected] |
QComboBox * AxesDialog::boxGridXAxis [protected] |
QComboBox * AxesDialog::boxGridYAxis [protected] |
QCheckBox* AxesDialog::boxMajorGrid [protected] |
QSpinBox* AxesDialog::boxMajorTicksLength [protected] |
QComboBox* AxesDialog::boxMajorTicksType [protected] |
QSpinBox* AxesDialog::boxMajorValue [protected] |
QCheckBox* AxesDialog::boxMinorGrid [protected] |
QSpinBox * AxesDialog::boxMinorTicksLength [protected] |
QComboBox * AxesDialog::boxMinorTicksType [protected] |
QComboBox* AxesDialog::boxMinorValue [protected] |
QSpinBox * AxesDialog::boxPrecision [protected] |
QComboBox* AxesDialog::boxScaleType [protected] |
QLabel * AxesDialog::boxScaleTypeLabel [protected] |
QCheckBox* AxesDialog::boxShowAxis [protected] |
QCheckBox * AxesDialog::boxShowFormula [protected] |
QGroupBox* AxesDialog::boxShowLabels [protected] |
QLineEdit* AxesDialog::boxStart [protected] |
QLineEdit* AxesDialog::boxStep [protected] |
QComboBox * AxesDialog::boxTableName [protected] |
QTextEdit * AxesDialog::boxTitle [protected] |
QComboBox* AxesDialog::boxTypeMajor [protected] |
QComboBox* AxesDialog::boxTypeMinor [protected] |
QComboBox* AxesDialog::boxUnit [protected] |
QSpinBox* AxesDialog::boxWidthMajor [protected] |
QSpinBox* AxesDialog::boxWidthMinor [protected] |
QCheckBox* AxesDialog::boxXLine [protected] |
QCheckBox* AxesDialog::boxYLine [protected] |
QPushButton* AxesDialog::btnAxesFont [protected] |
QCheckBox * AxesDialog::btnInvert [protected] |
QCheckBox* AxesDialog::btnMajor [protected] |
QCheckBox* AxesDialog::btnStep [protected] |
QPushButton* AxesDialog::buttonApply [protected] |
QPushButton* AxesDialog::buttonCancel [protected] |
QPushButton* AxesDialog::buttonLabelFont [protected] |
QPushButton* AxesDialog::buttonOk [protected] |
Graph* AxesDialog::d_graph [protected] |
TextFormatButtons* AxesDialog::formatButtons [protected] |
QStringList AxesDialog::formatInfo [protected] |
QWidget * AxesDialog::frame [protected] |
QTabWidget* AxesDialog::generalDialog [protected] |
QWidget* AxesDialog::gridPage [protected] |
QLabel* AxesDialog::label1 [protected] |
QLabel * AxesDialog::label2 [protected] |
QLabel * AxesDialog::label3 [protected] |
QGroupBox* AxesDialog::labelBox [protected] |
QLabel * AxesDialog::labelTable [protected] |
QWidget* AxesDialog::lastPage [protected] |
Last selected tab.
QList<int> AxesDialog::majTicks [protected] |
QLabel * AxesDialog::minorBoxLabel [protected] |
QList<int> AxesDialog::minTicks [protected] |
bool AxesDialog::rightAxisOn [protected] |
QWidget* AxesDialog::scalesPage [protected] |
QStringList AxesDialog::tablesList [protected] |
QStringList AxesDialog::tickLabelsOn [protected] |
bool AxesDialog::topAxisOn [protected] |
bool AxesDialog::xAxisOn [protected] |
QFont AxesDialog::xBottomFont [protected] |
int AxesDialog::xBottomLabelsRotation [protected] |
QFont AxesDialog::xTopFont [protected] |
int AxesDialog::xTopLabelsRotation [protected] |
bool AxesDialog::yAxisOn [protected] |
QFont AxesDialog::yLeftFont [protected] |
QFont AxesDialog::yRightFont [protected] |