lib
KoPageLayoutColumns.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef kopagelayoutcolumns_h
00023 #define kopagelayoutcolumns_h
00024
00025 #include <KoUnit.h>
00026 #include <KoPageLayout.h>
00027 #include <KoPageLayoutColumnsBase.h>
00028
00029 class QWidget;
00030 class KoUnitDoubleSpinBox;
00031 class KoPagePreview;
00032
00036 class KoPageLayoutColumns : public KoPageLayoutColumnsBase {
00037 Q_OBJECT
00038
00039 public:
00047 KoPageLayoutColumns(QWidget *parent, const KoColumns& columns, KoUnit::Unit unit, const KoPageLayout& layout);
00048
00053 void setLayout(KoPageLayout &layout);
00054 public slots:
00055
00060 void setEnableColumns(bool on);
00061
00062 signals:
00063 void propertyChange(KoColumns &columns);
00064
00065 protected:
00066 KoColumns m_columns;
00067 KoPagePreview *m_preview;
00068 KoUnitDoubleSpinBox *m_spacing;
00069
00070 private slots:
00071 void nColChanged( int );
00072 void nSpaceChanged( double );
00073 };
00074
00075 #endif
|