Arrange layers dialog.
More...
#include <LayerDialog.h>
§ LayerDialog()
LayerDialog::LayerDialog |
( |
QWidget * |
parent, |
|
|
bool |
okMode = false , |
|
|
Qt::WFlags |
fl = 0 |
|
) |
| |
References accept(), adjustCanvasHeight(), adjustCanvasWidth(), alignHorBox, alignPolicyBox, alignVertBox, boxBottomSpace, boxCanvasHeight, boxCanvasWidth, boxColsGap, boxLayerDest, boxLayerSrc, boxLeftSpace, boxRightSpace, boxRowsGap, boxTopSpace, boxX, boxY, buttonApply, buttonCancel, buttonOk, buttonSwapLayers, commonAxesBox, enableLayoutOptions(), fitBox, fixedSizeBox, GroupCanvasSize, GroupGrid, keepRatioBox, layersBox, linkXAxesBox, DoubleSpinBox::setDecimals(), DoubleSpinBox::setRange(), showCommonAxesBox(), swapLayers(), unitBox, update(), and updateSizes().
§ accept
void LayerDialog::accept |
( |
| ) |
|
|
protectedslot |
§ adjustCanvasHeight
void LayerDialog::adjustCanvasHeight |
( |
double |
width | ) |
|
|
protectedslot |
§ adjustCanvasWidth
void LayerDialog::adjustCanvasWidth |
( |
double |
height | ) |
|
|
protectedslot |
§ closeEvent()
void LayerDialog::closeEvent |
( |
QCloseEvent * |
e | ) |
|
|
private |
§ convertFromPixels()
double LayerDialog::convertFromPixels |
( |
int |
w, |
|
|
FrameWidget::Unit |
unit, |
|
|
int |
dimension |
|
) |
| |
|
private |
§ convertToPixels()
§ enableLayoutOptions
void LayerDialog::enableLayoutOptions |
( |
bool |
ok | ) |
|
|
protectedslot |
§ setColumns()
void LayerDialog::setColumns |
( |
int |
c | ) |
|
§ setLayerCanvasSize()
void LayerDialog::setLayerCanvasSize |
( |
int |
w, |
|
|
int |
h, |
|
|
int |
unit |
|
) |
| |
§ setLayers()
void LayerDialog::setLayers |
( |
int |
layers | ) |
|
§ setMargins()
void LayerDialog::setMargins |
( |
int |
l, |
|
|
int |
t, |
|
|
int |
r, |
|
|
int |
b |
|
) |
| |
§ setMultiLayer()
References alignHorBox, MultiLayer::alignPolicy(), alignPolicyBox, alignVertBox, MdiSubWindow::applicationWindow(), MultiLayer::bottomMargin(), boxBottomSpace, boxColsGap, boxLayerDest, boxLayerSrc, boxLeftSpace, boxRightSpace, boxRowsGap, boxTopSpace, boxX, boxY, MultiLayer::colsSpacing(), commonAxesBox, ApplicationWindow::d_layer_geometry_unit, fixedSizeBox, MultiLayer::getCols(), MultiLayer::getRows(), GroupCanvasSize, MultiLayer::hasCommonAxes(), MultiLayer::hasLinkedXLayerAxes(), MultiLayer::horizontalAlignement(), layersBox, MultiLayer::leftMargin(), linkXAxesBox, multi_layer, MultiLayer::numLayers(), MultiLayer::rightMargin(), MultiLayer::rowsSpacing(), MultiLayer::scaleLayersOnResize(), showCommonAxesBox(), MultiLayer::sizePolicy(), MultiLayer::topMargin(), unitBox, updateSizes(), MultiLayer::UserSize, and MultiLayer::verticalAlignement().
§ setRows()
void LayerDialog::setRows |
( |
int |
r | ) |
|
§ setSharedAxes()
void LayerDialog::setSharedAxes |
( |
bool |
on = true | ) |
|
§ showCommonAxesBox
void LayerDialog::showCommonAxesBox |
( |
| ) |
|
|
protectedslot |
§ swapLayers
void LayerDialog::swapLayers |
( |
| ) |
|
|
protectedslot |
§ update
void LayerDialog::update |
( |
| ) |
|
|
protectedslot |
References alignHorBox, MultiLayer::AlignLayers, alignPolicyBox, alignVertBox, MdiSubWindow::applicationWindow(), MultiLayer::arrangeLayers(), boxBottomSpace, boxCanvasHeight, boxCanvasWidth, boxColsGap, boxLeftSpace, boxRightSpace, boxRowsGap, boxTopSpace, boxX, boxY, buttonApply, commonAxesBox, convertFromPixels(), convertToPixels(), ApplicationWindow::d_layer_geometry_unit, ApplicationWindow::defaultCurveStyle, fitBox, fixedSizeBox, MultiLayer::getCols(), MultiLayer::getRows(), GroupCanvasSize, MultiLayer::layer(), MultiLayer::layerCanvasSize(), layersBox, MultiLayer::layersList(), linkXAxesBox, MultiLayer::linkXLayerAxes(), multi_layer, ApplicationWindow::multilayerPlot(), Graph::newLegend(), MultiLayer::numLayers(), Graph::removeLegend(), MultiLayer::setAlignement(), MultiLayer::setAlignPolicy(), MultiLayer::setCols(), MultiLayer::setCommonAxesLayout(), MultiLayer::setCommonLayerAxes(), MultiLayer::setLayerCanvasSize(), MultiLayer::setMargins(), MultiLayer::setNumLayers(), ApplicationWindow::setPreferences(), MultiLayer::setRows(), MultiLayer::setScaleLayersOnResize(), MultiLayer::setSpacing(), DoubleSpinBox::setValue(), unitBox, and DoubleSpinBox::value().
Referenced by accept(), and LayerDialog().
§ updateSizes
void LayerDialog::updateSizes |
( |
int |
unit | ) |
|
|
protectedslot |
References aspect_ratio, boxCanvasHeight, boxCanvasWidth, convertFromPixels(), MultiLayer::layerCanvasSize(), multi_layer, FrameWidget::Pixel, FrameWidget::Point, DoubleSpinBox::setFormat(), DoubleSpinBox::setSingleStep(), and DoubleSpinBox::setValue().
Referenced by LayerDialog(), and setMultiLayer().
§ alignHorBox
QComboBox* LayerDialog::alignHorBox |
|
private |
§ alignPolicyBox
QComboBox* LayerDialog::alignPolicyBox |
|
private |
§ alignVertBox
QComboBox * LayerDialog::alignVertBox |
|
private |
§ aspect_ratio
double LayerDialog::aspect_ratio |
|
private |
§ boxBottomSpace
QSpinBox * LayerDialog::boxBottomSpace |
|
private |
§ boxCanvasHeight
§ boxCanvasWidth
§ boxColsGap
QSpinBox * LayerDialog::boxColsGap |
|
private |
§ boxLayerDest
QSpinBox* LayerDialog::boxLayerDest |
|
private |
§ boxLayerSrc
QSpinBox * LayerDialog::boxLayerSrc |
|
private |
§ boxLeftSpace
QSpinBox * LayerDialog::boxLeftSpace |
|
private |
§ boxRightSpace
QSpinBox* LayerDialog::boxRightSpace |
|
private |
§ boxRowsGap
QSpinBox * LayerDialog::boxRowsGap |
|
private |
§ boxTopSpace
QSpinBox * LayerDialog::boxTopSpace |
|
private |
§ boxX
QSpinBox* LayerDialog::boxX |
|
private |
§ boxY
QSpinBox * LayerDialog::boxY |
|
private |
§ buttonApply
QPushButton* LayerDialog::buttonApply |
|
private |
§ buttonCancel
QPushButton* LayerDialog::buttonCancel |
|
private |
§ buttonOk
QPushButton* LayerDialog::buttonOk |
|
private |
§ buttonSwapLayers
QPushButton* LayerDialog::buttonSwapLayers |
|
private |
§ commonAxesBox
QCheckBox* LayerDialog::commonAxesBox |
|
private |
§ fitBox
QCheckBox* LayerDialog::fitBox |
|
private |
§ fixedSizeBox
QCheckBox* LayerDialog::fixedSizeBox |
|
private |
§ GroupCanvasSize
QGroupBox* LayerDialog::GroupCanvasSize |
|
private |
§ GroupGrid
QGroupBox * LayerDialog::GroupGrid |
|
private |
§ keepRatioBox
QCheckBox* LayerDialog::keepRatioBox |
|
private |
§ layersBox
QSpinBox* LayerDialog::layersBox |
|
private |
§ linkXAxesBox
QCheckBox* LayerDialog::linkXAxesBox |
|
private |
§ multi_layer
§ unitBox
QComboBox* LayerDialog::unitBox |
|
private |
The documentation for this class was generated from the following files: