QtiPlot  0.9.8.2
Public Member Functions | Protected Slots | Private Member Functions | Private Attributes | List of all members
LayerDialog Class Reference

Arrange layers dialog. More...

#include <LayerDialog.h>

Inheritance diagram for LayerDialog:

Public Member Functions

 LayerDialog (QWidget *parent, bool okMode=false, Qt::WFlags fl=0)
 
void setColumns (int)
 
void setLayerCanvasSize (int w, int h, int unit)
 
void setLayers (int layers)
 
void setMargins (int, int, int, int)
 
void setMultiLayer (MultiLayer *g)
 
void setRows (int)
 
void setSharedAxes (bool=true)
 

Protected Slots

void accept ()
 
void adjustCanvasHeight (double width)
 
void adjustCanvasWidth (double height)
 
void enableLayoutOptions (bool ok)
 
void showCommonAxesBox ()
 
void swapLayers ()
 
void update ()
 
void updateSizes (int unit)
 

Private Member Functions

void closeEvent (QCloseEvent *)
 
double convertFromPixels (int w, FrameWidget::Unit unit, int dimension)
 
int convertToPixels (double w, FrameWidget::Unit unit, int dimension)
 

Private Attributes

QComboBox * alignHorBox
 
QComboBox * alignPolicyBox
 
QComboBox * alignVertBox
 
double aspect_ratio
 
QSpinBox * boxBottomSpace
 
DoubleSpinBoxboxCanvasHeight
 
DoubleSpinBoxboxCanvasWidth
 
QSpinBox * boxColsGap
 
QSpinBox * boxLayerDest
 
QSpinBox * boxLayerSrc
 
QSpinBox * boxLeftSpace
 
QSpinBox * boxRightSpace
 
QSpinBox * boxRowsGap
 
QSpinBox * boxTopSpace
 
QSpinBox * boxX
 
QSpinBox * boxY
 
QPushButton * buttonApply
 
QPushButton * buttonCancel
 
QPushButton * buttonOk
 
QPushButton * buttonSwapLayers
 
QCheckBox * commonAxesBox
 
QCheckBox * fitBox
 
QCheckBox * fixedSizeBox
 
QGroupBox * GroupCanvasSize
 
QGroupBox * GroupGrid
 
QCheckBox * keepRatioBox
 
QSpinBox * layersBox
 
QCheckBox * linkXAxesBox
 
MultiLayermulti_layer
 
QComboBox * unitBox
 

Detailed Description

Arrange layers dialog.

Constructor & Destructor Documentation

§ LayerDialog()

LayerDialog::LayerDialog ( QWidget *  parent,
bool  okMode = false,
Qt::WFlags  fl = 0 
)

Member Function Documentation

§ accept

void LayerDialog::accept ( )
protectedslot

References update().

Referenced by LayerDialog().

§ 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()

int LayerDialog::convertToPixels ( double  w,
FrameWidget::Unit  unit,
int  dimension 
)
private

§ enableLayoutOptions

void LayerDialog::enableLayoutOptions ( bool  ok)
protectedslot

References GroupCanvasSize, and GroupGrid.

Referenced by LayerDialog().

§ setColumns()

void LayerDialog::setColumns ( int  c)

References boxX.

§ setLayerCanvasSize()

void LayerDialog::setLayerCanvasSize ( int  w,
int  h,
int  unit 
)

§ setLayers()

void LayerDialog::setLayers ( int  layers)

References layersBox.

§ setMargins()

void LayerDialog::setMargins ( int  l,
int  t,
int  r,
int  b 
)

§ setMultiLayer()

void LayerDialog::setMultiLayer ( MultiLayer g)

§ setRows()

void LayerDialog::setRows ( int  r)

References boxY.

§ setSharedAxes()

void LayerDialog::setSharedAxes ( bool  on = true)

§ showCommonAxesBox

void LayerDialog::showCommonAxesBox ( )
protectedslot

§ swapLayers

void LayerDialog::swapLayers ( )
protectedslot

§ update

void LayerDialog::update ( )
protectedslot

§ updateSizes

void LayerDialog::updateSizes ( int  unit)
protectedslot

Member Data Documentation

§ alignHorBox

QComboBox* LayerDialog::alignHorBox
private

Referenced by LayerDialog(), setMultiLayer(), and update().

§ alignPolicyBox

QComboBox* LayerDialog::alignPolicyBox
private

§ alignVertBox

QComboBox * LayerDialog::alignVertBox
private

Referenced by LayerDialog(), setMultiLayer(), and update().

§ aspect_ratio

double LayerDialog::aspect_ratio
private

§ boxBottomSpace

QSpinBox * LayerDialog::boxBottomSpace
private

§ boxCanvasHeight

DoubleSpinBox * LayerDialog::boxCanvasHeight
private

§ boxCanvasWidth

DoubleSpinBox* LayerDialog::boxCanvasWidth
private

§ 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

Referenced by LayerDialog(), and update().

§ buttonCancel

QPushButton* LayerDialog::buttonCancel
private

Referenced by LayerDialog().

§ buttonOk

QPushButton* LayerDialog::buttonOk
private

Referenced by LayerDialog().

§ buttonSwapLayers

QPushButton* LayerDialog::buttonSwapLayers
private

Referenced by LayerDialog().

§ commonAxesBox

QCheckBox* LayerDialog::commonAxesBox
private

§ fitBox

QCheckBox* LayerDialog::fitBox
private

Referenced by LayerDialog(), and update().

§ fixedSizeBox

QCheckBox* LayerDialog::fixedSizeBox
private

Referenced by LayerDialog(), setMultiLayer(), and update().

§ GroupCanvasSize

QGroupBox* LayerDialog::GroupCanvasSize
private

§ GroupGrid

QGroupBox * LayerDialog::GroupGrid
private

Referenced by enableLayoutOptions(), and LayerDialog().

§ keepRatioBox

QCheckBox* LayerDialog::keepRatioBox
private

§ layersBox

QSpinBox* LayerDialog::layersBox
private

§ linkXAxesBox

QCheckBox* LayerDialog::linkXAxesBox
private

Referenced by LayerDialog(), setMultiLayer(), and update().

§ multi_layer

MultiLayer* LayerDialog::multi_layer
private

§ unitBox

QComboBox* LayerDialog::unitBox
private

The documentation for this class was generated from the following files: