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 ( QWidget *  parent,
bool  okMode = false,
Qt::WFlags  fl = 0 
)

Member Function Documentation

void LayerDialog::accept ( )
protectedslot

References update().

Referenced by LayerDialog().

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
int LayerDialog::convertToPixels ( double  w,
FrameWidget::Unit  unit,
int  dimension 
)
private
void LayerDialog::enableLayoutOptions ( bool  ok)
protectedslot

References GroupCanvasSize, and GroupGrid.

Referenced by LayerDialog().

void LayerDialog::setColumns ( int  c)

References boxX.

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

References layersBox.

void LayerDialog::setMargins ( int  l,
int  t,
int  r,
int  b 
)
void LayerDialog::setMultiLayer ( MultiLayer g)
void LayerDialog::setRows ( int  r)

References boxY.

void LayerDialog::setSharedAxes ( bool  on = true)
void LayerDialog::showCommonAxesBox ( )
protectedslot
void LayerDialog::swapLayers ( )
protectedslot
void LayerDialog::update ( )
protectedslot
void LayerDialog::updateSizes ( int  unit)
protectedslot

Member Data Documentation

QComboBox* LayerDialog::alignHorBox
private

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

QComboBox* LayerDialog::alignPolicyBox
private
QComboBox * LayerDialog::alignVertBox
private

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

double LayerDialog::aspect_ratio
private
QSpinBox * LayerDialog::boxBottomSpace
private
DoubleSpinBox * LayerDialog::boxCanvasHeight
private
DoubleSpinBox* LayerDialog::boxCanvasWidth
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

Referenced by LayerDialog(), and update().

QPushButton* LayerDialog::buttonCancel
private

Referenced by LayerDialog().

QPushButton* LayerDialog::buttonOk
private

Referenced by LayerDialog().

QPushButton* LayerDialog::buttonSwapLayers
private

Referenced by LayerDialog().

QCheckBox* LayerDialog::commonAxesBox
private
QCheckBox* LayerDialog::fitBox
private

Referenced by LayerDialog(), and update().

QCheckBox* LayerDialog::fixedSizeBox
private

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

QGroupBox* LayerDialog::GroupCanvasSize
private
QGroupBox * LayerDialog::GroupGrid
private

Referenced by enableLayoutOptions(), and LayerDialog().

QCheckBox* LayerDialog::keepRatioBox
private
QSpinBox* LayerDialog::layersBox
private
QCheckBox* LayerDialog::linkXAxesBox
private

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

MultiLayer* LayerDialog::multi_layer
private
QComboBox* LayerDialog::unitBox
private

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