Arrange layers dialog.
More...
#include <LayerDialog.h>
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().
void LayerDialog::accept |
( |
) | |
|
|
protectedslot |
void LayerDialog::adjustCanvasHeight |
( |
double |
width) | |
|
|
protectedslot |
void LayerDialog::adjustCanvasWidth |
( |
double |
height) | |
|
|
protectedslot |
void LayerDialog::closeEvent |
( |
QCloseEvent * |
e) | |
|
|
private |
double LayerDialog::convertFromPixels |
( |
int |
w, |
|
|
FrameWidget::Unit |
unit, |
|
|
int |
dimension |
|
) |
| |
|
private |
void LayerDialog::enableLayoutOptions |
( |
bool |
ok) | |
|
|
protectedslot |
void LayerDialog::setColumns |
( |
int |
c) | |
|
void LayerDialog::setLayerCanvasSize |
( |
int |
w, |
|
|
int |
h, |
|
|
int |
unit |
|
) |
| |
void LayerDialog::setLayers |
( |
int |
layers) | |
|
void LayerDialog::setMargins |
( |
int |
l, |
|
|
int |
t, |
|
|
int |
r, |
|
|
int |
b |
|
) |
| |
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().
void LayerDialog::setRows |
( |
int |
r) | |
|
void LayerDialog::setSharedAxes |
( |
bool |
on = true ) | |
|
void LayerDialog::showCommonAxesBox |
( |
) | |
|
|
protectedslot |
void LayerDialog::swapLayers |
( |
) | |
|
|
protectedslot |
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().
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().
QComboBox* LayerDialog::alignHorBox |
|
private |
QComboBox* LayerDialog::alignPolicyBox |
|
private |
QComboBox * LayerDialog::alignVertBox |
|
private |
double LayerDialog::aspect_ratio |
|
private |
QSpinBox * LayerDialog::boxBottomSpace |
|
private |
QSpinBox * LayerDialog::boxColsGap |
|
private |
QSpinBox* LayerDialog::boxLayerDest |
|
private |
QSpinBox * LayerDialog::boxLayerSrc |
|
private |
QSpinBox * LayerDialog::boxLeftSpace |
|
private |
QSpinBox* LayerDialog::boxRightSpace |
|
private |
QSpinBox * LayerDialog::boxRowsGap |
|
private |
QSpinBox * LayerDialog::boxTopSpace |
|
private |
QSpinBox* LayerDialog::boxX |
|
private |
QSpinBox * LayerDialog::boxY |
|
private |
QPushButton* LayerDialog::buttonApply |
|
private |
QPushButton* LayerDialog::buttonCancel |
|
private |
QPushButton* LayerDialog::buttonOk |
|
private |
QPushButton* LayerDialog::buttonSwapLayers |
|
private |
QCheckBox* LayerDialog::commonAxesBox |
|
private |
QCheckBox* LayerDialog::fitBox |
|
private |
QCheckBox* LayerDialog::fixedSizeBox |
|
private |
QGroupBox* LayerDialog::GroupCanvasSize |
|
private |
QGroupBox * LayerDialog::GroupGrid |
|
private |
QCheckBox* LayerDialog::keepRatioBox |
|
private |
QSpinBox* LayerDialog::layersBox |
|
private |
QCheckBox* LayerDialog::linkXAxesBox |
|
private |
QComboBox* LayerDialog::unitBox |
|
private |
The documentation for this class was generated from the following files: