sheet_properties.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef SHEET_PROPERTIES_DIALOG
00021 #define SHEET_PROPERTIES_DIALOG
00022
00023 #include <qwidget.h>
00024 #include <kdialogbase.h>
00025 #include "kspread_sheet.h"
00026
00027 class SheetPropertiesBase;
00028
00029
00030 class SheetPropertiesDialog : public KDialogBase
00031 {
00032 Q_OBJECT
00033
00034 public:
00035
00036 SheetPropertiesDialog( QWidget* parent = 0 );
00037
00038 ~SheetPropertiesDialog();
00039
00040 virtual void slotDefault();
00041
00042 KSpreadSheet::LayoutDirection layoutDirection() const;
00043
00044 void setLayoutDirection( KSpreadSheet::LayoutDirection dir );
00045
00046 bool autoCalc() const;
00047
00048 void setAutoCalc( bool b );
00049
00050 bool showGrid() const;
00051
00052 void setShowGrid( bool b );
00053
00054 bool showPageBorders() const;
00055
00056 void setShowPageBorders( bool b );
00057
00058 bool showFormula() const;
00059
00060 void setShowFormula( bool b );
00061
00062 bool hideZero() const;
00063
00064 void setHideZero( bool b );
00065
00066 bool showFormulaIndicator() const;
00067
00068 void setShowFormulaIndicator( bool b );
00069
00070 bool columnAsNumber() const;
00071
00072 void setColumnAsNumber( bool b );
00073
00074 bool lcMode() const;
00075
00076 void setLcMode( bool b );
00077
00078 bool capitalizeFirstLetter() const;
00079
00080 void setCapitalizeFirstLetter( bool b );
00081
00082 private:
00083 SheetPropertiesBase* d;
00084 };
00085
00086 #endif
This file is part of the documentation for kspread Library Version 1.4.2.