LayerDialog.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef LAYERDIALOG_H
00030 #define LAYERDIALOG_H
00031
00032 #include <MultiLayer.h>
00033
00034 #include <QDialog>
00035
00036 class QGroupBox;
00037 class QPushButton;
00038 class QSpinBox;
00039 class QCheckBox;
00040 class QComboBox;
00041
00043 class LayerDialog : public QDialog
00044 {
00045 Q_OBJECT
00046
00047 public:
00048 LayerDialog( QWidget* parent = 0, Qt::WFlags fl = 0 );
00049 void setMultiLayer(MultiLayer *g);
00050
00051 protected slots:
00052 void accept();
00053 void update();
00054 void enableLayoutOptions(bool ok);
00055 void swapLayers();
00056
00057 private:
00058 MultiLayer *multi_layer;
00059
00060 QPushButton* buttonOk;
00061 QPushButton* buttonCancel;
00062 QPushButton* buttonApply;
00063 QPushButton* buttonSwapLayers;
00064 QGroupBox *GroupCanvasSize, *GroupGrid;
00065 QSpinBox *boxX, *boxY, *boxColsGap, *boxRowsGap;
00066 QSpinBox *boxRightSpace, *boxLeftSpace, *boxTopSpace, *boxBottomSpace;
00067 QSpinBox *boxCanvasWidth, *boxCanvasHeight, *layersBox;
00068 QSpinBox *boxLayerDest, *boxLayerSrc;
00069 QCheckBox *fitBox;
00070 QComboBox *alignHorBox, *alignVertBox;
00071 };
00072
00073 #endif