23#ifndef __kspread_dlg_paperlayout__
24#define __kspread_dlg_paperlayout__
26#include <kdialogbase.h>
27#include <KoPageLayoutDia.h>
39class PaperLayout: public KoPageLayoutDia
44 PaperLayout( TQWidget* parent, const char* name,
45 const KoPageLayout& layout,
46 const KoHeadFoot& headfoot,
47 int tabs, KoUnit::Unit unit,
48 Sheet * sheet, View *view);
50 bool eventFilter( TQObject* obj, TQEvent* ev );
53 virtual void slotOk();
54 virtual void slotCancel();
55 void slotSelectionChanged();
61 virtual void closeEvent ( TQCloseEvent * );
64 void slotChooseZoom( int index );
65 void slotChoosePageLimit( int index );
68 void initGeneralOptions( TQWidget * tab, TQVBoxLayout * vbox );
69 void initRanges( TQWidget * tab, TQVBoxLayout * vbox );
70 void initScaleOptions( TQWidget * tab, TQVBoxLayout * vbox );
75 TQCheckBox * pApplyToAll;
76 TQCheckBox * pPrintGrid;
77 TQCheckBox * pPrintCommentIndicator;
78 TQCheckBox * pPrintFormulaIndicator;
79 TQCheckBox * pPrintObjects;
80 TQCheckBox * pPrintCharts;
81 TQCheckBox * pPrintGraphics;
82 TQLineEdit * ePrintRange;
83 TQLineEdit * eRepeatCols;
84 TQLineEdit * eRepeatRows;
87 TQComboBox * m_cLimitPagesX;
88 TQComboBox * m_cLimitPagesY;
89 TQRadioButton * m_rScalingZoom;
90 TQRadioButton * m_rScalingLimitPages;
|