kspread
sheet_properties.h00001
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 namespace KSpread
00028 {
00029 class SheetPropertiesBase;
00030
00031 class SheetPropertiesDialog : public KDialogBase
00032 {
00033 Q_OBJECT
00034
00035 public:
00036
00037 SheetPropertiesDialog( QWidget* parent = 0 );
00038
00039 ~SheetPropertiesDialog();
00040
00041 virtual void slotDefault();
00042
00043 Sheet::LayoutDirection layoutDirection() const;
00044
00045 void setLayoutDirection( Sheet::LayoutDirection dir );
00046
00047 bool autoCalc() const;
00048
00049 void setAutoCalc( bool b );
00050
00051 bool showGrid() const;
00052
00053 void setShowGrid( bool b );
00054
00055 bool showPageBorders() const;
00056
00057 void setShowPageBorders( bool b );
00058
00059 bool showFormula() const;
00060
00061 void setShowFormula( bool b );
00062
00063 bool hideZero() const;
00064
00065 void setHideZero( bool b );
00066
00067 bool showFormulaIndicator() const;
00068
00069 void setShowFormulaIndicator( bool b );
00070
00071 bool showCommentIndicator() const;
00072
00073 void setShowCommentIndicator( bool b );
00074
00075 bool columnAsNumber() const;
00076
00077 void setColumnAsNumber( bool b );
00078
00079 bool lcMode() const;
00080
00081 void setLcMode( bool b );
00082
00083 bool capitalizeFirstLetter() const;
00084
00085 void setCapitalizeFirstLetter( bool b );
00086
00087 private:
00088 SheetPropertiesBase* d;
00089 };
00090
00091 }
00092
00093 #endif
|